Commit Graph

679 Commits

Author SHA1 Message Date
moodler cf299069d4 Added "drag" hook at the page level when dragging is enabled to make sure
the blocks have the right cursor styles.
2006-10-30 09:39:58 +00:00
skodak 70f97a5995 MDL-7190 fixed wrong closing ) in cache md5 calculation, sorry! 2006-10-25 23:16:44 +00:00
skodak a1332df845 Strip ##TRUSTTEXT## when not in developer debug mode MDL-7190; minor format_text speedup; changed in md5 text cache calculation 2006-10-24 22:18:19 +00:00
vyshane 19043b2c61 Changed <noscript> to <div> since document.getElementById() can't seem to be able to access the <noscript> element in safari, and possibly in IE as well. See bug MDL-7057. 2006-10-24 03:25:48 +00:00
moodler 9595f6a388 FIxed some rogue &nbsp characters (thanks, Samuli!) MDL-7179 2006-10-23 13:41:27 +00:00
tjhunt c9ddd414c7 Take out 8) smiliey that interfeers with ligitimate content like (1998). 2006-10-11 16:29:54 +00:00
skodak a44091bffe Fixing Theme Config Variables MDL-6784 2006-10-09 10:12:41 +00:00
skodak 57f1b91497 fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135 2006-10-07 20:47:54 +00:00
gustav_delius 6a8b20b790 Don't strip slashes from data send to htmlarea, after all it is not being stripped from data going to the normal textarea either. 2006-10-07 17:20:35 +00:00
moodler 46f8bacfc8 Fixed some unencoded & in urls 2006-10-06 05:44:05 +00:00
skodak f47f4659de fixed nocache option in format_text() 2006-10-04 21:22:57 +00:00
moodler c9f8e57f4a FIxed category editing button 2006-10-04 04:45:58 +00:00
skodak a44de9c12f fixed print_texarea() capability requirement 2006-10-02 19:47:11 +00:00
moodler 85489a5b42 Various little cleanups 2006-10-02 14:57:00 +00:00
moodler 04186cd965 Improvements to the user listing, security and appearance 2006-10-01 06:18:18 +00:00
moodler afe6d00384 FIxed a typo mod->id --> mod->cm 2006-10-01 04:56:43 +00:00
moodler ea35ab87d9 Header and footer should include $CFG->header and $CFG->footer, just in
case the chosen theme doesn't exist any more
2006-09-29 05:43:48 +00:00
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