jamiesensei
264867fdeb
add code to redirect to modedit.php from course/mod.php for activities adding / updating using new formslib
...
migrated chat/mod.html to formslib definition of form is in chat/mod_form.php
2006-11-09 18:25:58 +00:00
toyomoyo
555b75f424
merged category page cleaning - MDL-7409
2006-11-09 06:22:10 +00:00
jamiesensei
2b63df96c3
migrated mod/forum/post.php to formslib and fixed a string in course/edit_form.php
2006-11-07 08:48:18 +00:00
skodak
f97625121d
prevent duplicate content in search engines MDL-7299; merged from MOODLE_17_STABLE
2006-11-06 21:49:22 +00:00
moodler
82b37f12e2
Merge loginas fix for site level
2006-11-05 06:46:20 +00:00
sam_marshall
e3eb61244d
MDL-7344 Change 'import child course' timeout to 180 seconds per course because role creation takes a while for thousands of users. (Merge from STABLE)
2006-11-03 14:39:19 +00:00
toyomoyo
3c8b7289d9
merged fox for MDL-7300, mssql error on group creation
2006-11-03 08:18:29 +00:00
moodler
f9c471dfd9
Merged MDL-7150 fixes (don't try to show grades when there aren't any)
2006-10-31 15:08:22 +00:00
moodler
75c3849a9e
Merged drag class fixes from stable
2006-10-30 09:41:55 +00:00
skodak
7b9c99798c
Turn AJAX off for now at site level MDL-7254; merged from MOODLE_17_STABLE
2006-10-27 20:34:40 +00:00
vyshane
4e86c6d735
Merged from 1.7.
2006-10-26 07:46:22 +00:00
moodler
e2a3a0e741
Merged guest recent activity fixes from stable
2006-10-24 14:37:04 +00:00
jamiesensei
45ca9e8e2d
added autofocus on first error and moved formslib include to inside request_form.php
2006-10-24 11:43:51 +00:00
jamiesensei
6cd72677f6
added focus on first element with error
2006-10-24 11:38:33 +00:00
vyshane
f45cc76fb3
Merged from 1.7.
2006-10-24 08:13:13 +00:00
moodler
527389f912
Merged guest enrol fixes. MDL-7182
2006-10-24 02:13:42 +00:00
stronk7
422770d8cb
Moving deprecated uses of sql_paging_limit() to the new $limitfrom,
...
$limitnum parameters in all the get_recordXXX() functions. MDL-7167
Merged from MOODLE_17_STABLE
2006-10-23 23:00:18 +00:00
stronk7
37c47abaca
Suppress all the uses of LIMIT in the get_field_sql() calls. MDL-7173
...
Merged from MOODLE_17_STABLE
2006-10-23 16:03:52 +00:00
moodler
2f1a42481d
This new function called load_all_capabilities() should be used whenever
...
you want to completely reload the capabilities for the current user.
Basically it will deal nicely with the default site-wide permissions
depending on the current user.
More background in the comments on MDL-6963
Merged from stable
2006-10-23 15:17:31 +00:00
moodler
18894ee462
Fixed   characters MDL-7179
2006-10-23 13:42:23 +00:00
moodler
b1f318a67f
Merged guest key enrolment fix from stable MDL-6881
2006-10-23 06:38:15 +00:00
moodler
e8e64fa336
Merged stats fix for MDL-7151 from stable
2006-10-23 05:22:16 +00:00
moodler
a6f39157c6
Merged unenrol fixes from stable MDL-6964 MDL-7123
2006-10-23 03:12:37 +00:00
skodak
15850dcb29
fixed incorrect context in user Outline report; mergedf rom MOODLE_17_STABLE
2006-10-22 20:03:01 +00:00
moodler
116cd201ea
Merged lastcourseaccess fixes from MDL-7134
2006-10-22 08:31:06 +00:00
moodler
721d14cbfe
Merged fixes for recent activity from stable MDL-7134
2006-10-22 07:42:04 +00:00
toyomoyo
f86b0db993
merged fix for MDL-7115, teacher page replaced by generic role assign page
2006-10-20 05:49:05 +00:00
toyomoyo
de51fa5657
merged fix for MDL-7107, missing capability check for assignroles link
2006-10-20 03:16:07 +00:00
jamiesensei
e995c46e24
fix for :
...
$this->_form->getElement('allowedmods')->
updateAttributes(array('disabled' => 'disabled')) ;
that didn't work in PHP 4. (calling a method on a returned object)
2006-10-19 07:12:11 +00:00
thepurpleblob
07705e2fa6
put the cursor in the edit box rather than doing nothing for label
2006-10-18 13:03:50 +00:00
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