Commit Graph

68 Commits

Author SHA1 Message Date
skodak 26a6d6db3e fixed paging related bug #2715, based on patch submitted by samulik 2005-11-10 22:03:51 +00:00
mjollnir_ 38f78e158c Fixing sortorder typo 2005-10-04 21:26:01 +00:00
mjollnir_ 681d95c495 Backported Martin's sortorder fix from HEAD. Apparently this is a better fix than the one from a few days ago 2005-09-23 04:33:47 +00:00
martinlanghoff a6349a6d1f courses/sortorder: syntax fix to cope with bad sortorder values 2005-09-22 03:12:14 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +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
moodler e081f299f5 Renamed a variable to fix display when different languages are mixed together 2004-02-21 03:26:04 +00:00
moodler f96f80db5c Include "Courses" in heading as generic title 2004-02-20 12:59:12 +00:00
moodler c0b85daf7b Clean up of terminology course categories and courses 2004-02-20 12:56:17 +00:00
moodler f374fb1006 This is the first check-in of support for groups.
It's very early (it doesn't actually do anything yet!) but you can
define groups and get an idea of how the interface is shaping up.
I also wanted to show that I have actually done something on this! :-)

From here my plan is to add group support to the modules, one by one
(forums first), then go back and clean up some of the central interfaces,
graphics etc.

Finally, test, test, test and get 1.2 out well before the end of February.
2003-12-30 17:18:06 +00:00
moodler c3235459d0 Only print expanded course listing on the first page (ie short category) 2003-10-07 03:29:44 +00:00
stronk7 0249828cf9 Now restore button is always showed here too !!
Same behaviour than the restore link in main page.
(automatically creates backupdata dir)
Closed bug #741
2003-09-18 21:58:04 +00:00
moodler e646a2568f Fixed a little bug that sometimes shows with empty categories 2003-09-10 17:36:15 +00:00
moodler f1c1b17ab5 Some small fixes to the category display:
- small numbers of courses (less than 8) are displayed in full,
    unless the creator or admin is editing.

  - course counts are now accurate when all courses are removed from
    a category
2003-09-03 14:05:31 +00:00
moodler 7c1624355a Robustness for some variables 2003-08-29 11:48:34 +00:00
moodler 7a3ca193d6 No need to always show the resort button 2003-08-25 01:04:11 +00:00
moodler 9b16d1eada More tweaks to fix on/off button for admins o ncourse listings 2003-08-22 12:26:36 +00:00
moodler c432fd3213 Put in buttons so that course creators can create courses! :-I
Also, category fix_sorting is done better now when a course is added.
2003-08-22 12:15:35 +00:00
moodler 98e9a035d7 Course category listings now have a search box in the navbar for students
and non-users
2003-08-21 16:24:29 +00:00
moodler 0e69cd0e96 Fixed a typo 2003-08-21 14:16:44 +00:00