Commit graph

182 commits

Author SHA1 Message Date
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
mjollnir_
429a24b7fc Merged from MOODLE_14_STABLE: Fixing bug # 2199 - missing some teacher roles in course/category.php 2004-11-20 10:38:01 +00:00
mjollnir_
ba87a4daf5 Merged from MOODLE_14_STABLE:
Fixes to fix_course_sortorder() and course/category.php pages. (martinlanghoff)

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-160
  Minor fix: moodle would crash on high number of courses when doing course creation -- should be more scalable now

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-164
Fix a bug I have introduced in fix_course_sortorder() - v2

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-210
  Fixed nested transaction in fix_course_sortorder()

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-215
  Performance and memory usage fixes for re-sort courses function

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-268
  Major performance and correctness improvements in the functions that move courses up and down, reorder by name, and in fix_course_sortorder(). All now assume course-sortorder is unique (this is enforced at the DB)

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-332
  fix_coursesortorder() bugfixes and logic simplification

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-333
  courses listing enhancements: bugfix on re-ordering, keep the right page on actions
2004-11-17 06:57:28 +00:00
mjollnir_
1ed5abc877 Merge from MOODLE_14_STABLE: moodle--eduforge--1.3.3--patch-207(partial) + moodle--eduforge--1.3.3--patch-408 - added begin_sql() and commit_sql() (martinlanghoff) 2004-11-17 05:31:21 +00:00
mjollnir_
72ccca5632 Merge from MOODLE_14_STABLE: moodle--eduforge--1.3.3--patch-201 - optimized calls to get_courses() to retrieve only required fields (martinlanghoff) 2004-11-17 05:05:14 +00:00
moodler
169fc66a15 Merged small speed improvements from STABLE 2004-10-18 06:00:26 +00:00
stronk7
abf45bedf0 course/category.php is using sesskey
Merged from MOODLE_14_STABLE
2004-10-08 16:52:20 +00:00
moodler
9f39c19012 Some changes for XHTML and accessilibity compliance 2004-09-30 06:46:26 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
24f2b65a4d towards XHTML compliance 2004-09-12 12:21:27 +00:00
mchurch
e5e81e7892 Tags changed for XHTML 1.0 Transitional compliance. 2004-09-08 21:25:33 +00:00
moodler
9ca5b4c67f Merged button from stable 2004-08-31 07:25:35 +00:00
moodler
b8933ec3c2 Unset $course to avoid language problems 2004-06-01 06:49:11 +00:00
gustav_delius
6bc502cca7 List of courses is now always ordered according to sortorder, see http://moodle.org/mod/forum/discuss.php?d=7034 2004-05-30 00:33:45 +00:00
stronk7
4f006bc149 Added support for CFG->forcelogin in some files. Bug 1396
(http://moodle.org/bugs/bug.php?op=show&bugid=1396)
2004-05-16 10:26:04 +00:00
moodler
695f71e1bd Fix problem editing category names containing html 2004-04-14 02:41:22 +00:00
fiedorow
d442864213 Fixed type in category.php 2004-04-05 16:07:59 +00:00
fiedorow
9ff5310a08 Bug fix for sort order in category display and allow limit on recursive display of categories and courses 2004-04-05 03:13:10 +00:00
moodler
92c26858ed FIxed some holes with hidden categories bug 1093 2004-03-20 12:21:08 +00:00