Commit graph

651 commits

Author SHA1 Message Date
toyomoyo
ae9761ec77 merged, fixed a problem when a user has not visited a course, he is not shown. Changed get_user_roles to take in additional parameter 2006-11-16 05:17:43 +00:00
skodak
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
jamiesensei
264867fdeb add code to redirect to modedit.php from course/mod.php for activities adding / updating using new formslib
migrated chat/mod.html to formslib definition of form is in chat/mod_form.php
2006-11-09 18:25:58 +00:00
moodler
e2a3a0e741 Merged guest recent activity fixes from stable 2006-10-24 14:37:04 +00:00
moodler
721d14cbfe Merged fixes for recent activity from stable MDL-7134 2006-10-22 07:42:04 +00:00
vyshane
182311e493 Merged from 1.7 (lang string change) 2006-10-16 02:53:45 +00:00
moodler
2b2d182aa7 Fixes for empty logs array MDL-6145 2006-09-27 07:41:38 +00:00
martinlanghoff
ea59864f45 course/lib.php: remove unused global 2006-09-26 05:04:40 +00:00
martinlanghoff
4068bedb83 Use sql_concat() in course/lib.php 2006-09-26 05:03:46 +00:00
moodler
0a3e970319 FIxed some problems when getting teacher lists for print_course 2006-09-25 06:09:06 +00:00
moodler
1d546bb125 Fix for get_users_by_capability() so the caller can choose whether
they want users with doanything included or not
2006-09-25 03:00:50 +00:00
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