Commit graph

191 commits

Author SHA1 Message Date
Petr Skoda
c80877aa0e MDL-20204 fixed recent regressions + improved action handling - sorrrry 2010-02-11 15:44:06 +00:00
Petr Skoda
000c278cff MDL-20204 new pix_icon renderable widget 2010-02-11 14:59:00 +00:00
Petr Skoda
821e29ee19 MDL-20204 more cleanup 2010-02-11 10:39:22 +00:00
Petr Skoda
4ed857901a MDL-20204 fianl cleanup - removing obsolete renderer stuff 2010-02-11 10:32:39 +00:00
Petr Skoda
f83b9b63ae MDL-20204 legacy time selects converted, please note we should always use mforms if possible 2010-02-10 14:27:03 +00:00
Petr Skoda
78bdac6449 MDL-20204 converting yes_no selects 2010-02-10 14:05:07 +00:00
Petr Skoda
81aba78d05 MDL-20204 all popup forms converted 2010-02-10 12:00:18 +00:00
Petr Skoda
f1a3e072fa MDL-20204 using url_select 2010-02-10 10:55:51 +00:00
Petr Skoda
4d10e57985 MDL-20204 new url_select widget 2010-02-10 10:22:25 +00:00
Petr Skoda
f8dab96615 MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00
Petr Skoda
2f0e96e447 MDL-20204 one more step away from html_select 2010-02-09 18:54:03 +00:00
Petr Skoda
538684258a MDL-20204 new html_writer::checkbox fixed 2010-02-09 18:16:14 +00:00
Petr Skoda
14dce022db MDL-20204 new html_writer::checkbox 2010-02-09 18:04:16 +00:00
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