tjhunt
91374f3e5b
Sort the add activites dropdown using the locale.
2007-12-21 15:37:47 +00:00
skodak
220a90c5a1
MDL-11561 admin tree improvements and bugfixing
2007-12-19 17:35:20 +00:00
fmarier
9bb19e5827
course/lib: Cache get_categories() using a static variable (MDL-11938)
...
Some recursive functions call get_categories() repeatedly to get all of the
child categories of the current one.
This commit create a lazily-initialized cache of all of the categories so
that the database is only queried once to retrieve all of the categories.
It speeds up the both the homepage and the course edit page (where the
categories are displayed in combo boxes).
2007-12-17 04:49:27 +00:00
skodak
7f9c4fb97d
MDL-12601 prevent fatal errors when module code missing + merging other stuff; merged from MOODLE_19_STABLE
2007-12-16 13:41:16 +00:00
skodak
1d21b2377e
MDL-12581 fixed multiple xhtml strict; merged from MOODLE_19_STABLE
2007-12-15 16:06:09 +00:00
skodak
f26cfa228d
MDL-11800 improving previous commit; merged from MOODLE-19_STABLE
2007-12-15 12:05:54 +00:00
nfreear
0154653b9b
Fixes MDL-12541 "Weeks course format - dates for each section should be marked up as heading". Merged.
2007-12-11 15:25:07 +00:00
mattc-catalyst
2d5b1ac891
MDL-12433: course/info respect the $CFG->allowvisiblecoursesinhiddencategories setting
...
Credit goes to Petr Kalis
2007-12-07 00:30:21 +00:00
poltawski
b60fd03245
MDL-12409 - stop access to editing 'site course' with course edit form.
...
Merged from MOODLE_19_STABLE
2007-12-03 12:23:24 +00:00
skodak
0b5a80a1a5
MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE
2007-11-29 14:43:04 +00:00
toyomoyo
7aabbf3b58
MDL-11800, multilang support for category description
2007-11-28 02:56:51 +00:00
toyomoyo
b682cee93c
MDL-11194, course role names not reflected in course description
2007-11-27 01:56:21 +00:00
skodak
a78890d593
MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE
2007-11-23 22:15:07 +00:00
skodak
9f7f1a74a0
MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE
2007-11-23 16:49:51 +00:00
tjhunt
5bf04b365e
Fix some whitespace.
2007-11-21 16:30:25 +00:00
mattc-catalyst
1a5bc8ae5a
MDL-12264 - course/info: check if course is hidden before displaying info about it.
...
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-11-20 02:32:09 +00:00
moodler
21090e447a
Merged from 1.9
...
Improvements to the tabs for assigning and overriding roles. MDL-12120
Tabs are now all on the top row
Tabs have clearer titles
Other help texts improved
2007-11-19 07:13:02 +00:00
toyomoyo
6bb7689ff9
merged fix for MDLSITE-294, needs a forced type cast
2007-11-19 02:25:22 +00:00
nfreear
8fee6c60c8
Fixes bug MDL-12225, Mark up lists correctly in course/lib (accessibility).
2007-11-16 16:47:54 +00:00
urs_hunkler
7cd266e9b1
merged from 1.9 :: MDL-12045 :: the extra "clearer" div broke the custom_corners theme on IE7. I removed the "clearer" div and added the class "clerafix" to the surrounding coursebox.
2007-11-16 07:29:14 +00:00
martinlanghoff
bce3479cc1
loginas: call check_enrolment_plugins()
...
Admins will want to see an update of the user's enrolments when
they do a login-as.
2007-11-14 22:04:37 +00:00
nfreear
ab9ad21d0b
Follow up fix for MDL-7878 "Link identification and skipping" (and MDL-9306 "Replaced weeks..") - duplicate skip_main_destination().
2007-11-13 17:16:54 +00:00
toyomoyo
934545eb55
MDL-12065, do not force parents to enrol in student courses
2007-11-09 01:39:34 +00:00
nfreear
23adb9c84f
Fixes MDL-7878 in new course format, "Link identification and skipping" - skip_main_destination function + use the $currenttext string (MDL-11439) - both accessibility related.
2007-11-06 17:46:15 +00:00
nicolasconnault
1ce18c08d3
MDL-9306 Applied Ann's patches: seems to work very well, the output is entirely XHTML compliant, and displays really nicely.
2007-11-06 14:01:13 +00:00
poltawski
467cebb0a1
MDL-11813 - Use existing group setting strings on course edit form so can be
...
better translated. Patch from Daniel Miksik
merged from MOODLE_19_STABLE
2007-10-29 09:47:13 +00:00
skodak
0a78455120
MDL-11934 grade report in user profile now selectable
2007-10-28 17:15:00 +00:00
skodak
d121490949
MDL-11718 report styles moved to report/xx/styles.php - for better consistency with other plugins; other cleanup in user report css; fixed css in user profile
2007-10-28 12:51:16 +00:00
skodak
5be4614e23
MDL-11718 minor fix for grades in user profile
2007-10-27 18:22:52 +00:00
nfreear
317d5ddcb3
Fix for reopened bug MDL-7878, "Link identification and skipping" - includes site and course index.php.
2007-10-22 09:21:11 +00:00
nfreear
5c3550191a
Partial fix for reopened bug MDL-7878, "Link identification and skipping" - affects all course formats + other files.
2007-10-22 06:43:00 +00:00
toyomoyo
deb2988f39
MDL-11167, admin blocks page should not show blocks not placed on course pages
2007-10-19 07:54:30 +00:00
nicolasconnault
39536381d5
MDL-11543 Printing nice list of categories for parent category drop-down
2007-10-10 06:21:37 +00:00
nicolasconnault
2c23af9d87
MDL-11543 format_string(parent category name)
2007-10-10 06:04:14 +00:00
nicolasconnault
9c536df7c4
MDL-11543 Refactored editcategory and form
2007-10-10 06:01:54 +00:00
nicolasconnault
150f64e661
MDL-11608 Removed stripslashes_safe($rename) and changed PARAM_RAW to PARAM_TEXT for rename param
2007-10-10 04:59:35 +00:00
nicolasconnault
cd405db239
MDL-11543 Replacing "Site" with "Top" in the list of available parent categories
2007-10-10 04:53:32 +00:00
moodler
09deab0661
Miscellaneous fixes for MDL-11543
...
- added button to edit current category
- removed old mini-forms to do the same
- tidied up various things and CSS as well
2007-10-10 04:05:46 +00:00
iarenaza
0baafc173a
Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
...
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
nicolasconnault
1f682581a7
MDL-11543 Temporary solution originally proposed by Martin
2007-10-09 17:22:10 +00:00
nicolasconnault
62ecaed9df
MDL-11608 The $rename param was obtained with PARAM_NOTAG, I changed that to PARAM_RAW. I also changed the rename field's value to htmlspecialchars($category->name)
2007-10-09 14:08:05 +00:00
nicolasconnault
86830be66e
MDL-11543 Temporary solution originally proposed by Martin
2007-10-09 12:53:24 +00:00
skodak
128f098418
MDL-11640
...
* improved handling of dirty contexts in general - caching, switching in cron, marking, loading, etc.
* role_assing() and role_unassign() now marks dirty contexts because we use has_capability() in this function - we can not do it later outside to speedup bulk operations
* fixed some inline docs
* fixed notice from rs closing
* removed cached $CONTEXT from has_capability() - $context is now required parameter; this was hiding serious bugs when context did not exist or ppl passed false as parameter
* removed some ===, we can not use these on function parameters - we must support ints, strings, '', nulls, etc. - this could be a source of really dangerous bugs in future
* some other improvements and fixes - documented inline
2007-10-09 12:49:54 +00:00
nicolasconnault
5a81060351
MDL-11500 Catching empty $coursemod when viewhiddensection is false, + corrected type $coursemode => $coursemod
2007-10-05 05:40:56 +00:00
nicolasconnault
05a334392c
MDL-11525 When courseid is not present in the log entry, showing "Site" instead of $log->info
2007-10-05 04:24:42 +00:00
nicolasconnault
ece966f06e
MDL-11482 Resolved the sum icon issue (added a new x-bar icon) and resolved a dependency problem in moodlelib
2007-10-03 12:22:25 +00:00
skodak
1f41940f20
MDL-11523 fixed - moving categories and courses around breaks paths and depths in context table + some notice fixes
2007-10-02 22:34:12 +00:00
nfreear
806ebc150c
Fixes MDL-11161, Activity type text ... beginning of activity links in Screen Reader...moved to end (also MDL- 7436)
2007-10-02 09:36:47 +00:00
stronk7
6bb919860b
Passing $course to require_login() provides correct and
...
automatic navlinks to the course. MDL-11452
2007-09-27 23:37:42 +00:00
skodak
95aa0af862
MDL-11472 fixed harcoded mdl_ prefix in sql queries
2007-09-27 08:41:19 +00:00