jamiesensei
e744ebba7b
added a param to moodle_url constructor to provide params as an array just as a convenience to quickly construct a url with an array of params.
2007-05-04 05:45:33 +00:00
jamiesensei
fcdb06c470
change to print_paging_bar function to optionally support the use of a moodle_url object as a parameter instead of a string.
...
small changes to moodle_url class
2007-05-03 10:03:59 +00:00
jamiesensei
360e503e6e
MDL-9644 new class 'moodle_url' in weblib.php to handle constructing a url. It would internally stores params as an array and have methods to manipulate the array. The class can also output the params as hidden fields in a form or as a url with get params appended.
2007-05-03 04:34:53 +00:00
ikawhero
8f8210b3e8
1. Changes to allow different priorities in the theme selection based on
...
CFG->themeorder setting
2. Changes to allow category themes. Theme can now be set for a category
which will apply to all sub-categories (unless they specifically have a
theme set) and to child courses (course theme and $CFG->themeorder
settings permitting). New config setting $CFG->allowcategorythemes must
be set. Off by default as it means extra database calls.
There is an ugly hack to find out if we are viewing course/category.php -
anyone welcome to tidy this up if they have a better idea.
GUI for setting category theme coming.
2007-05-02 09:35:35 +00:00
skodak
bb4b3ea4f8
MDL-9647 simplify dealing with headers/footers in admin sections; some more cleanup
...
fixed continue button in error() on admin page when link present
2007-04-30 17:28:28 +00:00
skodak
635773c604
MDL-9647 simplify dealing with headers/footers in admin sections; fixed double footers when using print_footer() in admin page
2007-04-30 17:13:37 +00:00
skodak
1ae083e424
MDL-9647 simplify dealing with headers/footers in admin sections
2007-04-30 17:08:34 +00:00
skodak
b48d124a17
lets prevent detection of strict PHP5 errors in redirect in developer debug mode
2007-04-24 18:53:12 +00:00
tjhunt
5ea4af2210
Stop "Undefined variable: ALLOWED_TAGS" errors all over the place.
2007-04-24 17:09:12 +00:00
sam_marshall
f130a9d810
Merged MDL-9556: HTML editor shortcut button should only appear when JS enabled
2007-04-24 11:59:17 +00:00
skodak
85fbf88489
MDL-9151 fixed missing global definition, sorry :-(
2007-04-19 12:18:44 +00:00
skodak
e0ac8448c7
MDL-9151 HTML Purifier cleaning support - enable switch is in experimental section
...
MDL-9435 Reviewved url cleaning in redirect()
2007-04-18 21:52:03 +00:00
skodak
886c109d8d
MDL-9416 Double quotes and tags in helpable item breaks XHTML strict; merged from MOODLE_18_STABLE
2007-04-17 20:42:29 +00:00
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