Commit graph

228 commits

Author SHA1 Message Date
Petr Skoda
a9967cf5a5 MDL-20204 new single_select + cleanup 2010-02-09 17:39:13 +00:00
Petr Skoda
916276fc0a MDL-20204 more outputlib changes towards separate html_writer 2010-02-07 20:12:31 +00:00
Petr Skoda
20fb563e97 MDL-21400 JS confirm dialog converted to YUI3/2 2010-02-06 17:35:11 +00:00
Sam Hemelryk
53fc3e7040 javascript MDL-21503 Removed use of the global Y from dock, navigation and calendar
Also included in this patch the ability to switch the dock from the left to right side of the screen.
Altered js_object_init to deliver Y like js_init_call does now.
Several minor tweaks made to the dock and navigation as well at the same time.
2010-02-05 06:36:09 +00:00
Petr Skoda
aa2dea707f MDL-20204 minor improvement 2010-02-03 16:49:40 +00:00
Petr Skoda
97c100999a MDL-20204 removed problematic HTML_ATTR_EMPTY, simply use null instead + removed incorrect trimming of values (yes, leading/trailing spaces are sometimes valid attribute values too!) 2010-02-03 16:27:52 +00:00
Petr Skoda
1b4e41af17 MDL-21400 fixe null param in js funcion call 2010-01-24 19:34:44 +00:00
Petr Skoda
3b01539ccc MDL-21400 global Y revisited, I really think it is better to pass it around properly, this could help a lot in future if we have multiple versions of YUI installed; reverted js_function_call() and added new js_init_call() instead which should be hopefully easier to use and in theory could replace all other $PAGE->requires->js_*; finished implemenetation of js_module() 2010-01-23 17:08:18 +00:00
Petr Skoda
e50b4c8972 MDL-21420 refactoring towards global M 2010-01-21 20:55:58 +00:00
Sam Hemelryk
1ce15fdac8 navigation MDL-21366 Converted dock and navigation to YUI3 modules and added some supporting structures to outputcomponents and ajaxlib 2010-01-21 08:38:50 +00:00
Petr Skoda
227255b802 MDL-21402 new js_writer abstraction + otehr minor improvements 2010-01-20 20:01:24 +00:00
Petr Skoda
77774f6a83 MDL-21240 move script tag generation into html_writer + improving api a bit 2010-01-18 20:17:43 +00:00
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
bde156b3fa MDL-21233 obviously input tag writing does not belong into the moodle_url class, moving to html_writer instead + simplifying api / regression fixed 2010-01-17 09:08:34 +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
6770330d17 MDL-21235 support for optgroups in select 2010-01-16 19:48:01 +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
3750c3bdb4 MDL-21235 input select improved BC 2010-01-16 17:39:50 +00:00
Petr Skoda
3ff163c597 MDL-21235 html_writer now supports select form elements 2010-01-16 17:00:22 +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
Petr Skoda
f14b641b91 MDL-21235 new action_link fixed 2010-01-15 09:01:59 +00:00
Petr Skoda
11820bacc1 MDL-21235 minor docs fixes 2010-01-14 22:51:10 +00:00
Petr Skoda
574fbea453 MDL-21235 new action_link 2010-01-14 22:40:33 +00:00
Petr Skoda
0f4c64b79f MDL-21235 new link method in html_write, partinally replaces old html_link, going to add new action_link soon 2010-01-14 22:10:20 +00:00
Petr Skoda
3ba60ee16a MDL-21235 new single button rendering 2010-01-14 19:18:04 +00:00
Petr Skoda
bf11293a94 MDL-21235 converted help cions to final render outputlib api 2010-01-13 18:50:28 +00:00
Petr Skoda
5d0c95a5ac MDL-21235 towards the final outputlib api - implementing separate html writer and implementing new render() method 2010-01-13 17:13:52 +00:00
Petr Skoda
5acf9cd3ab MDL-21231 fixed recent regression, thanks penny for the report 2010-01-03 21:10:49 +00:00
Petr Skoda
26eab8d4f5 MDL-21198 new simple_button output component, this could finally solve potential "form x button" confusion - continued 2010-01-03 17:20:49 +00:00
Petr Skoda
d894edd44d MDL-21198 new simple_button output component, this could finally solve potential "form x button" confusion 2010-01-03 17:08:21 +00:00
Petr Skoda
3cd5305f11 MDL-21198 towards origianl single_button() syntax + other improvements 2010-01-03 10:28:29 +00:00
Petr Skoda
52368876a4 MDL-21198 minor cleanup and improvements 2010-01-02 13:57:44 +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
b52706307c MDL-21198 $OUTPUT->icon() improvements 2009-12-31 10:06:56 +00:00
Petr Skoda
1aa64b25a4 MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:59 +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
Petr Skoda
5d77fc1d2b MDL-21198 improved html_link api, added missing style attribute; marked some potential problems with TODOs 2009-12-28 19:40:07 +00:00
Petr Skoda
8fa16366d6 MDL-21198 make factory methods ahve to be static; adding "real" construtors for components; fixed regression in detection of missing image alt text in actions; api improvements; plus some other fixes 2009-12-28 10:43:01 +00:00
Petr Skoda
1ba862ec6e MDL-21198 going back to the original spacer syntax, image component improvements, plus some regression fixes 2009-12-27 23:31:46 +00:00
Petr Skoda
6dd7d7f0bc MDL-21198 removing "Moodle_" prefix from html_component 2009-12-27 19:50:15 +00:00
Petr Skoda
812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +00:00
Petr Skoda
3405956553 MDL-21197 output components do not use globals any more in prepare() methods 2009-12-27 12:58:29 +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
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
c7e4c7b785 outputcomponents MDL-21020 Fixed error if html_select_option text = 0 2009-12-02 07:41:01 +00:00
Sam Marshall
41ff27d0cc MDL-20498 User pictures should not have 'generic' alt text 2009-11-30 16:55:03 +00:00
nicolasconnault
ac06c0a371 MDL-19756 Fixed link to help.php 2009-09-16 09:29:37 +00:00