1393 Commits

Author SHA1 Message Date
vyshane
8b8a8779dc Merged from 1.7 2006-10-18 07:05:21 +00:00
thepurpleblob
181eb9dd1f fix for bug MDL-7040. Form focus not defined 2006-10-17 12:41:55 +00:00
jamiesensei
073fe8f980 oops, forgot to set to PARAM_RAW for summary field which uses htmleditor on last commit. 2006-10-17 11:44:13 +00:00
jamiesensei
b6241ce2c8 fixed some whitespace problems 2006-10-17 11:38:46 +00:00
jamiesensei
e13cc88f02 migrated to new formslib code. Also removed $course variable which was been used in a number of places in this file but not set anywhere. 2006-10-17 11:08:13 +00:00
jamiesensei
c08ac01627 added new dummy function to moodleform to allow some defintion to be done for the form dependent on data values. 2006-10-16 12:07:44 +00:00
skodak
ea17d55da1 MDL-6444 Typo in Course/Report/Participation/index.php, patch by Stephen Bourget; merged from MOODLE_17_STABLE 2006-10-16 09:06:35 +00:00
vyshane
182311e493 Merged from 1.7 (lang string change) 2006-10-16 02:53:45 +00:00
vyshane
c4ce5def5a Merged from 1.7 2006-10-16 02:45:38 +00:00
jamiesensei
5bc97c9862 Fixed a bug with client side validation of form fields.
Added some default error messages for rules specified in lang pack as err_{rulename} Use the default by setting the rule message to null.
2006-10-14 12:32:31 +00:00
skodak
a81bf9c3ce refactored course/edit2.php and edit_form MDL-6914 ; set $CFG->use_new_forms=1; in config.php if you want to test it ;-) 2006-10-13 09:58:53 +00:00
jamiesensei
5da7b0b2b4 new edit3.php demos Petr's new API 2006-10-12 14:21:15 +00:00
skodak
7f40a229a4 New version of formslib.php (see MDL-6914 for more details), course/edit2.php is disabled for now - working on edit3.php ;-)
More inline comments/docs today.
2006-10-12 07:33:57 +00:00
vyshane
37fb48e0f5 Merged from 1.7 2006-10-11 05:45:44 +00:00
toyomoyo
c5846d4627 merged fixed wrong capaiblity checks 2006-10-11 03:48:09 +00:00
jamiesensei
d9dce4e7b1 changed $default to $toform - more meaningful 2006-10-10 07:16:05 +00:00
jamiesensei
461f512795 moved setting of defaults from edit2.php to edit_form.php 2006-10-10 07:05:19 +00:00
vyshane
3ecc49d495 Turn off display of week dates if we are in editing mode and if ajax is turned on. We do this for now because the ajax code does not yet update the week dates when sections are moved around. Will have to fix later. 2006-10-10 02:38:33 +00:00
jamiesensei
0d26ea7af9 fix for bug that value of restrictmodules field wasn't available which breaks disabling of allowedmods multiple select 2006-10-09 11:23:23 +00:00
skodak
a44091bffe Fixing Theme Config Variables MDL-6784 2006-10-09 10:12:41 +00:00
skodak
4dd5d7513d fixed wrong capability name and function name typo 2006-10-09 10:07:15 +00:00
jamiesensei
230a910a0b added 2 new methods to form class data_submitted and setDefault
Fixed bug in id generation
2006-10-09 08:32:30 +00:00
cap2501
bb781a70c5 made changes to the way the block movment was handled to eliminate some errors that came up. 2006-10-08 20:24:15 +00:00
skodak
57f1b91497 fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135 2006-10-07 20:47:54 +00:00
tjhunt
ed586fb863 Typo. 2006-10-04 11:45:48 +00:00
moodler
7dfa686dbd Added button to turn editing off again ... ugly but ... 2006-10-04 04:49:44 +00:00
moodler
0baf9f0f23 Fixed roles link a bit 2006-10-04 04:40:55 +00:00
moodler
4610e45b11 FIxed for duplicate icons MDL-6811 2006-10-04 04:37:40 +00:00
moodler
2fdcf5e360 FIx the header too by requiring login to the course 2006-10-01 09:31:49 +00:00
moodler
1a5a5b0e04 Fixed a typo causing MDL-6758 2006-10-01 09:26:50 +00:00
moodler
cbf643f5f0 Make the sorting of the names always by lastname, to match assign roles 2006-10-01 08:48:58 +00:00
moodler
5b1d599514 Tidied up groups interface to make it a bit more intuitive 2006-10-01 08:37:15 +00:00
moodler
6c95827fdf New implementation of loginas see MDL-6626 2006-10-01 05:46:55 +00:00
skodak
7208c579fd fixed missing required_login($courseid) that needs to be done to set up proper global $COURSE; MDL-6697 course/mod.php does not show the right navigation 2006-09-30 20:46:31 +00:00
moodler
8d73640e7f Unenrol fixed to support other users too and better workflow 2006-09-28 08:55:04 +00:00
moodler
9e27d59600 Documentation and strings for Default Role 2006-09-28 07:07:54 +00:00
martinlanghoff
6402cd4679 Fix for breadcrumb problem (MDL-6271). 2006-09-28 00:08:50 +00:00
jamiesensei
49c5368707 changes to html structure for rendering of forms in line with http://moodle.org/mod/forum/discuss.php?d=54907#250816 2006-09-27 19:12:52 +00:00
jamiesensei
5f2256f3ee modifications made to demo new security features 2006-09-27 15:58:45 +00:00
jamiesensei
7b9cdb60cf demos new security features optional_param, acceptGet 2006-09-27 15:57:21 +00:00
moodler
4e03aa7a00 FIxed up log headers etc MDL-6714 2006-09-27 09:22:29 +00:00
moodler
1bbcb7c01a Some more debugging in course/rest.php (to error log) 2006-09-27 08:02:26 +00:00
moodler
2b2d182aa7 Fixes for empty logs array MDL-6145 2006-09-27 07:41:38 +00:00
skodak
6859360cd4 coverted /admin/ to proper /$CFG->admin/ in paths 2006-09-26 21:10:14 +00:00
jamiesensei
5ae7038594 modified api to create an htmleditor element 2006-09-26 16:40:35 +00:00
jamiesensei
2462a50af3 changed some assignments to assignment by reference when instantiating objects. 2006-09-26 11:13:51 +00:00
jamiesensei
80f962df90 * added error message for setHelpButton method not existing
* modified htmleditor class so that differences in formatting for this element are defined by css but use the same html
* added type name of element classes to css wrapper class names
2006-09-26 09:42:42 +00:00
martinlanghoff
ea59864f45 course/lib.php: remove unused global 2006-09-26 05:04:40 +00:00
martinlanghoff
4068bedb83 Use sql_concat() in course/lib.php 2006-09-26 05:03:46 +00:00
moodler
867f5adb73 Moved Penny's funky sql function into dmllib.php 2006-09-26 04:33:59 +00:00