moodler
2b2d182aa7
Fixes for empty logs array MDL-6145
2006-09-27 07:41:38 +00:00
skodak
6859360cd4
coverted /admin/ to proper /$CFG->admin/ in paths
2006-09-26 21:10:14 +00:00
jamiesensei
5ae7038594
modified api to create an htmleditor element
2006-09-26 16:40:35 +00:00
jamiesensei
2462a50af3
changed some assignments to assignment by reference when instantiating objects.
2006-09-26 11:13:51 +00:00
jamiesensei
80f962df90
* added error message for setHelpButton method not existing
...
* modified htmleditor class so that differences in formatting for this element are defined by css but use the same html
* added type name of element classes to css wrapper class names
2006-09-26 09:42:42 +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
867f5adb73
Moved Penny's funky sql function into dmllib.php
2006-09-26 04:33:59 +00:00
moodler
329f40b003
Changed CONTEXT_SITE to CONTEXT_SYSTEM MDL-6506
2006-09-26 03:57:05 +00:00
mjollnir_
75673b93f8
fixing the participants report to work with roles
2006-09-26 01:23:57 +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
mjollnir_
32da8f410f
fixed the dropdown menus in the detailed (user) reports (WHICH WORK!)
2006-09-24 22:13:31 +00:00
jamiesensei
01963b9552
This is a demo of the experimental formslib. It is used here to print and process the course settings form.
2006-09-24 17:14:44 +00:00
vyshane
1172e5db68
Updated comment
2006-09-24 14:03:34 +00:00
mjollnir_
96edb010da
more work on stats reports ...
2006-09-24 07:13:33 +00:00
moodler
978abb4291
Removed some possible notices
2006-09-24 06:06:24 +00:00
moodler
13e21433a4
Better errors
2006-09-24 05:53:45 +00:00
mjollnir_
11887b6d5e
more fixing on reports
2006-09-24 03:15:52 +00:00
mjollnir_
32baf47939
accidently left in debugging stuff in stats reports
2006-09-23 21:43:11 +00:00
moodler
3febabd888
Use AJAX for weekly formats too. HOWEVER, there are some remaining
...
bugs with it so for now it only works in DEBUG_DEVELOPER mode
2006-09-23 14:38:01 +00:00
moodler
9bb7417805
Further centralising of course AJAX and cleanup of code formatting, names etc
2006-09-23 14:03:48 +00:00
moodler
75dc25855c
Now using the generic course/rest.php instead of the local commands.php
2006-09-23 13:24:10 +00:00
moodler
b205403813
Moved the REST interface for course modification from
...
course/format/topics/commands.php to a more generic place
2006-09-23 13:23:18 +00:00
skodak
ece4945bd2
role sortorder column now has unique index; new function get_all_roles() that returns all roles with correct sort
2006-09-23 12:51:00 +00:00
mjollnir_
afc97d5349
fixing reports
2006-09-23 12:10:42 +00:00
mjollnir_
0f259f63d9
lots of fixes to stats, more to come
2006-09-23 08:52:12 +00:00
moodler
c1ddecab49
Rewrote much of this to add
...
- more validation of incoming data
- error logging in the PHP log
I've tested every function and it works for me without errors.
2006-09-23 07:52:09 +00:00
vyshane
66b0b1042b
Added comment regarding $isteacher being deprecated in print_recent_activity()
2006-09-22 09:11:46 +00:00
moodler
ac4c51bef5
Make it easier to get out of a switched role in case viewing is not allowed
2006-09-22 01:29:11 +00:00
cap2501
e78a3505c5
MDL-6544
...
resolved issue by passing strings into new main.portal.strings for delocalization.
2006-09-21 18:38:54 +00:00
moodler
8cb5bc2b26
People under switched roles should not be able to unenrol
2006-09-21 16:11:31 +00:00
moodler
3a52e764e4
New "Switch Role" functionality to replace the old "Student view".
...
It's not well-tested yet and probably doesn't quite work. I will keep debugging this tonight from home.
2006-09-21 09:16:41 +00:00
skodak
6124048972
major whitespace cleanup - fixed tabs
2006-09-20 20:31:09 +00:00
toyomoyo
dc5586907d
replacing deprecated calls and references to capability calls
2006-09-20 09:00:04 +00:00
skodak
681729b16e
various minor Role UI fixes
2006-09-19 17:34:29 +00:00
toyomoyo
9ce384ba1e
relacing deprecated functions with capability checks
2006-09-19 14:16:40 +00:00
toyomoyo
9c37662f22
replacing deprecated funciton calls with capability calls
2006-09-19 09:16:24 +00:00
skodak
92ab23875a
fixed missing dot
2006-09-19 06:38:17 +00:00
skodak
b79da3ac68
moodle/course:managemetacourse is now singular
2006-09-19 06:35:52 +00:00
toyomoyo
d76a5a7fed
replacing references to user_* tables
2006-09-19 01:44:33 +00:00
moodler
0e1cc9070b
Fixed a some debugging statements
2006-09-18 13:24:45 +00:00
skodak
dca1937c02
removed references to /requested(teachers?|students?)name/ and 'showsiteparticipantslist' - we are now using only default names stored in langpacks for backwards compatibility
2006-09-18 11:21:24 +00:00
skodak
339dc4e28f
metacourse fixes for course editting
2006-09-18 09:37:51 +00:00
toyomoyo
24671bd8b4
validation should not watch out for teacher and students string anymore
2006-09-18 09:16:49 +00:00
toyomoyo
65becbc3ef
if the user has no capability, after creating a course we add him to the first role with legacy:edittingteacher, to make him a legacy editting teacher
2006-09-18 09:10:03 +00:00
skodak
f5002f10bf
metacourses gui fixes, part I.
2006-09-18 08:20:01 +00:00
toyomoyo
353a7269a2
removing word for teachers and students, please use proper role names instead
2006-09-18 04:57:34 +00:00
skodak
09575480bb
fixed several warnings in get_course()
2006-09-17 18:07:35 +00:00
cap2501
8a66975e84
cleaned up some formatting
2006-09-17 17:48:27 +00:00