Commit Graph

67 Commits

Author SHA1 Message Date
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
mudrd8mz f43cdceb75 MDL-20278 moodle_paging_bar - no link for the current page number 2009-09-14 07:26:54 +00:00
mudrd8mz 0c868b08a0 MDL-20268 Significant performance improvement of generate_id()
Using the PHP's built-in generator instead of the current
implementation. See the issue description more details.
2009-09-11 19:54:11 +00:00
nicolasconnault 284943fcd0 MDL-19756 Added $disabled value to html_link, which will be true if the link's URL compares with the $PAGE->url (order of params doesn't matter). A disabled link will render as italicised text by default. 2009-09-09 03:52:49 +00:00
nicolasconnault a0ead5eb81 MDL-19756 Added $disabled value to html_link, which will be true if the link's URL compares with the $PAGE->url (order of params doesn't matter). A disabled link will render as italicised text by default. 2009-09-09 03:28:26 +00:00
mudrd8mz eeecf5a704 Fixing an incorrect concatenate of CSS classes arrays
array + array does not add new items if their numeric keys are the same. This
lead to the bug that add_classes() did not work correctly.
2009-09-04 21:53:24 +00:00
nicolasconnault cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
nicolasconnault 5fc6d585ad MDL-20203 Added support for disabled attribute for inputs and select options 2009-09-03 23:35:43 +00:00
nicolasconnault a4998d019a MDL-19756 Enabled use of <td> in table headers, and added support for disabled attribute for checkboxes and select options 2009-09-03 23:31:49 +00:00
nicolasconnault a019627a1a MDL-19756 Fixed bug in output of fields with a label 2009-08-28 11:38:33 +00:00
nicolasconnault 319770d747 MDL-19797 Upgraded most output code in grader report 2009-08-28 05:29:05 +00:00
nicolasconnault 5529f787bd MDL-19797 Added callback support to the confirm_dialog function, and to the add_confirm_action() method 2009-08-27 10:12:44 +00:00