405 Commits

Author SHA1 Message Date
Jordi Piguillem
4f6be246a2 [MDL-22112]
Marc's patch

Adding some help buttons to create/update wiki instances form
2010-06-09 09:02:10 +00:00
Sam Hemelryk
7487c85699 course formats MDL-22647 Course format names are now properly supported and used. Big thanks to Brandon Turner for the patch. 2010-06-08 06:21:25 +00:00
David Mudrak
75a8ba5461 NOBUG wiki: Fixing wiki_scale_used_anywhere()
Firstly, the conditions array was passed incorrectly. Secondly, the
scale id would be probably saved as negative integer. Thirdly, the
column does not exist in the new wiki yet.
2010-06-01 13:01:20 +00:00
Jordi Piguillem
2dd18a9323 [MDL-22553]
Fixing problems with sql sentences using LIMIT
2010-05-25 09:06:45 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Jordi Piguillem
74c6a62c73 [MDL-22112]
Finishing some todos and fixing some bugs
2010-05-21 11:07:43 +00:00
Jordi Piguillem
7bc03dd55b [MDL-22112]
Removing access to $PAGE from this function
2010-05-20 10:49:00 +00:00
Jordi Piguillem
ab35d722b9 [22352]
Fixing the error.
2010-05-20 08:15:02 +00:00
Dongsheng Cai
d8f3170367 MDL-16597, added some style to make filemanger prettier 2010-05-20 06:15:44 +00:00
Dongsheng Cai
cd8236983d "fixed version number to make http://cvs.moodle.org/contrib/tools/check_upgrade_savepoints/ happy" 2010-05-17 09:51:40 +00:00
Jordi Piguillem
4231d124fe [MDL-22112]
Adding some strings
2010-05-14 08:30:26 +00:00
Jordi Piguillem
ab6df974b6 [MDL-22112]
Formatting the code
2010-05-14 08:29:45 +00:00
Jordi Piguillem
d56a4dc5f5 Fixing problems like in [MDL-22352]. 2010-05-14 08:27:15 +00:00
Jordi Piguillem
3ca72eb7a3 [MDL-22352]
Fixing this problem.
2010-05-14 08:20:21 +00:00
Martin Dougiamas
bfebaf64d8 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 02:02:05 +00:00
Jordi Piguillem
ebe93f74da [MDL-22112]
Marc's Patch

Moodle 2 Backups
2010-05-12 08:26:34 +00:00
Dongsheng Cai
b420734aa0 "MDL-20814, verify the file path, and print relevant information is there is bad data" 2010-05-12 04:27:11 +00:00
Jordi Piguillem
37dcd4b662 [MDL-22112]
Marc's Patch

wiki_get_updated_pages_by_subwiki implemented
2010-05-05 09:43:07 +00:00
Dongsheng Cai
6aa931edb3 "MDL-22112, format module intro by format_module_intro" 2010-05-03 08:35:12 +00:00
Dongsheng Cai
5f271bd9c8 "MDL-22112, quick fix for missing $PAGE->context" 2010-05-03 08:21:25 +00:00
Jordi Piguillem
1fa2bd54aa [MDL-22112]
Redirecting to first page of the wiki when subwiki is changed and selected pages does not exists
2010-05-03 07:33:22 +00:00
Dongsheng Cai
e8cf27e860 MDL-22112, wiki attachments should be belong to subwiki not page id 2010-05-03 05:58:46 +00:00
Dongsheng Cai
3b5e2acbd1 MDL-22112, create wiki's first page automatically without ask user questions, and add capability check to wiki_create_page function 2010-05-03 05:49:36 +00:00
Dongsheng Cai
f2b7e78026 "missing language string" 2010-05-03 02:22:59 +00:00
David Mudrak
d3dbc520c4 MDL-22112 Wiki 2.0 upgrade code - PostgreSQL errors
Firstly, double quotes are used to quote columns in PostgreSQL - let $DB
to deal with quoting of constant strings. Secondly, PostgreSQL does not
seem support table name aliases in UPDATE.
2010-05-02 17:29:21 +00:00
Dongsheng Cai
1b78f98116 "MDL-22112, readonly page title" 2010-05-02 13:58:13 +00:00
Dongsheng Cai
d1e544b25d MDL-22112, fixed xmldb install.xml 2010-05-02 11:42:23 +00:00
Dongsheng Cai
00710f4cc1 MDL-22112, push wiki 2.0 into head 2010-05-02 11:28:11 +00:00
Petr Skoda
0ac9023335 MDL-22102 removing problematic readme files which were breaking my git checkout in phpstorm ide, they are not used and the whole wiki will be replaced soon anyway 2010-04-16 08:31:02 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Petr Skoda
98da60215e MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints 2010-04-07 07:37:12 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
David Mudrak
57223fbe95 MDL-21694 Moving Wiki strings 2010-03-29 20:52:30 +00:00
Sam Hemelryk
90723839ca themes MDL-21862 Implements base theme and standard theme.
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
  * Plugin CSS has been pushed back into the plugin directories as styles.css files.
  * Install_print_header has been corrected.
  * Redundant or deprecated rules have been removed.
  * Several minor class changes throughout Moodle.
  * CSS is now single line rules not multiline indented.
  * Installs with theme=standardold automatically switch to standard.
  * body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
  * There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
  * I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Petr Skoda
8db38eab80 MDL-21818 fixed globals problems 2010-03-18 20:59:58 +00:00
Petr Skoda
57cd3739a4 MDL-20204 converting link to html_writer or action_link 2010-02-11 16:56:00 +00:00
Petr Skoda
c80877aa0e MDL-20204 fixed recent regressions + improved action handling - sorrrry 2010-02-11 15:44:06 +00:00
Petr Skoda
3224f709d7 MDL-20204 selects conversion 2010-02-11 10:03:28 +00:00
Petr Skoda
f8dab96615 MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00
Eloy Lafuente
eb712e4280 MDL-21265 wiki - fix problem for students not able to see entries in other groups until own entry is created by teacher. Merged from 19_STABLE 2010-01-21 23:43:11 +00:00
Petr Skoda
279d11c959 MDL-21400 removed unnecessary includes 2010-01-21 22:43:53 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +00:00
Petr Skoda
191b267bcd MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically 2009-12-27 12:02:04 +00:00