944 Commits

Author SHA1 Message Date
moodler
069599e151 Merged removal for defunct function format_title from 1.8 (unforunately that was committed without a message).
MDL-8713
2007-03-16 03:12:50 +00:00
moodler
037da74d09 Merged format_string fix from stable MDL-8713 2007-03-16 02:52:30 +00:00
moodler
cbdfb9291b Merged filter_string fix from MDL-8713
(Also includes some reverting of a revert that Nicolas accidentally did ;-P )
2007-03-15 06:08:46 +00:00
nicolasconnault
c3d327b4c3 MDL-8904: Used a numerical index for the navigation elements array instead of string index.
MDL-8713: Added $CFG->formatstring temporary variable
2007-03-15 04:08:40 +00:00
tjhunt
3eb89b9997 Notice when a student attempts a quiz, because there are no tabs to display. Merged from MOODLE_18_STABLE. 2007-03-14 15:29:46 +00:00
moodler
ac26175c5c Merged wonky nav fix from stable 2007-03-14 14:55:22 +00:00
nicolasconnault
a205dcdc09 Upgraded weblib::format_string() so it accepts unicode htmlentities. Also added more unit tests, including a stub for an integration web-based test. 2007-03-06 05:05:45 +00:00
nicolasconnault
dacb47c0ca MDL-8691 - Finally found the source of the error and fixed it. Add to apply s(format_string($week_summary)) on the optgroup's label. 2007-03-06 02:59:25 +00:00
skodak
60ec23afba MDL-8690 popup form now uses div instead of invisible fieldset; merged from MOODLE_18_STABLE 2007-03-05 21:42:49 +00:00
nfreear
0946fff44c Follow-up fix 2 for MDL-8507 "Local language pack-..." - Content-Language header. 2007-03-05 15:38:10 +00:00
moodler
c8135a3509 Merged notice fix from stable 2007-03-05 05:47:27 +00:00
moodler
38d5ab866c Merged xhtml fixes for MDL-8755 2007-03-05 05:36:43 +00:00
skodak
a97e0ccb37 fomrat_string() tuning - memory, speed and accuracy in cron 2007-03-04 22:58:29 +00:00
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