vyshane
1172e5db68
Updated comment
2006-09-24 14:03:34 +00:00
moodler
978abb4291
Removed some possible notices
2006-09-24 06:06:24 +00:00
vyshane
66b0b1042b
Added comment regarding $isteacher being deprecated in print_recent_activity()
2006-09-22 09:11:46 +00:00
moodler
88768091a4
Upgrading print_course to use roles properly
...
Added list for the teacher names for better XHTML
2006-09-16 15:23:41 +00:00
moodler
5ed3bf228a
Fixed a notice
2006-09-16 12:58:50 +00:00
moodler
2939bfe444
Fixed some notices
2006-09-15 13:46:11 +00:00
moodler
32b9a98349
Fixed a bug that must have been there for a while, so that guest icons work again
2006-09-12 14:02:15 +00:00
toyomoyo
1c45e42e3c
adding capabilities
2006-09-11 08:56:23 +00:00
toyomoyo
51792df056
adding capabilities
2006-09-08 08:46:26 +00:00
toyomoyo
ec7a8b7999
adding capabilities
2006-09-07 08:57:56 +00:00
toyomoyo
3924b9884b
adding capabilities
2006-09-05 08:50:23 +00:00
stronk7
fea43a7f51
Casting $course->modinfo to string prevents one notice to
...
be showed when it's null, returning false as desired.
2006-09-04 21:12:37 +00:00
skodak
86a1ba04fd
replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack
2006-09-02 11:44:04 +00:00
moodler
954fdb4293
FIxed some tabs :(
...
and added a module-xxxxx CSS id to each item
2006-08-25 07:09:28 +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
b63ec9db78
Adding roles to front page course list "add" button
2006-08-13 13:17:38 +00:00
skodak
d157bd5b28
fixed course/index.php category display affected by previous commit - improved category and course list display on front page; merged from MOODLE_16_STABLE
2006-07-19 13:16:57 +00:00
skodak
a987106d9e
Bug #6093 - Removed course sections re-appear after moving existing sections; merged from MOODLE_16_STABLE
2006-07-19 12:30:39 +00:00
skodak
6f24e48e1f
Improved category and course list display on front page- see bug Bug #5965 - Frontpage Category List also showing courses; new Combo List(categories + courses), fixed categories list and separate settings for not logged in / logged in users; merged from MOODLE_16_STABLE
2006-07-19 12:10:07 +00:00
skodak
81e10e950d
Bug #6007 - "The requested URL /course/report/log/view.php was not found on this server" merged from MOODLE_16_STABLE
2006-07-04 05:27:18 +00:00
skodak
cb77cf1262
fixed problem in restricted modules - mods were accessed using strtolower(translated module name) instead of directory name as usual, it partially worked for English; merged from MOODLE_16_STABLE
2006-06-01 19:52:38 +00:00
vyshane
0adf53f6cd
Cosmetic fix in print_log_ooo, commented out call to print_log_ooo in
...
/course/report/log/index.php.
2006-05-17 03:07:11 +00:00
nfreear
5fc835a533
Merged from STABLE.
2006-05-16 10:59:27 +00:00
vyshane
92890025fe
Added option to download logs in excel or csv formats. Merged in code contributed by
...
Daniele Cordella <d.cordella@iss.it>. Originally posted as bug 5024.
2006-05-15 05:01:00 +00:00
moodler
bd7be234ee
FIxed blog log URLs
2006-05-01 06:04:22 +00:00
moodler
e15ef2602d
Some performance improvements see bug 5032
2006-04-21 05:39:20 +00:00
moodler
d3a752872f
Fix for bug 5029 from Tim Takemoto
2006-04-19 12:54:34 +00:00
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   (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