Commit Graph

112 Commits

Author SHA1 Message Date
Petr Skoda 53a78cef28 MDL-21695 help files replaced by standard strings - basic infrastructure in place, no strings converted yet 2010-04-10 09:10:08 +00:00
David Mudrak 0648ead4d4 MDL-21652 removed html_table property 'style'
I copied this initially from the legacy html_component during the refactoring and forgot to check
if it is actually used. Credit goes to Sam H. for spotting it.
2010-03-22 08:16:30 +00:00
David Mudrak e126c0ccee MDL-21652 Fixed forgotten <th> scope handling 2010-03-21 10:28:52 +00:00
David Mudrak 16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
David Mudrak 67da0bf73e MDL-20204 fixed typo in variable name 2010-03-18 18:33:40 +00:00
Petr Skoda f3afba4e19 MDL-21851 adding idalias to user_picture::fields() 2010-03-18 07:41:57 +00:00
Sam Hemelryk b0fef57b1b output MDL-20204 Fixed regression action link wasn't making use of attributes argument 2010-02-24 06:11:45 +00:00
David Mudrak 19f3bbb265 MDL-20204 fixing typo and missing static method identifier 2010-02-19 13:10:15 +00:00
Petr Skoda 26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
Petr Skoda 8cea545e0b MDL-20204 started refactoring of html_table + more cleanup 2010-02-17 19:33:24 +00:00
Petr Skoda dd72b308ed MDL-20204 blocks rendering does not depend on html_component any more 2010-02-17 18:36:26 +00:00
Petr Skoda 5be262b66f MDL-20204 converting html_list 2010-02-17 17:56:26 +00:00
Petr Skoda 4ee753eb83 MDL-20204 converting html_span to html_writer 2010-02-17 17:17:45 +00:00
Petr Skoda 929d7a8362 MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits 2010-02-17 16:59:41 +00:00
Sam Hemelryk abdac127cf outputcompontent MDL-20204 Regression, corrected broken conversions to html_writer::link 2010-02-17 03:53:28 +00:00
Petr Skoda 85fc9c87c8 removed html_label 2010-02-16 17:36:03 +00:00
Petr Skoda f7065efe1e MDL-20204 removed labelled_html_component 2010-02-16 17:35:26 +00:00
Petr Skoda ce0110bf95 MDL-20204 replaced html_button 2010-02-16 17:33:13 +00:00
Petr Skoda 0029a91734 MDL-20204 replaced html_icon with pix_icon handling 2010-02-16 17:31:35 +00:00
Petr Skoda 56ddb719e9 MDL-20204 finaly replaced all html_link uses 2010-02-16 17:23:49 +00:00
Petr Skoda c63923bddb MDL-20204 converted action_icon 2010-02-16 16:24:49 +00:00
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