Petr Skoda
b9bc201962
MDL-21233 escaped parameter is far more importatnt than the overrideparams in out() method - especially all JS urls should be converted to out(false); also it is possible to create new url with overrided parameters in constructor which might be actually work around the double encoding problems in the url (we should never use the out() in moodle_url constructor itself!)
2010-01-17 09:50:55 +00:00
Petr Skoda
eb7880654f
MDL-21233 finally removed the omitquerystring parameters from the out method because: 1/ the least used parameter should nto be first, 2/ it is colliding with the other two paramters, now we have separate funtion for that instead
2010-01-17 09:37:30 +00:00
Petr Skoda
340d461269
MDL-21233 simplifying moodle_url->out() api
2010-01-17 09:18:11 +00:00
Petr Skoda
a4a04ada39
MDL-21233 removing sloppy out_returnurl() from public api, it is considered a bad practise to pass around urls through page parameters, sorry
2010-01-17 09:13:36 +00:00
Petr Skoda
6ea66ff36c
MDL-21233 obviously input tag writing does not belong into the moodle_url class, moving to html_writer instead + simplifying api
2010-01-17 09:06:55 +00:00
Petr Skoda
d776d59ee2
MDL-21235 fixed select method name
2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b
MDL-21235 more conversion to new select
2010-01-16 18:25:51 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
David Mudrak
3bf11ca479
MDL-21346 fixed various print_password_policy() issues, merged from 1.9
2010-01-14 20:53:06 +00:00
Andrew Davis
ef29cb5a15
weblib MDL-21296 added a comment about convert_urls_into_links() causing timeouts
2010-01-13 02:19:21 +00:00
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