Commit graph

1574 commits

Author SHA1 Message Date
Eloy Lafuente
2b2acf7563 MDL-21168 - Support encoded chars in query part of URL. Done in review day, but it's tested, grrr. Merged from 19_STABLE 2010-01-12 13:40:56 +00:00
Eloy Lafuente
4275973318 MDL-21168 avoid http://www.whatever to be linked twice ; merged from 19_STABLE 2010-01-08 22:18:42 +00:00
Eloy Lafuente
bd9255c528 MDL-21168 convert_urls_into_links() - changed solution to avoid linking
inside <img> tags by negative look-behind assertion of =" string ; merged from 19_STABLE
2010-01-08 17:20:56 +00:00
Rossiani Wijaya
851481dcef MDL-20949 printing out password policy requirements on signup, change password and edit user profile. 2010-01-06 06:49:16 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
Petr Skoda
8ae8bf8a14 MDL-21198 OUTPUT->action_icon improvements, refactoring and fixing conversion regressions 2010-01-02 13:17:54 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
244a32c617 MDL-21119 lang menu and login info now handled by themes 2009-12-29 17:26:29 +00:00
Andrew Davis
c013b31695 weblib MDL-21168 improved convert_urls_into_links 2009-12-24 06:44:51 +00:00
Petr Skoda
f6794ace8b MDL-21125 obsoleting global $THEME 2009-12-23 18:05:58 +00:00
Petr Skoda
92e01ab771 MDL-21125 obsoleting global $THEME 2009-12-23 17:44:17 +00:00
David Mudrak
0ea95ddcb7 MDL-21178 formslib element modgrade does not use deprecated link_to_popup_window() for help icon 2009-12-23 16:54:39 +00:00
Sam Hemelryk
d8ae33a95c question MDL-21169 removed update_module_button calls from question these are now added by the module extending the navigation if there is a module specified for question pages.
Also fixed bug in moodle_url object coding_error to coding_exception
2009-12-23 02:45:22 +00:00
Petr Skoda
e14f806088 MDL-20204 fixed silly bug in my previous commit 2009-12-20 21:50:15 +00:00
Andrew Davis
53ad47f22b weblib MDL-20826 made convert_urls_into_links() produce xhtml compliant links 2009-12-18 04:13:35 +00:00
jerome mouneyrac
995ea2fcc5 theme MDL-20204 print_collapsible_region didn't print arrow icons anymore. Kudos to Sam H. 2009-12-17 08:05:54 +00:00
Andrew Davis
9c7a301b4d weblib MDL-20826 improved convert_urls_into_links() 2009-12-17 07:52:56 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
cb1e046d6e MDL-20792 renamed moodle_progress_trace to progress_trace too - the general consensus is to not use moodle everywhere 2009-12-16 21:35:58 +00:00
Petr Skoda
2b3fcef98d MDL-21142 moodle_url improvements:
1/ new __toString()
2/ strict method parameters checking, this should help discover wrong uses
3/ new remove_all_params() which prevents problems when using remove_params()
2009-12-16 21:31:47 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +00:00
Petr Skoda
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Sam Hemelryk
c2a0b3adaa weblib MDL-17550 Added code to convert arrows set in themes from entities to UTF8 chars 2009-12-11 02:19:12 +00:00
Sam Hemelryk
8b7463e766 weblib MDL-17550 Added code to convert arrows set in themes from entities to UTF8 chars 2009-12-11 02:05:39 +00:00
Sam Hemelryk
c23c90093e mod-forum MDL-17550 Converted subscribers.php to use the new user_selector control
At the same time I also converted weblib.php::check_theme_arrows to use UTF8 arrows rather than entities.
2009-12-10 02:11:28 +00:00
Petr Skoda
7e4763ef61 MDL-21026 improved entity handling 2009-12-02 21:08:45 +00:00
Andrew Davis
b075eb8e61 user profiles MDL-16213 prevent ul tags in user profiles leading to invalid xhtml 2009-11-27 02:15:09 +00:00
Andrew Davis
6959330979 all MDL-20821 Removed more deprecated functions 2009-11-18 06:05:10 +00:00
Andrew Davis
2871c45070 weblib MDL-19196 Added guard around call to error_get_last to prevent error if running old php 2009-11-18 00:57:05 +00:00
Petr Skoda
2e9b772fb8 MDL-20693 new NO_DEBUG_DISPLAY define 2009-10-31 22:02:05 +00:00
Sam Hemelryk
13b0b27172 moodle_url MDL-20674 Added a method to allow the dev to set the anchor attribute of a moodle_url 2009-10-30 06:20:59 +00:00
moodler
8449364cfa redirect MDL-20546 Set page type to embedded to avoid ever printing header/blocks/footer on redirects 2009-10-13 06:45:38 +00:00
samhemelryk
1d89818236 navigation MDL-20395 Fixed regression created earlier 2009-10-01 04:16:22 +00:00
samhemelryk
c705a24eb2 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
2009-10-01 02:31:42 +00:00
tjhunt
477082146b 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.
2009-09-30 18:13:27 +00:00
tjhunt
4f19b365b8 unit tests: MDL-20398 spurious exceptions when $CFG->debugdisplay is false 2009-09-30 18:06:45 +00:00
samhemelryk
1a198dde7d core MDL-19791 Replaced deprecated functions, added set_url calls 2009-09-25 06:17:38 +00:00
samhemelryk
bf6c37c786 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
2009-09-23 06:05:36 +00:00
dongsheng
fd4faf98fe "MDL-14706, move javascript code to javascript-static.js" 2009-09-18 03:50:46 +00:00
samhemelryk
36c3a49955 weblib MDL-20276 Reverted fix to deal with relative URLs 2009-09-16 09:17:25 +00:00
samhemelryk
b0f4e4e442 questions MDL-20276 Fixed minor issue with URL handling within the paging bar for the question bank 2009-09-16 02:43:58 +00:00
samhemelryk
47a1aa45a8 core MDL-19786 Deprecated print_header_simple function - now use PAGE and OUTPUT methods 2009-09-08 02:41:51 +00:00
samhemelryk
de6d81e667 admin MDL-19799 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 06:59:25 +00:00
samhemelryk
7d2a049292 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
2009-08-28 08:47:31 +00:00
nicolasconnault
3bd6b994fc MDL-19799 Upgraded calls to link_to_popup_window() 2009-08-20 13:18:08 +00:00
nicolasconnault
642816a60c MDL-19799 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:50:50 +00:00
nicolasconnault
aa9a686740 MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:20:12 +00:00
nicolasconnault
54b1669246 MDL-19799 Upgraded calls to choose_from_menu 2009-08-18 00:18:19 +00:00
nicolasconnault
7a5c78e049 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()
2009-08-13 01:15:58 +00:00