skodak
204175c5ce
MDL-12912 module idnumber course unique only; merged from MOODLE_19_STABLE
2008-01-14 22:46:03 +00:00
jmg324
7ffcbfe152
MDL-6216 print_category_info no longer counts invisible courses if the user does't have permission to see them.
2008-01-10 15:43:24 +00:00
skodak
cb3883c297
MDL-12911 fixed permission checks; merged from MOODLE_18_STABLE
2008-01-10 15:09:58 +00:00
tjhunt
b26adbef4c
MDL-12373 - More instances of links to the participants list being shown in the navigation bar to people without the necessary capability.
...
I have not copied and pasted the same code into lots of different places. That sucks. We really need to refactor this into a function that builds the navigation up to, and including the user's name. However, I don't have time now. A list of the places touched by this bug (MDL-12373) will at least give a complete list of places that such a refactoring would have to touch.
2008-01-10 10:58:16 +00:00
poltawski
e0bd367d01
MDL-12888 - remove require to form no longer used
...
merged from MOODLE_19_STABLE
2008-01-09 11:04:39 +00:00
poltawski
8bbcf67bce
MDL-12888 - remove require to form no longer used
...
merged from MOODLE_19_STABLE
2008-01-09 10:57:45 +00:00
poltawski
f62cb19d89
MDL-10886 - Category edit: use 'save changes', enable cancel button to allow us
...
to get back from where we came from & refine where we are returned to when cancelled.
merged from MOODLE_19_STABLE
2008-01-09 10:49:59 +00:00
poltawski
4597d5335b
MDL-12461 - wrong urls for message related log entries
...
merged from MOODLE_19_STABLE
2008-01-09 10:12:31 +00:00
tjhunt
003bbcc817
MDL-12875 - Hidden courses not in category list not visible to teachers on those courses in the list of courses in a category.
2008-01-08 15:17:02 +00:00
poltawski
8857a0b425
MDL-10813 - Course requests not respecting course request category.
...
Also made the course request category more robust, as breakage would
incur if $CFG->defaultrequestcategory didn't exist as a category.
merged from MOODLE_19_STABLE
2008-01-08 12:51:07 +00:00
poltawski
435f3044df
MDL-12873 - show an add course button when editing at the top level (which
...
is the default view when you click 'Add/Edit Courses')
merged from MOODLE_19_STABLE
2008-01-08 12:00:11 +00:00
nicolasconnault
6ca117e27f
Misplaced variable definition
2008-01-08 06:07:56 +00:00
tjhunt
dba21d4a19
Use the locale to sort the list of activites everywhere. This matches a change a made in one place before christmas. If you don't do this, the PHP sorts by ASCII order, so mixed case names, or special characters, get sorted wrongly. Merged from MOODLE_19_STABLE.
2008-01-07 16:46:35 +00:00
poltawski
1c8ec30d95
MDL-6529 - strip slashes when displaying category added success messsage
...
merged from MOODLE_19_STABLE
2008-01-07 12:21:06 +00:00
skodak
7c09710cbf
MDL-12796 iplookup rewrite
2008-01-02 16:47:57 +00:00
mchurch
296c6ac232
MDL-12704 - Added error handling to print_recent_activity() to prevent fatal errors in the case of missing files.
2007-12-28 16:04:30 +00:00
poltawski
8cc2a92f04
MDL-3776 fix typo, merged from MOODLE_19_STABLE
2007-12-26 21:42:04 +00:00
skodak
6d77b23c55
MDL-12735 Make AJAX on by default, add option to disable AJAX course editing by default; merged from MOODLE_19_STABLE
2007-12-26 21:33:34 +00:00
poltawski
f4eb549fbd
MDL-12697 - Category Themes do not appear when editing off
...
merged from MOODLE_19_STABLE
2007-12-25 01:00:31 +00:00
poltawski
6972c07a61
MDL-10241 - unenrolling self wasn't working properly from user profile
...
because unenrol.php was doing wrong capability check when $userid set.o
Also improves the lanaguage used when unenrolling self.
merged from MOODLE_18_STABLE
2007-12-23 16:18:25 +00:00
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