100 Commits

Author SHA1 Message Date
toyomoyo
115a622d8c merged MDL-9273 related fixes 2007-04-13 05:40:11 +00:00
nicolasconnault
f4f274d10c MDL-9273 Applied suggested fix 2007-04-13 02:00:41 +00:00
moodler
3730488451 Merging MDL-9101 from 1.8 2007-03-29 03:28:37 +00:00
toyomoyo
cbc943f755 merged fix for MDL-8885, teachers should not be able to set course as hidden if they can not view hidden courses 2007-03-14 04:31:04 +00:00
poltawski
b469b1b49c Duplicate alt tags in course category page MDL-8711, merged from MOODLE_18_STABLE 2007-03-01 14:47:52 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
toyomoyo
6463b3dea7 adding a div to help with css 2007-02-14 05:45:36 +00:00
toyomoyo
35d0244a37 taking out deprecated width in print_courses and print_course 2007-02-14 04:56:26 +00:00
toyomoyo
fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
moodler
fcf9577a28 Sundry fixes related to course categpry page for XHTRML strict MDL-7861 2007-01-05 14:13:26 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
toyomoyo
8fc21fc00f MDL-7861, adding missing tag 2006-12-19 06:16:17 +00:00
toyomoyo
54926e7818 various accessbility fixes 2006-12-13 03:03:43 +00:00
skodak
344044b28e MDL-7434 all images that convey information should have alt text to convey that information - part 1 2006-11-24 20:16:37 +00:00
toyomoyo
4827a1d19f merged fix for MDL-7540, wrong usage of context levels 2006-11-21 03:26:31 +00:00
toyomoyo
555b75f424 merged category page cleaning - MDL-7409 2006-11-09 06:22:10 +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
moodler
7dfa686dbd Added button to turn editing off again ... ugly but ... 2006-10-04 04:49:44 +00:00
moodler
0baf9f0f23 Fixed roles link a bit 2006-10-04 04:40:55 +00:00
moodler
4610e45b11 FIxed for duplicate icons MDL-6811 2006-10-04 04:37:40 +00:00
skodak
6859360cd4 coverted /admin/ to proper /$CFG->admin/ in paths 2006-09-26 21:10:14 +00:00
skodak
6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
toyomoyo
dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00
toyomoyo
ae9e4c064e replacing iscreator() calls with capabilty 2006-09-12 08:56:10 +00:00
toyomoyo
51792df056 adding capabilities 2006-09-08 08:46:26 +00:00
moodler
2244c22d72 Use the new config variable as a default for paging 2006-09-05 06:11:48 +00:00
skodak
6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
vyshane
1be4d00d56 Previous committer missed one rename from $edit to $categoryedit. Fixed. 2006-08-25 04:06:41 +00:00
vinkmar
7ff99cb64f admin page cleanup (google soc 2006)... updated to use new pagelib 2006-08-18 07:27:05 +00:00
moodler
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
nfreear
134759fc36 Ongoing fix, bug 5614 - added ALT text for link icons, based on TITLE. Merged from stable branch. 2006-05-25 16:00:26 +00:00
skodak
de9924ae0a parameter cleaup - round 8; short php tag in group-edit.html 2006-03-07 19:36:13 +00:00
skodak
c851eb9411 fixed paging related bug #2715, based on patch submitted by samulik; merged from MOODLE_15_STABLE 2005-11-10 22:08:35 +00:00
mjollnir_
861efb1937 Allow moving courses and editing courses and stuff from the course results search page (now has turn editing on button) 2005-09-01 04:48:22 +00:00
thepurpleblob
7168423c82 Replaced require_variable(), optional_variable() with approproate
required_param(), optional_param() etc.
2005-06-14 09:21:09 +00:00
defacer
208fc3a5f0 Initialize object with new stdClass. 2005-04-26 02:06:38 +00:00
moodler
d8807190c3 XHTML fixes and quotings 2005-04-22 07:52:21 +00:00
moodler
3553be249a FIx for bug 2776 (moving courses with apostrophes) 2005-04-22 06:41:49 +00:00
martinlanghoff
008621712f Fixes for null sortorder on empty categories. 2005-02-22 03:23:41 +00:00
urs_hunkler
ee4dc51eec changed the name of the special course div to "course-contend" 2005-01-25 15:54:00 +00:00
moodler
810393c804 Removed THEME from many course files 2005-01-25 14:03:43 +00:00
urs_hunkler
daa27ce409 _ added the div framework 2005-01-18 11:08:58 +00:00
moodler
15cf5d2174 Don't show "No courses in this category" if there are sub-categories 2005-01-11 08:00:26 +00:00
martinlanghoff
559027a76c Merged from MOODLE_14_STABLE
Fixes bug 2334 http://moodle.org/bugs/bug.php?op=show&bugid=2334

Courses will sometimes fail to be moved across categories if there are collisions in the sortorder field, due to a combined unique index.

With this fix, the 'category move' logic is aware of sortorder and will do The Right Thing(tm) putting the course at the beginning of the category: MIN(sortorder)-1 WHERE category=$destcategory->id .

Also added further cleanup patches.
2005-01-04 22:52:29 +00:00
moodler
0f06e85abb Merged course listing fix from stable 2004-12-15 13:33:40 +00:00