toyomoyo
b06334e833
making hidden assignment work with multiple roles
2006-11-16 08:29:25 +00:00
toyomoyo
ae9761ec77
merged, fixed a problem when a user has not visited a course, he is not shown. Changed get_user_roles to take in additional parameter
2006-11-16 05:17:43 +00:00
vyshane
29ca8b882d
Merged from 1.7.
2006-11-16 03:28:09 +00:00
skodak
e517b6dade
MDL-6949 fixed enrolment choice in course edit form
2006-11-15 19:06:49 +00:00
jamiesensei
145dbd7cee
added action to redirect back to course page or to url in session var if cancel has been pressed.
2006-11-15 07:34:34 +00:00
skodak
1936c10e54
fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899
2006-11-12 08:55:13 +00:00
jamiesensei
df56998ab1
need to pass course as customdata to form definition
2006-11-10 01:27:51 +00:00
skodak
cffb18cc3b
coding style fixes MDL-6954
2006-11-09 22:16:44 +00:00
skodak
396254981f
coding style fixes MDL-6949
2006-11-09 22:08:30 +00:00
skodak
e24a1f364a
coding style fixes MDL-6954
2006-11-09 21:58:12 +00:00
skodak
2378265e51
course/edit.php now uses new forms lib, the old one is gone; please report any problems in MDL-6949
2006-11-09 21:29:31 +00:00
skodak
3d397ee029
fixed metacourse issues in course/edit2.php MDL-6949
2006-11-09 21:22:49 +00:00
skodak
493cde249e
Child courses import list empty MDL-7424; added new count_courses_notin_metacourse() function, the old one was kept for BC
2006-11-09 21:12:31 +00:00
jamiesensei
3cd7940b0c
moved the inclusion of mod/{modname}/lib.php to before form definition so that constants in there can be used in form defintion
2006-11-09 19:22:38 +00:00
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