mits
e8928a65fd
Changed breadcrumb and blog tag color.
2006-09-22 01:23:49 +00:00
moodler
988ad08450
Use role sortorder when getting role lists
2006-09-22 01:21:01 +00:00
skodak
0c88b9acf7
improved coding style
2006-09-21 23:15:45 +00:00
skodak
f3245d0952
improved coding style
2006-09-21 23:08:58 +00:00
skodak
fa1fbbdc40
minor allignment change in role list
2006-09-21 23:00:48 +00:00
stronk7
cac97946d6
adjusting breadcrumb separator...
2006-09-21 23:00:45 +00:00
skodak
b5959f3071
partial rewrite of role manage script, improved notice_yesno(), other minor fixes and changes; I will work on assign and overide tomorrow ;-)
2006-09-21 22:34:45 +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
stronk7
94e65cc36c
Now all the insert_record() and update_record() calls under
...
Oracle DB use the oracle_dirty_hack() function to transform
empty strings into something different ' ' in order to avoid
the problems with the empty=NULL stupid norm of Oracle.
With this change, Oracle installation works completely.
Now we need to implement everywhere the opposite hack: transforming
all those ' ' (1 whitespace) back to the '' (empty string). Working
on it now.
2006-09-21 18:30:50 +00:00
stronk7
85f101fa26
SQL ANDs mus be, always, "AND" :-P
2006-09-21 17:18:56 +00:00
moodler
669d3ecd7c
Some fixes to move Javascript files to PHP script, so that we can
...
tweak the contents better.
This was supposed to fix MDL-6544 but it didn't work. Checking it in
because it will help a fix later.
2006-09-21 17:17:00 +00:00
stronk7
d7d05cf2f3
SQL ORs must be, always, "OR"
2006-09-21 17:09:28 +00:00
stronk7
7f5f956cf5
Allow to specify NULL clauses for some generators, mainly because
...
some mssql drivers use to create everything as NOT NULL by default.
2006-09-21 17:04:28 +00:00
moodler
f098f122ca
New string , used in registering
2006-09-21 16:49:15 +00:00
moodler
f8b0d22a5e
Fixes to make registering work ;-)
2006-09-21 16:48:46 +00:00
moodler
67171ec800
Fixed typo in capability name
2006-09-21 16:46:10 +00:00
skodak
f59208a745
fixed typos in capabiltiy names
2006-09-21 16:27:37 +00:00
moodler
8cb5bc2b26
People under switched roles should not be able to unenrol
2006-09-21 16:11:31 +00:00
moodler
861fdcaa28
Changing defaults for role assigning (teachers, coursecreators allowed)
2006-09-21 16:02:39 +00:00
moodler
2d07587b4c
Improvements to switchroles
...
1) You can have separate switchroles active in every course
2) Admins get a better view (doanything is supressed when switchroles active)
2006-09-21 15:58:59 +00:00
sam_marshall
fd2fff1e24
Changed the redirect() version with no message (that sends a redirect header) so that it sends an absolute URL as per HTTP spec, even if the argument to the function is a relative URL.
2006-09-21 15:13:27 +00:00
moodler
91ea292e65
Changed the login info string when a user is using 'switch roles'
2006-09-21 14:42:45 +00:00
moodler
09edb3794b
Fixed a capability name typo
2006-09-21 14:07:27 +00:00
moodler
b32c8ddadd
Fixed typos in capability names
2006-09-21 14:05:58 +00:00
moodler
0cef8a37fa
Changed logic slightly in switchrole_form
2006-09-21 14:04:32 +00:00
moodler
0c05b71f58
Fix typo
2006-09-21 13:11:05 +00:00
sam_marshall
a82e9bc3bb
Added feature to blocks (and restorelib) so that blocks get a method call (default does nothing) after they are restored. This allows blocks to change their settings if necessary in respect of the new course roll-forward 'restore and change start date' feature that Al implemented recently. The core blocks happen not to store dates anyway so don't need this, but contributed blocks may well do.
2006-09-21 12:07:15 +00:00
stronk7
db33348f53
When journal to assignment migration is performed, journal
...
upgrade hasn't been upgraded yet so the journal_entries->comment
field is still called "comment"
2006-09-21 10:04:49 +00:00
stronk7
0bc94c9990
Last reserved word is out now!
...
journal_entries->comment to entrycomment
Only 2 tables have reserved names but they aren't
a problem if we force $CFG->prefix always
2006-09-21 09:54:00 +00:00
stronk7
ea6432fede
Moved assignment_submission->comment to submissioncomment
...
(because comment is DB reserved word)
2006-09-21 09:35:20 +00:00
moodler
1888245ee6
More strings
2006-09-21 09:16:56 +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
toyomoyo
01e52ac70a
changes to backups (where the roles info are stored)
2006-09-21 09:09:16 +00:00
vyshane
9222e72167
Removed capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivities and hide/unhide forums instead.
2006-09-21 08:32:05 +00:00
vyshane
986dc51c00
Removed string for mod/forum:viewforum
2006-09-21 08:30:59 +00:00
skodak
fd98800ea2
another admin ui cleanup
2006-09-21 08:28:25 +00:00
skodak
2ce38b70d8
capability related changes in new admin tree
2006-09-21 08:18:14 +00:00
skodak
db51ddc52e
old admin configuration cleanup - MDL-6595 MDL-6449 MDL-6447
2006-09-21 08:05:50 +00:00
stronk7
0ce61c841f
Force ANSI NULLs under mssql. It's not critical to work
...
but it avoids some problems when changing nullability
of fields in the future.
2006-09-21 07:44:56 +00:00
moodler
20dd4cf5a1
Added new capability to switch roles (replaces old student view)
2006-09-21 07:44:53 +00:00
vyshane
2b15a08dc9
Added some notes for future reference
2006-09-21 07:40:24 +00:00
moodler
1c1e7af4e2
FIxed defaults for frontpage format
2006-09-21 07:38:13 +00:00
toyomoyo
4929302769
adding roles support for backups
2006-09-21 06:57:14 +00:00
skodak
2464c592e3
removed moodle specific debug messages from file.php
2006-09-21 06:38:27 +00:00
vyshane
49a0ba9438
Cleanups in view.php. Also moved logging of a forum view so that the event is not logged if the user does not have permission to view discussions in a forum (user never sees the discussions, so not counted as a view).
...
Tidy up of error display in discuss.php for when a user does not have permission to view the discussion.
2006-09-21 05:42:35 +00:00
vyshane
c095178c84
Added message string for when a user does not have permissions to view forum discussions in a forum.
2006-09-21 05:39:17 +00:00
vyshane
9ae965d379
Removed column ratings from data table
2006-09-21 04:10:36 +00:00
toyomoyo
e38f38c326
fix for MDL-6571, added get_roles_on_exact_context() for backup
2006-09-21 03:21:33 +00:00
moodler
2aab9d4000
Automatic installer.php lang files by installer_builder (20060921)
2006-09-21 02:44:10 +00:00
toyomoyo
e959a34b48
fixing syntex errors
2006-09-21 02:03:39 +00:00