jamiesensei
909ec807cb
moved styles in theme\standard\styles_form.css to theme\standard\styles_layout.css and removed theme\standard\styles_form.css and all references to it. In line with discussion here : http://moodle.org/mod/forum/discuss.php?d=54907
2006-09-28 10:32:23 +00:00
jamiesensei
1629424dbb
added styles_form to $DEFAULT_SHEET_LIST part of the code necessary so that every theme loads styles_form
2006-09-25 14:56:45 +00:00
sam_marshall
20e1b1e5c0
Quick fix to the me() fix to the redirect function (for relative redirects).
2006-09-25 11:23:15 +00:00
moodler
afee986420
Updates for better CSS hooks
2006-09-25 08:20:14 +00:00
vyshane
1b54fb36ba
Error printing for cron should be done with mtrace()
2006-09-25 02:44:54 +00:00
skodak
aade3a4b6a
fix for MDL-6680 redirect function is broken when running php as CGI, me() now used instead of SCRIPT_NAME + minor coding style changes
2006-09-24 19:10:13 +00:00
vyshane
3f8a38343b
Removed isteacher from function print_recent_activity_note()
2006-09-24 14:35:48 +00:00
moodler
c7731ab5e2
Fixed notice() so that you can pass a course if you want
2006-09-24 06:21:15 +00:00
moodler
65b0c132ed
When getting lists of roles, put role names through format_string
...
(ie for multilang filter)
2006-09-23 12:46:53 +00:00
skodak
7eb0b60a1f
debugging and error reporting level fixes and improvements MDL-6671
2006-09-23 09:38:39 +00:00
skodak
a17c57b5e3
Partially reversed patch for http://tracker.moodle.org/browse/MDL-5136 , caching of filtered uploaded html files is disabled now MDL-5136 , Eloy is changing the column type in cache_text back to TEXT.
2006-09-22 18:08:53 +00:00
sam_marshall
ecfdc901fc
Ooops. The following-HTTP-standard absolute-path redirect thing didn't work with URLs that begin / (i.e. it couldn't redirect to /moodle/whatever although it was fine redirecting to http://thing/moodle or to plain old whatever/something.) Fixed.
2006-09-22 10:48:37 +00:00
moodler
e84ea106f9
function_names() might not like the egg
2006-09-22 03:49:49 +00:00
moodler
2eb662d261
A real easter egg ;-)
2006-09-22 02:28:13 +00:00
moodler
35cf8b7938
Some easter eggs :-)
2006-09-22 02:11:00 +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
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
0cef8a37fa
Changed logic slightly in switchrole_form
2006-09-21 14:04:32 +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
dc5586907d
replacing deprecated calls and references to capability calls
2006-09-20 09:00:04 +00:00
nfreear
57100a9098
Fixes bug MDL-6360 "Resizable image in breadcrumb trail..."
...
- files block_search_forums.php, calendar/lib.php, lang/en_utf8/access.php, weblib.php, theme/standard/config.php, styles_color.css
2006-09-19 11:36:21 +00:00
skodak
8743f4f3ec
removed foter login link during initial phase of installation
2006-09-17 17:53:20 +00:00
moodler
8f8ed475f7
Added a new setting called $CFG->defaultuserroleid which defines
...
the role that ALL users get by default when they log in.
2006-09-14 09:39:23 +00:00
moodler
503eecab20
Strip tags from block skip link names
2006-09-14 07:00:43 +00:00
moodler
09ad59dcb8
Revert to standardwhite if theme is missing MDL-6257
2006-09-14 05:15:06 +00:00
moodler
2fca6e0b26
Fixing up comments on debugging()
2006-09-14 04:31:05 +00:00
moodler
fa989c3882
Moved debugging() to weblib.php since it's really about output
2006-09-14 04:25:17 +00:00
moodler
ea82d6b638
CHanged a lot of CFG->debug stuff to use the new debuggin() function
2006-09-13 09:45:07 +00:00
moodler
4b743adbc3
Deleted the moodle_error_handler after reading the docs more.
...
it's not really as useful as I thought it might be
2006-09-13 08:41:12 +00:00
moodler
e6c5492368
Added a simple moodle_error_hendler function I'm playing with
2006-09-13 08:23:30 +00:00
moodler
050c78c41d
Missed some $COURSE conversion
2006-09-13 05:33:09 +00:00
moodler
9103fd10f8
Use $COURSE and not the $course hack
2006-09-13 04:11:36 +00:00
toyomoyo
ae9e4c064e
replacing iscreator() calls with capabilty
2006-09-12 08:56:10 +00:00
toyomoyo
1c45e42e3c
adding capabilities
2006-09-11 08:56:23 +00:00
skodak
3435f39bab
validate local redirection actions in jumpto.php SC#310
2006-09-11 06:47:38 +00:00
toyomoyo
51792df056
adding capabilities
2006-09-08 08:46:26 +00:00
skodak
42d6be31d1
double redirect prevention - if both 'meta http-equiv' and javascript redirects are used, javascript delay is 3 seconds longer to prevent accidental double redirects. The target page can still be loaded twice in case user clicks the link before the target page gets fully loaded.
2006-09-07 19:40:57 +00:00
toyomoyo
ec7a8b7999
adding capabilities
2006-09-07 08:57:56 +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
moodler
7191a1fa27
Added capability for showing documentation links
2006-09-03 16:26:55 +00:00
moodler
d5a0163891
Removed student view completely until a roles-ased replacement can be made
2006-09-03 08:10:51 +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
tjhunt
73d4db845e
New function choose_from_menu_yesno
2006-08-31 16:55:48 +00:00
skodak
eb744c5ef7
redirect() now always respects delay 0 if specified + some minor changes
2006-08-31 07:45:58 +00:00
stronk7
de64b6c69e
modify stripslashes_safe() to work properly under magic_quotes_sybase
...
(both addslashes and stripslashes do it properly based on the setting)
2006-08-27 21:52:22 +00:00
skodak
daed1a2f37
minor trusttext fix
2006-08-26 17:39:31 +00:00
skodak
7d8a3cb06a
trusttext:
...
* proposed by Martin Dougiamas
* implemented by skodak
Usage:
1/ change enabletrusttext to yes in site settings (it is off by default) or set it in config.php
2/ assign moodle/site:trustcontent capability to users whose text submitted in glossary entries, comments, forum posts etc. should not be cleaned == they can use javascript or any other forbidden tags in glossary and forums...
done:
* core
* glossary (without proper upgrade)
to do:
* data cleaning in upgrades
* forum, blocks and some other places (MD decides)
2006-08-26 13:00:07 +00:00
vinkmar
f8a511519b
admin page cleanup (google soc 2006)... updated field name for category editing function so that it doesn't conflict with 'edit' when used for blocks
2006-08-18 07:29:19 +00:00