Log of /moodle/lib/weblib.php
Parent Directory
Revision
1.970.2.149 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Nov 24 16:44:43 2009 WST (21 hours, 42 minutes ago) by
moodler
Branch:
MOODLE_19_STABLE
Changes since
1.970.2.148: +18 -2 lines
Diff to
previous 1.970.2.148
, to
branch point 1.970
flash detection MDL-20841 New config setting excludeoldflashclients will set a minimum version for flash clients. A check in print_header is run once, and will set a session variable with the current flash version. If the current flash version is lower than the minimum requirement, then Moodle will serve alternate content whenever a flash file is requested. The alternate file will ask the user to upgrade flash. Still requires wider testing, and some lang support. Credits to Jerome Mouneyrac.
Revision
1.1342 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Oct 1 10:31:42 2009 WST (7 weeks, 6 days ago) by
samhemelryk
Branch:
MAIN
Changes since
1.1341: +9 -0 lines
Diff to
previous 1.1341
simpletest-navigation MDL-20395 Fixed up regressions in the simpletest caused by recent changes to upgrades to navigation lib.
Also fixed issue whereby PAGE->set_url was being called by testdeprecatedlib but not being reset to the original value causing several flow on errors through simpletests
Revision
1.1341 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Oct 1 02:13:27 2009 WST (7 weeks, 6 days ago) by
tjhunt
Branch:
MAIN
Changes since
1.1340: +1 -1 lines
Diff to
previous 1.1340
unit tests: MDL-20398 spurious exceptions when $CFG->debugdisplay is false
Doh! I had the logic the wrong way round in my previous commit. Sorry.
Revision
1.1338 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Sep 23 14:05:37 2009 WST (2 months ago) by
samhemelryk
Branch:
MAIN
Changes since
1.1337: +13 -1 lines
Diff to
previous 1.1337
navigation MDL-20332 MDL-20324 Modifications to fix the following issues:
* If no active node is found when the navigation is called upon then we attempt to find a best match active node
* Links are now produced with frame breakout actions
* Links ending with / are presumed index.php for matching purposes
Revision
1.1332 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Aug 28 16:47:32 2009 WST (2 months, 4 weeks ago) by
samhemelryk
Branch:
MAIN
Changes since
1.1331: +0 -415 lines
Diff to
previous 1.1331
navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
Revision
1.1327 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 13 09:16:30 2009 WST (3 months, 1 week ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.1326: +2 -0 lines
Diff to
previous 1.1326
MDL-19756
* Removed outputpixfinders.php and put that code back in outputlib.php
* Created labelled_html_component class and subclassed all appropriate components from it
* Added component::add_confirm_action($message) as a shortcut for adding a confirmation popup
* Fixed bug in close_window_button()
Revision
1.1320 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Aug 5 10:39:43 2009 WST (3 months, 2 weeks ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.1319: +0 -32 lines
Diff to
previous 1.1319
MDL-19756 Deprecated update_course_icon() and implemented a simple $OUTPUT->edit_button($moodleurl) method which uses $USER->editing
Revision
1.1314 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Aug 4 10:05:32 2009 WST (3 months, 3 weeks ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.1313: +39 -136 lines
Diff to
previous 1.1313
MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions.
Revision
1.1306 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 27 18:33:00 2009 WST (3 months, 4 weeks ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.1305: +37 -809 lines
Diff to
previous 1.1305
MDL-19756 Migrated the following functions from weblib to outputlib:
1. button_to_popup_window
2. link_to_popup_window
3. print_single_button
4. print_spacer
5. print_file_picture (deprecated)
6. print_user_picture
7. print_png (deprecated)
8. helpbutton
9. doclink
10. print_paging_bar
11. notice_yesno
Revision
1.1302 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 13 19:10:30 2009 WST (4 months, 1 week ago) by
mudrd8mz
Branch:
MAIN
Changes since
1.1301: +0 -185 lines
Diff to
previous 1.1301
MDL-19755 print_table replaced with $OUTPUT->table
rowclass property has been deprecated, rowclasses should be used.
Direct assigning of the class has been deprecated,
moodle_html_elements::set_classes() should be used instead. In both
cases, debugging message is displayed.
Revision
1.1300 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jul 10 16:44:02 2009 WST (4 months, 2 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1299: +2 -0 lines
Diff to
previous 1.1299
upgrade: MDL-19763 Improve the redirect that forces a DB upgrade when there are major changes
Also fix redirect, so 303 redirects don't need to fully initialise $OUTPUT.
Revision
1.1298 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jul 9 15:35:06 2009 WST (4 months, 2 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1297: +25 -0 lines
Diff to
previous 1.1297
themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)
Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)
The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.
How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.
Further refinement for how the theme and block code gets initialised.
Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)
Things that are still broken:
* some pages in lesson, quiz and resource. I'm working on it.
* lots of developer debug notices pointing out things that
need to be updated.
Revision
1.1297 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 8 11:27:27 2009 WST (4 months, 2 weeks ago) by
samhemelryk
Branch:
MAIN
Changes since
1.1296: +1 -0 lines
Diff to
previous 1.1296
lib MDL-19739 Moved call to include dropdown.js out of outputlib and into the same body of code in weblib
that uses it.
This ensures that it is only loaded if it is used, which is only is the browser is opera, or IE
Revision
1.1295 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jul 5 22:31:58 2009 WST (4 months, 2 weeks ago) by
mudrd8mz
Branch:
MAIN
Changes since
1.1294: +13 -4 lines
Diff to
previous 1.1294
MDL-19716 moodle_url: new parameter to get URL with unescaped ampersands
moodle_url::get_query_string() and moodle_url::out() now accept new
optional parameter. Backwards compatible. This is needed so we can use returned URL
during redirect() which expects unescaped ampersands.
Revision
1.1288 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jul 2 19:23:47 2009 WST (4 months, 3 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1287: +1 -2 lines
Diff to
previous 1.1287
MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.
Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.
Revision
1.1283 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 1 13:54:26 2009 WST (4 months, 3 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1282: +5 -821 lines
Diff to
previous 1.1282
themes: MDL-19077 change how the theme is initialised and CSS is served.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F
$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.
CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)
Admin UI for choosing a theme cleaned up.
A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php
Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.
Revision
1.1281 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jun 29 16:17:31 2009 WST (4 months, 3 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1280: +8 -187 lines
Diff to
previous 1.1280
MDL-19077 - Finish eliminating customcorners-specific code in core.
The custom-corners-specific code now in theme/customcornser/renderers.php
and lib/deprecatedlib.php.
Also, $CFG->pixpath is now causing more problems than ever. If it is
giving your problems, please call $OUTPUT->initialise_deprecated_cfg_pixpath()
as a temporary fix. As you can imagine, we are thinking about a better
long-term fix, which is why that method as a silly, and easy to grep name.
Revision
1.1280 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jun 29 15:19:05 2009 WST (4 months, 3 weeks ago) by
samhemelryk
Branch:
MAIN
Changes since
1.1279: +32 -68 lines
Diff to
previous 1.1279
lib MDL-19077 Created output redirect method and implemented against weblib redirect method
This resolves the meta bug that was used when redirecting with a delay
Thanks Tim for the help with this one
Revision
1.1278 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jun 26 17:06:16 2009 WST (4 months, 4 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1277: +71 -710 lines
Diff to
previous 1.1277
themes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer.
Also, part of the change from weblib.php functions to $OUTPUT-> methods.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F
This is a big change, and the result is not perfect yet. Expect some debugging output
on some pages.
The main part of these changes are that $OUTPUT->header now looks for a file
in the theme called layout.php, rather than header.html and footer.html. Also
you can have special templates for certain pages like layout-home.php. There is
fallback code for Moodle 1.9 themes, so they still work.
A few of the old arguments to print_header are no longer supported. (You get an
exception if you try to use them.) Sam H will be cleaning those up.
All the weblib functions that have been replaced with $OUTPUT-> have version in
deprecatedlib, so existing code will go on working for the foreseeable future.
Revision
1.1274 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jun 23 18:41:22 2009 WST (5 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.1273: +0 -12 lines
Diff to
previous 1.1273
themes: MDL-19077 start implementing moodle_core_renderer
Only a couple of methods implemented. Please review the API and
tell me if you are not happy with the direction I am taking.
Revision
1.1269 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jun 19 22:25:57 2009 WST (5 months ago) by
skodak
Branch:
MAIN
Changes since
1.1268: +16 -20 lines
Diff to
previous 1.1268
MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions
Revision
1.1262 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jun 12 20:13:07 2009 WST (5 months, 1 week ago) by
tjhunt
Branch:
MAIN
Changes since
1.1261: +24 -273 lines
Diff to
previous 1.1261
ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.
There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.
get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.
Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.
All that remains is to update all the places in core code that are
still using require_js.
(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
Revision
1.1246 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed May 6 16:55:55 2009 WST (6 months, 2 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1245: +3 -3 lines
Diff to
previous 1.1245
moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
Revision
1.1239 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed May 6 16:38:56 2009 WST (6 months, 2 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1238: +13 -35 lines
Diff to
previous 1.1238
moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype)
deprecate $PAGE->get_format_name (use $PAGE->pagetype)
deprecate page_id_and_class (use $PAGE->pagetype)
Revision
1.1237 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed May 6 16:29:23 2009 WST (6 months, 2 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1236: +30 -33 lines
Diff to
previous 1.1236
moodle_page: MDL-12212 start of new moodle_page class
* has course and status fields
* $PAGE->status updated by print_header and footer
* $PAGE->set_course now replace course_setup function
* global $PAGE created in setup.php
* unit tests for functionality so far
* Moodle still seems to work after this commit!
Revision
1.1232 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Apr 20 19:37:39 2009 WST (7 months ago) by
skodak
Branch:
MAIN
Changes since
1.1231: +3 -65 lines
Diff to
previous 1.1231
MDL-18900 reimplemented trusttext - now using separate db field; the API will be improved and documented together with the new support functions needed for new Editor element
Revision
1.1227 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Apr 13 14:56:33 2009 WST (7 months, 1 week ago) by
tjhunt
Branch:
MAIN
Changes since
1.1226: +33 -123 lines
Diff to
previous 1.1226
filters: MDL-7336 change weblib to use the new code
* Rename filter base class from filter_base to moodle_text_filter
* Remove unnecessary explicit constructors in moodle_text_filter
subclasses
* New filter_manager class, rather than static methods in filter_base
* Move some logic out of weblib, and into filter_manager
* Count filtering ops when $CFG->perfdebug on, via
performance_measuring_filter_manager
* Kill unused filter_string function. Petr said it should have been
private to weblib
Revision
1.1224 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Apr 2 10:42:12 2009 WST (7 months, 3 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1223: +3 -5 lines
Diff to
previous 1.1223
translation: MDL-18766 reverting. I guess it was not yet ready for prime-time.
I'll commit the patch to contrib in case anyone wishes to experiment further.
Revision
1.1223 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Apr 1 08:39:17 2009 WST (7 months, 3 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1222: +10 -14 lines
Diff to
previous 1.1222
translation: MDL-18766 Prototype automatic translation system for Moodle.
If Google can do something like http://translate.google.com/, surely we
can do something just as good in Moodle. Here is a first attempt. It is
a bit rough around the edges, and only a couple of target lananguages
have been implemented so far. (More and better attempts welcome!)
In order to ensure that this gets adequate testing, I have made sure that
it gets turn on by default. However, if you really don't like it, you can
turn it off under Administration > Development -> Experimental settings.
Revision
1.1221 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Mar 25 13:20:58 2009 WST (8 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.1220: +18 -14 lines
Diff to
previous 1.1220
switch roles: MDL-18132 New Role allow switches page finished.
I also set up a reasonable set of default allows, including setting up some sensible allow_overrides, whatever the rant in MDL-15841 says.
Revision
1.1220 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Mar 23 17:15:22 2009 WST (8 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.1219: +3 -3 lines
Diff to
previous 1.1219
switch roles: MDL-18132 separate database table role_allow_switch instead of re-using role_allow_assign.
This is part 1 that does the back-end:
1. New table role_allow_switch.
2. Upgrade that copies all the allows from role_allow_assign, and then drops the old CFG->allowuserswitchrolestheycantassign.
3. Old function get_assignable_roles_for_switchrole renamed to get_switchable_roles and changed to use the new table. Fixes MDL-18604 in HEAD.
4. Switch callers to use the new function name.
5. Unit tests for this new function.
6. To make those unit tests work, new switch_global_user_id and revert_global_user_id methods in UnitTestCaseUsingDatabase for toggling $USER->id.
I still need to do the editing interface under Administration âş Users âş Permissions âş Define roles. That will be done as a second commit.
Revision
1.1214 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Feb 11 00:42:13 2009 WST (9 months, 1 week ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.1213: +4 -2 lines
Diff to
previous 1.1213
MDL-18188 Added a call to the new get_browser_version_classes() function in print_header, so that the classes are always added to the body tag.
Revision
1.1212 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Feb 8 02:56:40 2009 WST (9 months, 2 weeks ago) by
skodak
Branch:
MAIN
Changes since
1.1211: +10 -3 lines
Diff to
previous 1.1211
MDL-14924 the same title now used on each upgrade/install page (Moodle - 2.0...) + the same footer with moodle logo now used during installation and upgrade - links to admin docs
Revision
1.1211 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Feb 4 17:21:18 2009 WST (9 months, 2 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1210: +6 -6 lines
Diff to
previous 1.1210
weblib: MDL-17525 Give previous and next links in paging bars class names, so they can be themed.
Thanks to Daniel Neis for the patch.
I checked the standard theme, and I don't see any rules there that would erroneously apply to these class names in paging bars.
Revision
1.970.2.132 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Feb 4 17:21:06 2009 WST (9 months, 2 weeks ago) by
tjhunt
Branch:
MOODLE_19_STABLE
Changes since
1.970.2.131: +6 -6 lines
Diff to
previous 1.970.2.131
, to
branch point 1.970
weblib: MDL-17525 Give previous and next links in paging bars class names, so they can be themed.
Thanks to Daniel Neis for the patch.
I checked the standard theme, and I don't see any rules there that would erroneously apply to these class names in paging bars.
Revision
1.1206 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Feb 1 05:07:33 2009 WST (9 months, 3 weeks ago) by
skodak
Branch:
MAIN
Changes since
1.1205: +13 -5 lines
Diff to
previous 1.1205
MDL-17458 upgrade logging implemented + a lot more refactoring + exceptions implemented in install/upgrade code + lang pack cleanup + some more improvements
Revision
1.1198 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jan 6 06:37:21 2009 WST (10 months, 2 weeks ago) by
skodak
Branch:
MAIN
Changes since
1.1197: +24 -161 lines
Diff to
previous 1.1197
MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support
Revision
1.1197 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Jan 3 23:28:03 2009 WST (10 months, 3 weeks ago) by
skodak
Branch:
MAIN
Changes since
1.1196: +7 -7 lines
Diff to
previous 1.1196
MDL-17776 added new define CLI_SCRIPT that identifies all CLI scripts + cron (cli scripts do not have session and do not like HTML in output and are executed from command line, cron is an exception)
Revision
1.1182 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Dec 4 17:53:11 2008 WST (11 months, 3 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1181: +2 -59 lines
Diff to
previous 1.1181
course categories: Fix many bugs with category editing and permissions. Clean up code.
Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.
* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.
Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.
Merged from MOODLE_19_STABLE.
Revision
1.970.2.121 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Dec 4 17:49:48 2008 WST (11 months, 3 weeks ago) by
tjhunt
Branch:
MOODLE_19_STABLE
Changes since
1.970.2.120: +2 -59 lines
Diff to
previous 1.970.2.120
, to
branch point 1.970
course categories: Fix many bugs with category editing and permissions. Clean up code.
Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.
* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.
Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.
Revision
1.1181 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Dec 4 01:31:49 2008 WST (11 months, 3 weeks ago) by
ericmerrill
Branch:
MAIN
Changes since
1.1180: +3 -3 lines
Diff to
previous 1.1180
weblib: MDL-16293: background-color attribute stripped from html. Adding 'background-color' attribute to $ALLOWED_PROTOCOLS array so kses doesn't drop it.
Revision
1.1172 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 20 18:57:21 2008 WST (12 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.1171: +10 -10 lines
Diff to
previous 1.1171
define roles: MDL-16966 etc. polishing the new roles UI following a meeting with Martin.
* Move the show/hide advanced button a bit down the page.
* Improve save button caption when creating a role.
* Don't show defaults on the basic define roles screen.
* Explain the background shading on the advanced roels screen.
* Fix the problem with the risks link to Moodle docs.
* Help icon by the permissions column heading.
* Tables with rotated <th>s, make them vertical-align: bottom.
* Rename explain.php and explainhascapability.php to check.php and explain.php
* Tool tips on the number headers in the explain table.
* Explain table - role names were missing.
* Allow link_to_popup_window to work with full URLs.
Revision
1.1171 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 20 15:59:11 2008 WST (12 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.1170: +37 -26 lines
Diff to
previous 1.1170
quiz editing: MDL-17285 This is Olli Savolainen's new interface for editing quizzes.
This was started and usability tested as a Finnish Summer of Code project, and then Olli did further work on it in his own time to get it in shape for inclusion in Moodle 2.0. I reviewed all the code. There are a number of minor outstanding issues that will be fixed soon. See the subtasks of MDL-17284 for a list.
The goal of these changes is to:
* help teachers new to Moodle, so when they first see the quiz editing page, they don't go "Huh! What on earth am I supposed to do here?"
* help novice Moodle users understand and learn to use some of the more advanced quiz feature;
* but, without slowing down more experienced quiz users.
Naturally, with ambitous goals like that, we won't have managed to satisy everybody, but I think this change is a big step in the right direction.
There is extensive documentation on this project at http://docs.moodle.org/en/Development:Quiz_UI_redesign.
Revision
1.1170 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Nov 18 19:17:27 2008 WST (12 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.1169: +23 -3 lines
Diff to
previous 1.1169
Let any table have rotated text in its headers. Stolen from sam's activity completion report.
Revision
1.1169 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 13 17:41:00 2008 WST (12 months, 1 week ago) by
tjhunt
Branch:
MAIN
Changes since
1.1168: +3 -3 lines
Diff to
previous 1.1168
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
Revision
1.1168 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Nov 5 17:17:32 2008 WST (12 months, 2 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1167: +13 -7 lines
Diff to
previous 1.1167
role overrides: MDL-17070 Improve override roles page to match the recent usability improvements on the assign page.
Including:
MDL-11529 When assigning/overriding roles, the dropdown for switching to another role should have a number in brackets
MDL-16549 Should not be able to edit the permission associated with moodle/site:doanything on any role.
Revision
1.1164 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Nov 3 14:27:10 2008 WST (12 months, 3 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1163: +37 -6 lines
Diff to
previous 1.1163
weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - I forgot the PHP docs before.
Revision
1.1154 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Sep 26 18:49:31 2008 WST (13 months, 4 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1153: +31 -14 lines
Diff to
previous 1.1153
MDL-16706 - eliminate miscellaneous inine JavaScript
This does the quiz (apart from the bloody 'secure' window), the question bank and a couple of others.
Revision
1.1153 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 25 18:07:11 2008 WST (14 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.1152: +43 -9 lines
Diff to
previous 1.1152
MDL-16654 Move javascript used by the emoticons help file from javascript.php to javascript-static.js. Fix it so that it actually works.
Revision
1.1151 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 25 14:29:28 2008 WST (14 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.1150: +18 -17 lines
Diff to
previous 1.1150
MDL-16583 Make require_js accept library names like lib/javascript-static.js without the caller having to fiddle around with $CFG->wwwroot themselves.
Revision
1.1142 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Sep 19 12:51:47 2008 WST (14 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.1141: +34 -2 lines
Diff to
previous 1.1141
New function to make it easy when you just want to call one JavaScript function, so you don't have to worry about constructing the script tag yourself. I did this in the context of MDL-12391, but I think it is generally userful.
Revision
1.1141 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 18 15:34:45 2008 WST (14 months, 1 week ago) by
tjhunt
Branch:
MAIN
Changes since
1.1140: +12 -5 lines
Diff to
previous 1.1140
New option on close_window_button to reload the page that opened this pop-up, as the pop-up is closed. Needed in preparation for MDL-16334.
Revision
1.1137 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Sep 8 15:01:41 2008 WST (14 months, 2 weeks ago) by
tjhunt
Branch:
MAIN
Changes since
1.1136: +27 -4 lines
Diff to
previous 1.1136
MDL-16343 Report showing, for a given capability, how it is set in the definition of each role, and everywhere that it is overridden.
Revision
1.1136 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Sep 2 14:03:37 2008 WST (14 months, 3 weeks ago) by
skodak
Branch:
MAIN
Changes since
1.1135: +9 -10 lines
Diff to
previous 1.1135
MDL-16029 removing recently added support for $extralocation from print_error(), thanks TIm for pointing out this is not the recommended way anymore
Revision
1.1127 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Aug 20 10:52:29 2008 WST (15 months ago) by
dongsheng
Branch:
MAIN
Changes since
1.1126: +3 -3 lines
Diff to
previous 1.1126
MDL-13766
1. Use treeview display files in repository
2. Dymanicly loading file support
3. Upload file in local repository plugin
4. Move file picker to the top level of DOM
5. get original photo format from flickr web service
Revision
1.1123 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 7 11:33:47 2008 WST (15 months, 2 weeks ago) by
dongsheng
Branch:
MAIN
Changes since
1.1122: +9 -3 lines
Diff to
previous 1.1122
MDL-13766
1. Pass context information to repository
TODO
Not sure about the way to get context, hard to find where we are, because print_textarea and moodle may be used in any place in moodle.
2. Change parameter type in ws.php
Revision
1.1120 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Aug 5 13:12:31 2008 WST (15 months, 2 weeks ago) by
dongsheng
Branch:
MAIN
Changes since
1.1119: +7 -2 lines
Diff to
previous 1.1119
MDL-13766
1. Make mulit-filepicker in one page possible
2. fix lang strings
3. use itemid specify a draft file
TODO
itemid should use a better value.
Revision
1.1117 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jul 31 10:51:28 2008 WST (15 months, 3 weeks ago) by
dongsheng
Branch:
MAIN
Changes since
1.1116: +6 -2 lines
Diff to
previous 1.1116
MDL-13766
1. Filepicker component for moodleform
2. Integrate TinyMCE and FilePicker
3. Fix show/hide bug in filepicker
4. Rewrite print_login function for ajax
Revision
1.1115 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 30 14:26:26 2008 WST (15 months, 3 weeks ago) by
scyrma
Branch:
MAIN
Changes since
1.1114: +5 -3 lines
Diff to
previous 1.1114
MDL-14741: use better names for tinymce-specific javascript functions, add function to trigger the save event of tinymce on form save.
Revision
1.1110 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jul 24 23:22:31 2008 WST (16 months ago) by
jamiesensei
Branch:
MAIN
Changes since
1.1109: +19 -8 lines
Diff to
previous 1.1109
MDL-15813 "return params or a param from moodle_url params and param method when no value is passed to method to set url param(s)."
Methods param and params can now be used in the following ways :
$url->params(); // returns params
$url->params($arrayofnewparams);// add params to url params and then returns all the params.
//--
$url->param('id');//returns value of id param.
$url->param('id', 5); set id param to 5.
Revision
1.1096 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jul 3 13:32:34 2008 WST (16 months, 3 weeks ago) by
scyrma
Branch:
MAIN
Changes since
1.1095: +3 -8 lines
Diff to
previous 1.1095
MDL-14741: Using a better way to include javascript files (removed use of
output buffering) and corrected parameters so that the file manager is
linked to the right course again.
Revision
1.1083 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jun 11 16:37:26 2008 WST (17 months, 2 weeks ago) by
scyrma
Branch:
MAIN
Changes since
1.1082: +27 -14 lines
Diff to
previous 1.1082
MDL-14741: Simplifies the activation of the htmleditor. This is a work-in-progress at this stage, but it's an improvement on the current state.
Revision
1.1081 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jun 6 09:49:07 2008 WST (17 months, 2 weeks ago) by
scyrma
Branch:
MAIN
Changes since
1.1080: +14 -13 lines
Diff to
previous 1.1080
MDL-14741 - Make tinymce work with the front page description.
TODO: convert the front page description form so it uses formslib
Revision
1.1076 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu May 22 21:29:19 2008 WST (18 months ago) by
jamiesensei
Branch:
MAIN
Changes since
1.1075: +7 -4 lines
Diff to
previous 1.1075
MDL-14943 "moodle_url : need way to add extra params when outputting params as hidden fields for forms" added new optional param to method hidden_params_out
Revision
1.1075 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed May 21 22:59:33 2008 WST (18 months ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.1074: +24 -14 lines
Diff to
previous 1.1074
MDL-14905 Started on the DDL functional tests. Added an ugly but temporary hack into error() and print_error(), so that they throw an exception instead of dying when UNITTEST is defined.
Revision
1.1073 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri May 16 05:40:01 2008 WST (18 months, 1 week ago) by
skodak
Branch:
MAIN
Changes since
1.1072: +20 -20 lines
Diff to
previous 1.1072
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs
Revision
1.1066 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat May 3 00:11:30 2008 WST (18 months, 3 weeks ago) by
jamiesensei
Branch:
MAIN
Changes since
1.1065: +3 -3 lines
Diff to
previous 1.1065
MDL-14663 "link_to_popup_window displays 'Click here....' as the link text if you pass in 0 as the link text."
Also fixing the problem in link_to_popup_window function. Test for null instead of empty.
Revision
1.1063 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri May 2 10:45:18 2008 WST (18 months, 3 weeks ago) by
jerome
Branch:
MAIN
Changes since
1.1062: +13 -4 lines
Diff to
previous 1.1062
MDL-14439 IE and Opera fire the onchange when ever you move into a dropdwown list with the keyboard - this changes fix the problem. Merged from 19.
Revision
1.1055 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Apr 9 00:10:49 2008 WST (19 months, 2 weeks ago) by
sam_marshall
Branch:
MAIN
Changes since
1.1054: +5 -5 lines
Diff to
previous 1.1054
MDL-14260: Changed print_heading_with_help so that the help button is outside the heading (for accessibility reasons) and changed themes so that this makes no visual difference.
Revision
1.1047 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 20 15:05:45 2008 WST (20 months ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.1046: +5 -5 lines
Diff to
previous 1.1046
MDL-13880 Overridden and excluded grades are now coloured with alternate row colours that override the default alternate row colours (gray). I also fixed the long-standing notice about aggregationposition. See attached patch.
Revision
1.1040 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Feb 27 11:52:28 2008 WST (20 months, 4 weeks ago) by
martinlanghoff
Branch:
MAIN
Changes since
1.1039: +19 -2 lines
Diff to
previous 1.1039
MDL-90 weblib: Introducing mdie() - close sibling of Perl's die()
So that commandline scripts can die with a message and
a nonzero errorcode
Revision
1.1039 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Feb 26 05:39:42 2008 WST (20 months, 4 weeks ago) by
skodak
Branch:
MAIN
Changes since
1.1038: +3 -3 lines
Diff to
previous 1.1038
MDL-13665 HTML editor is loaded as non-secure on the secure "Add new user" form, patch by Steve Bond; merged from MOOODLE_19_SATBLE
Revision
1.1037 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Feb 25 20:58:12 2008 WST (21 months ago) by
poltawski
Branch:
MAIN
Changes since
1.1036: +1 -1 lines
Diff to
previous 1.1036
MDL-9667 - convert_tree_to_html doesn't set css class properly if
$tab->linkedwhenselected is set
Patch from Jeff Graham
merged from MOODLE_19_STABLE
Revision
1.1034 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Feb 16 01:40:45 2008 WST (21 months, 1 week ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.1033: +3 -3 lines
Diff to
previous 1.1033
MDL-13459 Didn't use the patch, which puts its finger in too many pies. Instead just implemented a quick-fix, a temporary get_assignable_for_switchrole() function. It only affects the switchroles menu. Merging from MOODLE_19_STABLE
Revision
1.1031 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Feb 1 23:10:50 2008 WST (21 months, 3 weeks ago) by
skodak
Branch:
MAIN
Changes since
1.1030: +12 -12 lines
Diff to
previous 1.1030
MDL-12945 changing get_fast_modinfo() section property to sectionnum to prevent conflicts with real cm->section; full recent activity speedup when printing user pictures in forum; merged from MOODLE_19_STABLE
Revision
1.1029 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jan 25 05:33:51 2008 WST (22 months ago) by
skodak
Branch:
MAIN
Changes since
1.1028: +76 -89 lines
Diff to
previous 1.1028
MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE
Revision
1.970.2.48 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jan 14 05:02:54 2008 WST (22 months, 1 week ago) by
urs_hunkler
Branch:
MOODLE_19_STABLE
Changes since
1.970.2.47: +52 -2 lines
Diff to
previous 1.970.2.47
, to
branch point 1.970
MDL-12974 :: We urgently need a simple wrapper function to avoid the advanced containers when only a wrapper div is needed. Pages like for example the tags page look awful in custom_corners with all those unesessarily overlapping boxes.
I created the function print_simplewrapper_start($classes='generalbox', $idname='', $return=false) { ... } and used it in tag/indec.php and tag/lib.php.
The pages look much better now in custom_corners.
Revision
1.1023 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jan 13 17:30:39 2008 WST (22 months, 1 week ago) by
jamiesensei
Branch:
MAIN
Changes since
1.1022: +64 -64 lines
Diff to
previous 1.1022
whitespace clean up, removed all indentation with tabs and trailing white space
Revision
1.1021 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jan 11 18:29:53 2008 WST (22 months, 2 weeks ago) by
urs_hunkler
Branch:
MAIN
Changes since
1.1020: +2 -7 lines
Diff to
previous 1.1020
merged from 1.9 :: MDL-12221 :: removed the "nocoursepage" hack, which was an attempt to find out if a page has a layout-table. I developed this hack because Martin said, that he does not see any chance to implement a layout-table check. This hack followed several exception hacks because Moodel pages are inconsistently created. All those exceptions I could delete too.
Now I added a JavaScript layout-table check which works great.
Revision
1.970.2.45 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jan 11 18:21:24 2008 WST (22 months, 2 weeks ago) by
urs_hunkler
Branch:
MOODLE_19_STABLE
Changes since
1.970.2.44: +2 -7 lines
Diff to
previous 1.970.2.44
, to
branch point 1.970
MDL-12221 :: removed the "nocoursepage" hack, which was an attempt to find out if a page has a layout-table. I developed this hack because Martin said, that he does not see any chance to implement a layout-table check. This hack followed several exception hacks because Moodel pages are inconsistently created. All those exceptions I could delete too.
Now I added a JavaScript layout-table check which works great.
Revision
1.1020 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jan 10 08:15:45 2008 WST (22 months, 2 weeks ago) by
mjollnir_
Branch:
MAIN
Changes since
1.1019: +4 -4 lines
Diff to
previous 1.1019
MDL-12894 Fixing language string mess (language packs containing \n) & moved them to the controllers,
also fixed a few typos and a || instead of && bug. This all relates to the CLI installer.
Revision
1.1019 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jan 10 00:52:08 2008 WST (22 months, 2 weeks ago) by
urs_hunkler
Branch:
MAIN
Changes since
1.1018: +10 -3 lines
Diff to
previous 1.1018
Merged from 1.9 and checked :: MDL-12221 :: I added changes to weblib and the forum and glossary view pages, the custom_corners and standard theme to get those pages working.
In the view pages I changed the container function call to a simple "echo 'div ...'" to avoid the custom_corners container overhead and page oddity.
In weblib I added "clearfix" handling to the function "print_box_start($classes ...". "clearfix" is handed over to the containing divs. This is a hack, but I didn't know how to handle it without rewriting too much areas.
Revision
1.970.2.44 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jan 10 00:03:31 2008 WST (22 months, 2 weeks ago) by
urs_hunkler
Branch:
MOODLE_19_STABLE
Changes since
1.970.2.43: +10 -3 lines
Diff to
previous 1.970.2.43
, to
branch point 1.970
MDL-12221 :: I added changes to weblib and the forum and glossary view pages, the custom_corners and standard theme to get those pages working.
In the view pages I changed the container function call to a simple "echo 'div ...'" to avoid the custom_corners container overhead and page oddity.
In weblib I added "clearfix" handling to the function "print_box_start($classes ...". "clearfix" is handed over to the containing divs. This is a hack, but I didn't know how to handle it without rewriting too much areas.
Revision
1.1018 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jan 7 10:54:29 2008 WST (22 months, 2 weeks ago) by
mjollnir_
Branch:
MAIN
Changes since
1.1017: +39 -3 lines
Diff to
previous 1.1017
New feature: Command line installer. Credit: Dilan Anurudda.
This was a Google Summer of Code 2007 Project.
This introduces two new files, admin/cliupgrader.php and lib/installlib.php.
It also introduces a new PEAR library, Console_GetOpt. I have recieved permission from the upstream author to include this in GPL Moodle (essentially dual license it) - notes in lib/pear.
Most stuff that outputs html during install gets suppressed by the use of a constant.
Run the script like php admin/cliupgrade.php --help for info.
Note that this all uses strings from install/ rather than lang, so I have updated stringnames.txt accordingly and they'll all be broken until the cronjob that generates them runs.
Revision
1.1015 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jan 2 00:51:54 2008 WST (22 months, 3 weeks ago) by
skodak
Branch:
MAIN
Changes since
1.1014: +13 -4 lines
Diff to
previous 1.1014
MDL-12790 highlighting in admin search results breaks html
MDL-12791 add defaults parameter to format_admin_setting()
MDL-12792 search in admin settings and defaults
+ minor speedup of fast highlighting and fixed empty span tags
merged from MOODLE_19_STABLE
Revision
1.1014 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Dec 30 00:38:14 2007 WST (22 months, 3 weeks ago) by
poltawski
Branch:
MAIN
Changes since
1.1013: +4 -4 lines
Diff to
previous 1.1013
MDL-7242 eliminate last use of location to refer to city in profile where
it causes problems for translators
merged from MOODLE_19_STABLE
Revision
1.1013 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Dec 25 19:04:00 2007 WST (23 months ago) by
skodak
Branch:
MAIN
Changes since
1.1012: +19 -5 lines
Diff to
previous 1.1012
MDL-11561 improved text filter cache resetting when settings change; fixed bug causing fatal errors if html purifier enabled during upgrade; merged from MOODLE_19_STABLE
Revision
1.1011 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Dec 21 20:12:43 2007 WST (23 months ago) by
nfreear
Branch:
MAIN
Changes since
1.1010: +4 -4 lines
Diff to
previous 1.1010
MDL-7493 further fix: strip_tags from title strings because the titles may have HTML in them.
-From Martin D/moodler in moodleblock.class.php - thanks.
Revision
1.1008 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Dec 19 02:18:19 2007 WST (23 months, 1 week ago) by
nfreear
Branch:
MAIN
Changes since
1.1007: +10 -8 lines
Diff to
previous 1.1007
Fixes reopened MDL-7493 "Make sure standard themes are visible under "Windows High Contrast Black" mode" - foreground show/hide block icon/ALT text switched with Javscript.
Revision
1.1004 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Dec 16 03:42:49 2007 WST (23 months, 1 week ago) by
poltawski
Branch:
MAIN
Changes since
1.1003: +10 -3 lines
Diff to
previous 1.1003
Improving phpdocs for when to use format_string()/format_text() based on
wiki comments. It wasn't an entirely clear (e.g. mixup in MDL-11800)
Merged from MOODLE_19_STABLE
Revision
1.1002 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Dec 15 06:22:38 2007 WST (23 months, 1 week ago) by
skodak
Branch:
MAIN
Changes since
1.1001: +89 -39 lines
Diff to
previous 1.1001
MDL-12221 reworked container autoclosing - error() and notice() do not work everywhere though; notice print header if needed now; new print_footer('empty') for empty footer - removes some hacky </body></html> - merged from MOODLE_19_STABLE