Commit graph

981 commits

Author SHA1 Message Date
skodak
38701b6910 fomrat_string() tuning - memory, speed and accuracy in cron 2007-03-04 22:52:33 +00:00
urs_hunkler
d11a1daa5f merged tabs routine changes to resolve IE6 + 7 tabs issues 2007-03-04 17:16:00 +00:00
moodler
426bcc164b Merged xhtml fix from stable MDL-7861 2007-03-04 06:32:04 +00:00
skodak
6ebb7659fd MDL-8690 fixed regression in notice_yesno 2007-03-02 19:57:24 +00:00
skodak
18b07efaf4 sesskey added to logout.php MDL-8727 2007-03-02 16:47:38 +00:00
nicolasconnault
345ea0f7d4 MDL-8597 - Fixed: weblib.php::print_speller_code was adding CDATA and <script> tags around the code, when this was already done by weblib.php::use_html_editor().
Check lib/editor/htmlarea/htmlarea.class.php for a seemingly duplicated print_speller_code method.
2007-03-02 05:06:51 +00:00
moodler
759b77631c Fixed $title in print_header (merged from stable) (no bug) 2007-03-02 03:21:04 +00:00
toyomoyo
78c698f3be merged, changing this back to fieldset 2007-03-02 02:33:19 +00:00
toyomoyo
c03ebabebc replacing fieldsets with divs in small forms 2007-03-01 06:06:16 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
skodak
cc6566c8e1 MDL-8582 - reverted changes in print_navigation(), needs some minor rewrite to use print_title() 2007-02-24 10:19:15 +00:00
skodak
473d29ebcd MDL-8582 - reverted changes in s() and added new function format_title() instead 2007-02-23 20:10:11 +00:00
skodak
83582cd6f6 removed deprecated flag from addslashes_js() MDL-8582 2007-02-23 09:14:19 +00:00
toyomoyo
e2cd3ed012 merged nick's fix for MDL-8582, ampersand in course name/shortname causes xtheml strict problems 2007-02-23 06:03:09 +00:00
skodak
267436d0d9 fixed capcheck warning 2007-02-21 22:56:44 +00:00
nfreear
2ab4e4b87b Followup fix for Bug MDL-8507 "Local language pack-name can appear in language code" 2007-02-21 10:42:50 +00:00
skodak
04480de386 added recursive addslashes 2007-02-16 09:38:24 +00:00
toyomoyo
217a8ee950 made some changes so that if a user has any roles assigned in context_module or context_block with moodle/site:manageblocks or moodle/course:manageactivities, he will see the "turn editting on" button without needing to have a role assigned at context_course with moodle/course:manageactivies capability. Of course this user would not be able to edit any blocks or modules he/she is not supposed to edit. Ajax for these users with partial editing privilages are locked. Please report bugs asap as we are looking at backporting this change to 1.8. Cheers. 2007-02-16 07:57:19 +00:00
toyomoyo
09b62d3b99 fix for MDL-8517 broken xhtml for redirects 2007-02-15 05:15:06 +00:00
skodak
69995c4a1e MDL-8520 resource navigation borked by accessibility frame changes 2007-02-14 22:05:23 +00:00
nfreear
c4792df0bf Fix for MDL-8507 "Local language pack-name can appear in language code" 2007-02-13 13:38:53 +00:00
moodler
42044d0971 Fixes so that no-one can "login as" users with "doanything" MDL-8411 2007-02-13 08:31:10 +00:00
vyshane
604c634179 Reverted require_js() in lib/ajax/ajaxlib.php. Last changes broke backwards compatibility with the way the function worked in Moodle 1.7.
Small change in lib/weblib.php to allow require_js() to be used from themes. To use it, just call the function from themedir/meta.php.
2007-02-12 06:01:49 +00:00
urs_hunkler
1d41dcd081 'extended class nocoursepage to all admin pages' 2007-02-07 08:10:54 +00:00
toyomoyo
fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00
sam_marshall
24c66531b3 MDL-8216 Smartpix support (under 'experimental') for searching images in theme, parent theme, etc 2007-02-02 12:19:58 +00:00
vyshane
a194510a9c print_header now calls require_js() to print out html that loads JavaScript libraries. 2007-02-02 06:40:22 +00:00
moodler
c830f3e3aa Added help title for switchrole help button MDL-8378 2007-02-02 06:21:44 +00:00
moodler
f522d310fd Add some robustness to the tabs so we can use tabs named '0' 2007-02-01 07:02:28 +00:00
skodak
9152fc9938 MDL-8323 finished full conversion to proper $COURSE global - no more $CFG->coursetheme, $CFG->courselang - improved course_setup(), current_language() and current_theme(); and Chameleon theme fixes needed for global $COURSE
MDL-7962 chat seems to be completely broken in head (fixed wrong JS)
* reworked chat themes support
MDL-8338 Cron does not need cookies
MDL-8339 forum cron capabilities problems
* minor deprecated function current_encoding() cleanup
2007-01-28 21:18:08 +00:00
skodak
dcf6d93c9c MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
new function course_setup() thats does proper $CFG-> , locale and themes setup much sooner than print_header() originally (needed for MDL-8067), cleanup of forgotten global $course issues

