Commit Graph

407 Commits

Author SHA1 Message Date
skodak e0dbbecedb Fixed course searching with quotes - SC#180 2005-11-02 15:25:38 +00:00
patrickslee 2382dae103 On a rare case courses will have duplicate sections those have the same id. Added some code to re-order sections if this is found when moving sections 2005-10-14 03:10:21 +00:00
martinlanghoff 6cd6568f84 make_categories_list(): initialize variables correctly to cover up for broken call convention. Passing unset variables by ref to be populated is a BAD idea. Do The Right Thing and Return your function output or there'll be no dessert for you. 2005-09-06 22:24:31 +00:00
mjollnir_ fa1ce50ec8 Backing out a previous patch of mine - bad merge with our local copy 2005-09-06 21:23:09 +00:00
mjollnir_ c11d468cc1 Fixing up a bug in the log selector to do with optionally showing all users in the dropdown when over COURSE_MAX_USERS_PER_DROPDOWN 2005-09-04 21:07:23 +00:00
moodler 014d8a9ab8 If no courses exist, then present a helpful button to make one. 2005-06-09 12:53:56 +00:00
gustav_delius e729020eda Improve alignment in table in mod.html for IE
Missing questions lead to notice rather than fatal error
Attempts report now moved to reports/overview
put in empty regrading page for Julian to complete
Moved some of the styles out of styles.php into standard style
Fixed error on reviewquestion.php
put infobox on reviewquestion.php
fixed <form> tag on item analysis report
2005-06-04 08:30:49 +00:00
moodler 73c1140d6a Fix for Bug 3036. (SE) 2005-06-03 08:15:38 +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
mjollnir_ 185cfb095b Reworked the My Moodle course overview API to be MUCH more efficient.
Previously we were literally doing hundreds of database queries, now it's
very much faster.
This makes the API slightly more complicated, but it's definitely worth it!
Each module should implement modname_print_overview, which takes an array of courses
and an array to fill up indexed by [$courseid]['modname'] for the controller to loop through and print.
Each module should LIMIT the number of queries to use, all module instances can be fetched
with the new function get_all_instances_in_courses which is the same as get_all_instances_in_course
but takes an array of courses to fetch the instances for.  This means there is no need to loop
over the courses array and fetch the instances for each course (dramatically cutting down the number of queries!)
2006-01-17 20:49:43 +00:00
mjollnir_ 950c35a96c Changing the limit for drop down menus on the log page to something reasonable (1000) 2006-01-16 03:15:48 +00:00
moodler 7b0b5c14be added missing semicolon in &nbsp (bug#4592) 2006-01-16 03:01:28 +00:00
patrickslee e1638d616c Site frontpage now supports displaying of all avaliable options with ordering 2005-12-14 21:42:44 +00:00
patrickslee 0986271ba2 Moved the new functions added for Bug #4074 to datalib.php 2005-12-13 19:31:48 +00:00
patrickslee 7fb0fec757 Fixed courses and subcategories in an invisible category being visible (Bug #4074)
This patch is different from the one form MOODLE_15_STABLE as it used the stored path in category data.
2005-12-13 04:05:04 +00:00
skodak 9cc78ee196 Fixed course searching with quotes - SC#180; merged from MOODLE_15_STABLE + other fixes in HEAD only 2005-11-02 15:36:57 +00:00
mjollnir_ 81a5d9ca41 Fixing small bug that adds Label to add activity module dropdown all the time. should only be added to activity module when resource is restricted and label is not 2005-10-26 02:05:08 +00:00
patrickslee 5390cbb7fc On a rare case courses will have duplicate sections those have the same id. Added some code to re-order sections if this is found when moving sections (Merged from MOODLE_15_STABLE) 2005-10-14 03:12:41 +00:00
moodler 4a7948ce16 Ported handy button from 1.5 that somehow didn't get merged before 2005-10-05 08:21:50 +00:00
martinlanghoff 9d866ae0f1 Merged from MOODLE_15_STABLE - make_categories_list(): initialize variables correctly to cover up for broken call convention. Passing unset variables by ref to be populated is a BAD idea. Do The Right Thing and Return your function output or there'll be no dessert for you. 2005-09-06 22:29:16 +00:00
mjollnir_ 1807d0a953 Merged from MOODLE_15_STABLE: Backing out a previous patch of mine - bad merge with our local copy 2005-09-06 21:23:38 +00:00
mjollnir_ f871698811 Reworked my moodle overview api to be more efficient. Note that this changes how mod_print_overview is called 2005-09-05 01:31:08 +00:00
mjollnir_ c9169822b2 In course overview in my moodle page, dim hidden courses 2005-09-04 22:37:46 +00:00
mjollnir_ 3509dd97f0 Merged from MOODLE_15_STABLE: Fixing up a bug in the log selector to do with optionally showing all users in the dropdown when over COURSE_MAX_USERS_PER_DROPDOWN 2005-09-04 21:07:36 +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 814f88c093 Removed $printfunction variable, which seems completely unused anyway (and isn't
a parameter for the function anyway)
2005-08-17 08:36:31 +00:00
mjollnir_ 0705ff843b Course request feature. Allows normal users to 'request' courses they would like created,
and admins can approve or reject pending courses.

Also, contains the ability to restrict activity modules on a per course basic. Strict config options:
  enable restricting modules at ALL (for all courses, no courses, requested courses), what to do by default for newly created courses
  as well as what modules to enable for above category by default.

This feature was created for the aim of building a community side to moodle - for institutes that have strict courses and enrolments, allowing normal users to request interest courses is a good feature,
but some modules may be redundant (assignment, lesson, quiz etc)

  Please test!
2005-08-16 06:15:49 +00:00
mjollnir_ 0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +00:00
moodler 19374e76a5 Added currency retrieval from database bug 3838 2005-08-09 15:09:29 +00:00
moodler 7eca967cd5 Logs now call new iplookup plugin 2005-07-18 08:07:00 +00:00
thepurpleblob 96dcfb5621 Replaced require_variable() and optional_variable() with required_param() and
optional_param(). Fixed notice when doing a sort in recent activity.
2005-06-13 19:06:28 +00:00
thepurpleblob 21283ddc98 Tidied up logs HTML a bit, to make it more readable. 2005-06-13 11:19:19 +00:00
gustav_delius 7bbe08a267 Merged from stable 2005-06-04 09:58:35 +00:00
ikawhero 4920d2387c Fix for Bug 3036.
Merged from STABLE
2005-06-03 10:31:31 +00:00
moodler 1548978def Improvements to basic log display (much prettier) 2005-05-12 08:04:47 +00:00
defacer d33d0cda79 Better appearance for section add menus in vertical mode. 2005-05-10 00:31:32 +00:00
defacer 1c46eb0334 Improved markup for print_section_add_menus, without tables. 2005-05-10 00:17:22 +00:00
moodler 393e360dd4 Adding c.cost to course retrievals (see bug 3102) 2005-05-04 06:39:42 +00:00
mchurch 94a6a70f6f Allow handling of per forum configured tracking. 2005-04-26 16:34:49 +00:00
moodler a2d71d8edd Fixed notice on home page and some efficiency with read trackking 2005-04-26 15:44:39 +00:00
mchurch 2bc9f15ac8 More robust personal forum tracking logic. 2005-04-25 14:00:29 +00:00
mchurch 9e2b1877e0 Added enable/disable forum tracking in a user profile. 2005-04-24 19:46:13 +00:00
mchurch 4877707e52 Added display logic for user forum tracking preferences. 2005-04-24 13:41:46 +00:00
moodler 552afaf1ee Handle forum tracking on forums on home page 2005-04-24 04:45:01 +00:00
defacer 29b5920693 Fix for bug 2933. Just tidying up HTML. 2005-04-20 00:44:02 +00:00
moodler 959ae82499 Better version of previous fix 2005-04-19 12:40:00 +00:00
moodler 99738fa5b8 Handle hidden modules more cleanly without any notices 2005-04-19 12:37:59 +00:00
stronk7 235a4ee8c8 Now course/recent.php is workink with filterall. 2005-04-02 10:10:07 +00:00
moodler 5eafd94811 One extra option for the format of the site home page so that we can just have a
single topic section (allowing plain HTML in the middle and/or a list of activities)
2005-04-02 09:29:59 +00:00
stronk7 d11c7c9b34 Now, the list of activities in course/log.php supports filter all.
Why this function uses its own code to build the menu where we have
the "standard" navmenu() function? Cannot it be resused with a simple
modification to add the "All Activities" item?
The navmenu() function seems to be better.
2005-04-02 00:46:31 +00:00