Commit graph

1501 commits

Author SHA1 Message Date
skodak
de9924ae0a parameter cleaup - round 8; short php tag in group-edit.html 2006-03-07 19:36:13 +00:00
nfreear
fd6abcc87a Accessibility: fixed bug, duplicate call to blocks_print_group. 2006-03-07 17:38:02 +00:00
nfreear
de533d2612 Accessibility: 'weekscss' course format, replaced <table>, <td> with DIVs, inline style. 2006-03-06 16:14:10 +00:00
nfreear
f8d0d6336b Accessibility: Evaluation weekly format for course display - NO layout tables, for accessibility, etc. Initial straight copy of weeks/format.php 2006-03-06 14:08:01 +00:00
skodak
8f59002a9f fixed wrong parameter type 2006-03-06 06:26:32 +00:00
skodak
1b1d34225b incorrect usage of clean_filename() replaced with clean_param($text, PARAM_SAFEDIR) 2006-03-04 12:37:29 +00:00
skodak
b9fd28eade loginas language typos a fixes (thanks rob for fixing it!) and more consistent loginas password dialog layout. 2006-03-04 09:01:56 +00:00
skodak
af5be70cf2 Optional "Login as" password protection - please test, usage explained in config-dist.php 2006-03-03 20:33:38 +00:00
vyshane
d2555cedfa Updated $CFG->pagepath generation for add and delete cases. 2006-03-03 03:33:11 +00:00
tjhunt
b97c41647c Refactor the code for deleting a course from course/delete.php to a function in moodlelib.php. 2006-03-02 11:58:43 +00:00
toyomoyo
2df6965c30 fixed a bug where group image is not displayed 2006-03-02 02:31:20 +00:00
moodler
1933c40771 Setting new variable $CFG->pagepath to give hints later on to the
function page_id_and_class and also page_doc_link so that they can set
things more correctly for each different module being used.
2006-03-01 02:34:34 +00:00
mjollnir_
7343f3c40a Fixing a warning in import course data - bug #4773 2006-03-01 00:33:50 +00:00
vyshane
006e4687cd Added array check when counting number of groups. 2006-02-20 05:09:43 +00:00
vyshane
4c906f7388 List of people in course now shows the number of groups each user is in. Resolves Bug #4799. 2006-02-20 04:59:30 +00:00
skodak
0ae88327f2 fixed whitespace only 2006-02-12 19:46:30 +00:00
skodak
9b9ae915d7 scales.php fixed page parameters and removed isset_param(); scale parameter now named scaleid when listing only 2006-02-12 19:43:17 +00:00
skodak
295e4bdd18 fixed page parameters and removed isset_param() 2006-02-12 19:07:20 +00:00
patrickslee
765d3c7dde Show category list rather than the whole list of courses if there is only one category and with more than 200 courses in it
Otherwise we will have a HUGE list of courses flooding our browser.

Backported from MOODLE_15_STABLE
2006-02-08 04:21:22 +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
gustav_delius
56b5d16a4d Fixed alignment of module icon so it looks correct also in Firefox. 2006-01-30 20:45:54 +00:00
stronk7
b3bcee2457 First field must be unique in every select. Bug 4619.
(http://moodle.org/bugs/bug.php?op=show&bugid=4619)

Merged from MOODLE_15_STABLE
2006-01-20 15:09:54 +00:00
mjollnir_
e31e89c3ac fixing a strange bug in stats graph display 2006-01-20 04:19:08 +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
stronk7
7af4b62b57 Now OLD course grades page is using the new Excel generation API.
Should we delete this??????

Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 13:32:04 +00:00
bobopinna
c9cc211bd2 Fixed a bad function call 2006-01-05 08:24:53 +00:00
mjollnir_
cc17b250d8 Fixing bug #4496: strings to long in lang file 2005-12-20 20:19:17 +00:00
mjollnir_
f3815a9547 Participation report - check for course modules and print an error if there are none. 2005-12-20 00:21:38 +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
toyomoyo
cba644c902 merged fixed for #4455 2005-12-09 05:29:42 +00:00
defacer
1645749057 Correcting the way of setting lowbound <= $var <= highbound,
spotted by Petr (SC#203).
2005-12-03 13:12:09 +00:00
bobopinna
b9749d4aa5 Fixed block size dimension 2005-11-29 14:42:54 +00:00
mjollnir_
4820a99e87 New report - course participation. Integrated with messaging system, same as participants list. 2005-11-28 20:50:15 +00:00
moodler
ae5c975ac3 changed 'People not in a group' to 'People in the course' 2005-11-25 03:00:11 +00:00
defacer
4baeb9b028 Removing the <a name="2"></a> anchors from course sections (used with links,
e.g. /course/view.php?id=2#4). We already have elements with id="section-XXX",
so I made all links I could possibly grep for point to those.

All this for XHTML (won't Tidy ever be content?)
2005-11-23 23:14:25 +00:00
defacer
4d4e738f7c Fixing line endings 2005-11-23 22:47:35 +00:00
stronk7
a35ae3ef8c Now the section "jumpto" menu (showed in collapse mode), supports
the multilang filter. Bug 4341.
(http://moodle.org/bugs/bug.php?op=show&bugid=4341)

Merged from MOODLE_15_STABLE
2005-11-19 20:13:33 +00:00
skodak
d5f8920f04 xxx_param() fix; merged from MOODLE_15_STABLE 2005-11-18 10:57:36 +00:00
moodler
2c242af5fe Language string tidy up (SE) 2005-11-17 06:47:52 +00:00
moodler
4f8f216f6b Merged from stable 2005-11-17 06:40:12 +00:00
stronk7
533229c481 Now courses are viewable by idnumber. Credits to Paolo Oprandi.
(http://moodle.org/mod/forum/discuss.php?d=18442)

Merged from MOODLE_15_STABLE
2005-11-16 23:21:36 +00:00
skodak
3ce42559d3 added basic validation of jump parameter; merged from MOODLE_15_STABLE 2005-11-16 16:47:17 +00:00
moodler
d8f4ca20cd Adding the LAMS integration code. Can everyone please test thoroughly.
Cheers, Shane.
2005-11-16 08:21:19 +00:00
patrickslee
9edf8e04e5 More restrictions on enrol/unenrol of meta courses. Thanks to Bug #4057
Merged from MOODLE_15_STABLE
2005-11-15 21:55:13 +00:00