Commit graph

862 commits

Author SHA1 Message Date
mattc-catalyst
ac4feb59af Breadcrumbs: Core functionality changes
- Added build_navigation function to create an XHTML breadcrumb list and to
  allow filtering of breadcrumbs to remove the activity from the trail.
- modified print_navigation to print the output of build_navigation whilst
  maintaining backward compatibility with old style string breadcrumbs.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 20:44:32 +00:00
skodak
8f660562d8 MDL-8839 fixed markdown cleaning before editting of existing untrusted text; merged from MOODLE_18_STABLE 2007-04-15 21:54:34 +00:00
martinlanghoff
9d411c734b Fixed 'off by one' month bug in month select boxes generated by
print_date_selector when users time zone set to GMT-13.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt <mattc@catalyst.net.nz>
2007-04-12 00:41:31 +00:00
tjhunt
5081e0a635 Better way to detect whether a function exists in this version of PHP before redefining it. 2007-04-03 08:34:39 +00:00
tjhunt
b388c7664d Another attempt to get redirect() to not redirect if an error was output to the screen, to make dubuggin easier. Sorry I had not noticed the bit in the docs that says error_get_last was PHP 5.2.0+. 2007-04-01 22:19:39 +00:00
moodler
bf8b3d21ba Making redirects work again 2007-03-31 02:34:06 +00:00
moodler
d176958817 error_get_last() ? What's that? 2007-03-31 02:30:56 +00:00
nicolasconnault
4d0ccfa7de MDL-8922 More work on fixing RSS block XHTML 2007-03-23 08:01:01 +00:00
tjhunt
6fd3300925 Make debugging more helpful by printing a full stack trace. 2007-03-22 16:43:48 +00:00
skodak
cb6a4f09ee MDL-9007 weblib.php breaks upper-case hex Numeric Character References; patch by Gareth Morgan; merged from MOODLE_18_STABLE 2007-03-22 16:37:55 +00:00
skodak
5a144b3ac9 MDL-8976 smilies alt text was cached in one static cache for all langs; merged from MOODLE_18_STABLE 2007-03-20 20:47:57 +00:00
skodak
f6f66b0338 MDL-8840 Loginas cleanup; merged from MOODLE_18_STABLE
+ merging perflib toys from moodlelib.php
2007-03-19 18:54:58 +00:00
stronk7
77d08333a8 $CFG->tabselectedtofront is out. Part of MDL-8746
Merged from MOODLE_18_STABLE
2007-03-19 17:21:31 +00:00
skodak
e683263f7f MDL-8904 please no extract()s, fixed double string filtering; merged from MOODLE_18_STABLE 2007-03-19 10:37:44 +00:00
nicolasconnault
268ddd5070 MDL-8860 - Enabled multilang filter for site title. 2007-03-19 04:26:45 +00:00
skodak
de5e137a2e MDL-8841 Switch role cleanup; merged from MOODLE_18_STABLE 2007-03-16 20:21:27 +00:00
moodler
9fbed9c9bc Merged format_string fixes from stable MDL-8713 2007-03-16 05:36:24 +00:00
moodler
fae83c8d32 Merged striplinks change from stable MDL-8713 2007-03-16 03:24:36 +00:00
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