MDL-8067 Fixed several $HTTPSREQUIRED issues - html editor now loads from https (the old hack did not wotk with IE7, new hack is uglier but works), fixed formlibs images (we can not set them in library global scope, we must wait for httpsrequired() and require_login() and od that in function), fixed links in meta.php, fixed help images

fixed setting of new $USER values in user edit forms
2007-01-27 19:56:08 +00:00
moodler
0b4f88a6d6 Improved documentation for print_tabs 2007-01-26 06:28:43 +00:00
moodler
65c8c79335 Some slight modifications to the css classes for one-tab lines MDL-7782 2007-01-26 06:23:53 +00:00
moodler
36e8c122d5 Improved classes for new tabs MDL-7782
Improved inclusion of meta.php avoids notices for non-existent files
2007-01-25 04:43:26 +00:00
skodak
ad6226fba2 MDL-8096 - user edit form splitting, refactoring, cleanup and fixing - work in progress ;-)
* new editadvanced form for creating of users and editing without restrictions
* elliminated fantom changeme user
* updated links and installation process
* see TODO comments in code
2007-01-25 00:04:02 +00:00
moodler
79f533c388 Added some new settings to theme config.php so that a file meta.php can be
automatically included into the HEAD section of the current theme.

Supports parent and standard files too.

I added this to support the inclusion of some IE specific CSS  :-( which needs
to be done from HTML and not CSS, (MDL-7782) but it could be used to include other things
as well, or even to run some PHP code, set various vriables etc without messing
up the theme header.html (and regardless of the theme being used).
2007-01-24 09:20:32 +00:00
moodler
8f36e33ec3 Fixed up styles for simple boxes see MDL-8101 2007-01-23 05:37:26 +00:00
skodak
2463ef818f MDL-7861 fixed regression caused by one of previous commit related to print_single_button() and friends - old & handling restored, thanks Eloy for spotting the problem :-) 2007-01-22 18:23:14 +00:00
skodak
c35e8b1c15 removed xhtml strict todo comment - already fixed 2007-01-22 16:03:34 +00:00
martinlanghoff
1a5d0b7f54 debugging() - tell us who/where/when called us, like trigger_error() does 2007-01-22 01:55:09 +00:00
skodak
afd2b29984 fixed perfdebug warning during install 2007-01-21 21:46:55 +00:00
skodak
83b902fee1 minimal footer in redirect() 2007-01-21 10:30:08 +00:00
skodak
5c6347ceeb cosmetic fix in format text FORMAT_HTML now used after text is converted to html instead of the original format - the actual function is not changed, no need to backport 2007-01-20 13:36:03 +00:00
skodak
ed5dd29fc8 moved obsoleted functions from weblib.php to deprecatedlib.php 2007-01-20 13:32:15 +00:00
skodak
e1968a8e11 MDL-7861 xhtml strict fix in notice() for & in referer, proper string quoting in print_single_button(), changed cleaning of submitted link; fixed warning when referer not send in print_continue(); fixed some doc comments 2007-01-20 13:00:03 +00:00
skodak
60f9e36ee8 MDL-8223 - last global $course hacks removed 2007-01-19 10:29:03 +00:00
sam_marshall
ca360e834b MDL-8185: Added an extra \n to use_html_editor to make it happy in wiki editing (doesn't do any harm elsewhere) 2007-01-15 17:45:47 +00:00
moodler
3d621607f1 Fixed up alignment of buttons on course page 2007-01-15 03:39:48 +00:00
moodler
ee80b6ec43 Clean up notice boxes 2007-01-13 04:25:02 +00:00
urs_hunkler
758027d0e7 'more flexible round corner version, added pageclass nocoursepage to style course pages being no course view, admin view or site index' 2007-01-11 17:01:32 +00:00