3841 Commits

Author SHA1 Message Date
toyomoyo
7d0e5a95c3 adding attachment for blogs 2006-11-20 08:31:48 +00:00
toyomoyo
d55114512d removed code to ignore site level course teacher assignemnts, since the contexts are separated now 2006-11-20 03:55:35 +00:00
stronk7
c54f0c106a Prevent some false-positives detecting uses of old user_XXX tables.
See http://moodle.org/mod/forum/discuss.php?d=58976

Merged from MOODLE_17_STABLE
2006-11-18 20:28:00 +00:00
stronk7
db9940b605 PHP generated code must use $result instead of $status. MDL-7533
Merged from MOODLE_17_STABLE
2006-11-18 19:08:10 +00:00
vyshane
a66ddf195f Merged from 1.7. 2006-11-17 09:09:25 +00:00
toyomoyo
d42c64ba14 fix for MDL-7595, adding coursemanager config variable to determine what roles are displayed on course description page 2006-11-17 08:57:50 +00:00
vyshane
88c5092a50 Merged from 1.7. 2006-11-17 05:54:21 +00:00
moodler
34941e0727 Merged function rename from stable MDL-7594 2006-11-17 04:02:47 +00:00
vyshane
1ca226c130 Merged from 1.7. 2006-11-17 02:58:56 +00:00
moodler
907e0fccf9 Removed B) MDL-7589 2006-11-17 02:12:08 +00:00
toyomoyo
b06334e833 making hidden assignment work with multiple roles 2006-11-16 08:29:25 +00:00
vyshane
73d402efd0 Merged from 1.7. 2006-11-16 05:30:28 +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
e3bc106621 remove use of get_String("thischarset") replace it with utf-8 MDL-7570 2006-11-15 20:39:26 +00:00
tjhunt
84bf852c1b MDL-7428 - Quiz regrade removes student answers from essay questions that have been graded. Merged from MOODLE_16_STABLE. 2006-11-15 17:32:49 +00:00
sam_marshall
40d8670956 MDL-7513 Further tweak to the way defaultuser role works to unbreak one possible situation that my previous change just broke 2006-11-15 14:23:43 +00:00
sam_marshall
39dee8f200 MDL-7513 - made it so a hack for Guest role only applies to that role and doesn't remove the course:view capability from other roles at site level when specifically assigned 2006-11-15 13:36:57 +00:00
vyshane
2a0d551ca5 Merged from 1.7 2006-11-15 08:34:17 +00:00
toyomoyo
40a2a15f20 separating the site course context and the site context, could be buggy, please report bugs! 2006-11-15 08:23:27 +00:00
vyshane
f68a7947bd Merged from 1.7 2006-11-15 08:07:32 +00:00
jamiesensei
3c7656b4b0 added two new elements button and choosecoursefile which inherits from button
added $supportsgroups bool parameter with default true to give method standard_coursemodule_elements($supportsgroups=true) on moodleform_mod
2006-11-15 07:40:49 +00:00
jamiesensei
f388442b26 added removeOption method to allow removing options from a select drop down 2006-11-15 07:36:00 +00:00
toyomoyo
3997cb4037 Adding hidden role assignment, currently used in course participants page and print_course function.
Please test.
2006-11-15 04:28:18 +00:00
toyomoyo
4158fd81ce merged fix for MDL-6928, correcting checks for auth_iscreator 2006-11-15 03:40:18 +00:00
vyshane
d23157d82f Merged from 1.7 2006-11-15 03:31:28 +00:00
toyomoyo
323edd4ba4 fixing indenting 2006-11-15 03:15:06 +00:00
vyshane
7fdbbaea87 Merged from 1.7 2006-11-15 02:42:38 +00:00
tjhunt
f9c92efef3 MDL-7531 Fix SQL that does not work in Oracle. Thanks to Mark Hetherington for the fix. Merged from MOODLE_17_STABLE. 2006-11-14 15:41:20 +00:00
vyshane
3972629d1f Merged from 1.7 2006-11-14 05:34:38 +00:00
jamiesensei
cc935f9174 fix for bug - not seeing standard elements on activity module form on some versions of PHP. 2006-11-14 05:18:39 +00:00
vyshane
d4f36e7d2a Merged from 1.7. 2006-11-14 05:04:15 +00:00
vyshane
d815886370 Merged from 1.7 2006-11-14 03:07:18 +00:00
jamiesensei
4ea750414e add custom submit button to registry 2006-11-14 03:00:26 +00:00
jamiesensei
c65795d341 checking in files for some new custom elements. And added a default help button to the format drop down box. 2006-11-14 02:57:19 +00:00
vyshane
02059f4678 Merged from 1.7 2006-11-14 02:07:59 +00:00
jamiesensei
d982f87978 shifted hidden elements from standard_coursemodule_elements() into standard_hidden_coursemodule_elements() so that they can be included in a form without the other visible standard elements. 2006-11-13 09:18:47 +00:00
jamiesensei
d4fe14d3e4 some changes to setHelpButton methods on elements and MoodleQuickForm to allow non standard help buttons such as the grades pop up window. 2006-11-13 07:43:22 +00:00
toyomoyo
1d40c70b43 fix for MDL-7483, add table header to user picture on participants listing 2006-11-13 03:43:12 +00:00
jamiesensei
e0f4068409 new element type 'selectyesno' and some clean up to code for modvisible and modgroupmode elements. 2006-11-12 11:30:12 +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
da1320dab6 added many extra phpdoc style comments to file 2006-11-12 07:28:13 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
skodak
fb77310635 we are going 100% unicode now - romoved use of $CFG->unicodedb and current_charset() which is now obsole and always returns UTF-8; MDL-7439 2006-11-11 16:07:53 +00:00
skodak
69cd298a27 code improvement in count_courses_notin_metacourse() MDL-7424 - thanks Eloy! 2006-11-09 23:35:06 +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
e2294b9822 fixes for small bugs in datetimeselector and dateselector and added custom elements to formslib library for standard module forms 2006-11-09 18:08:34 +00:00
skodak
711af2eca3 yet another fix for initialization - keep unset($element) in getValidationScript() for now, need more tweaking later 2006-11-09 11:19:35 +00:00
skodak
0340a80da6 fixed wrong initialization - sorry 2006-11-09 11:16:40 +00:00
skodak
38f394b267 fixed trailing whitespace 2006-11-09 10:43:26 +00:00