413 Commits

Author SHA1 Message Date
skodak
f8a5159a2b changes needed for new s() and p() - see bug #2338 2006-04-14 08:02:32 +00:00
nfreear
f2d660dcb2 Major fix for Bug 5027, "Three-col layout breaks when window is narrow" (also, Bug 5161). 'weekscss' course format. 2006-04-13 16:07:12 +00:00
nfreear
64fdc686d8 (Bug tracker 4997) Clean up code comments. 2006-04-13 09:44:33 +00:00
vyshane
02f66c4202 Fixed Bug #5021 - Unhiding an entire Module unhides all it's child resources,
even in hidden sections.
2006-04-12 03:11:34 +00:00
moodler
255d103389 Replace the add course button that somehow disappeared from 1.5 2006-04-10 15:41:57 +00:00
moodler
980a5b3a63 Fix the log graphs which had been broken by the reports move 2006-04-05 03:17:20 +00:00
tjhunt
ee35e0b855 Allow the display of course logs to be filtered by type of action. 2006-03-28 17:33:40 +00:00
nfreear
c6a553710d Accessibility: Bug tracker 4997, replaced table with list - low risk! 2006-03-27 16:21:56 +00:00
moodler
fe5a1e23b3 Remove hardcoded box size for My Moodle 2006-03-15 09:59:28 +00:00
moodler
0cb9ec10ca FIxed bug 4903 and enrol notices 2006-03-09 14:51:28 +00:00
moodler
6a25f4d957 Moved a big fat log function out to course/report/log/lib.php 2006-03-09 09:50:24 +00:00
martinlanghoff
f9667a5aea [multienrol]Initial commit for multi enrolment plugin feature 2006-03-09 02:48:29 +00:00
patrickslee
48643b4918 Do not show the category list with courses if there are more than 200 courses in the system
Otherwise the front page/course list will be flooded with courses.
2006-02-08 03:34:20 +00:00
patrickslee
8e227aa767 Added a parameter to print_courses() to hide site course
This parameter is used in index.php because if the moodle site have more than one category the site course will be displayed in the course list in the front page.

This problem appeared after the "front page format" feature is introduced. As the old front page will show a category tree with courses if there are more than one category in the system when "list of courses" is chosen as the front page.
2006-02-07 01:13:27 +00:00
patrickslee
e0140f2425 Revised front page logic so list of courses and list of categories show correct things regardless of any special situation
And a small HTML fix for print_category_info()
2006-01-30 22:54:12 +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