samhemelryk
de6d81e667
admin MDL-19799 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants
2009-09-03 06:59:25 +00:00
samhemelryk
b3b3eaced7
navigation MDL-14632 Fixed simpletests after the different tweaking that has gone on
2009-08-31 04:07:51 +00:00
samhemelryk
7d2a049292
navigation MDL-14632 Very significant navigation commit
...
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
skodak
622365d2e1
MDL-20169 fixed coding style, parameter type required
2009-08-27 18:37:53 +00:00
nicolasconnault
642816a60c
MDL-19799 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno
2009-08-20 08:50:50 +00:00
nicolasconnault
7755599dfe
MDL-19756 Added new output files to code coverage arrays
2009-08-20 03:03:51 +00:00
nicolasconnault
aa9a686740
MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 05:20:12 +00:00
nicolasconnault
7b1f2c829f
MDL-19756 Renamed moodle_select to html_select for better API consistency
2009-08-10 08:38:45 +00:00
nicolasconnault
beb56299ec
MDL-19786 Renamed user_picture and action_icon component classes to moodle_user_picture and moodle_action_icon. Also moved around the classes in a more logical order in outputcomponents.php
2009-08-10 06:37:29 +00:00
nicolasconnault
94056d9dbe
MDL-19756 Renamed help_icon class to moodle_help_icon
2009-08-10 06:26:50 +00:00
nicolasconnault
827b2f7a66
MDL-9644 Added a compare() method to moodle_url
2009-08-10 03:04:01 +00:00
nicolasconnault
7e0d66753e
MDL-19799 Converted all print_footer() calls
2009-08-06 14:21:34 +00:00
nicolasconnault
3c15938527
MDL-19799 Migrated calls to print_heading
2009-08-06 08:19:21 +00:00
nicolasconnault
e1cc88403a
MDL-19756 Migrated print_heading_with_help
2009-08-04 15:15:11 +00:00
nicolasconnault
49c8c8d27e
MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions.
2009-08-04 02:05:32 +00:00
nicolasconnault
2c78f462ed
MDL-19756 MDL-19973 Fixed support of url by user_picture, and improved API for adding a popup action (set $userpic->popup = true)
2009-07-31 02:39:38 +00:00
nicolasconnault
496908435e
MDL-19756 Migrated popup_form
2009-07-30 03:47:12 +00:00
mudrd8mz
7dc928b5ff
MDL-19956 $PAGE->set_url(...) accepts already prepared instance of moodle_url
2009-07-29 16:05:36 +00:00
nicolasconnault
4c53f626bd
MDL-19840 Fixed detection of empty attributes
2009-07-29 01:23:47 +00:00
nicolasconnault
55536d8453
MDL-19756 Updated unit tests
2009-07-29 01:13:04 +00:00
nicolasconnault
051bf8c7f3
MDL-19756 Changed html_button->label to html_button->text
2009-07-29 01:10:30 +00:00
nicolasconnault
8e127eb38e
MDL-19756 Migrating choose_from_menu to outputlib
2009-07-28 02:45:13 +00:00
poltawski
926987ab5e
lib/simplepie: Improve Integration MDL-7946, MDL-13932
...
Added more unit tests, improved style and fixed:
- Failed behaviour of redirects
- Incorrect behaviour on feed retrival failure
- Ensured rss cache clear for unit test setup
2009-07-27 14:18:01 +00:00
nicolasconnault
f8065dd287
MDL-19756 Migrated the following functions from weblib to outputlib:
...
1. button_to_popup_window
2. link_to_popup_window
3. print_single_button
4. print_spacer
5. print_file_picture (deprecated)
6. print_user_picture
7. print_png (deprecated)
8. helpbutton
9. doclink
10. print_paging_bar
11. notice_yesno
2009-07-27 10:33:00 +00:00
nicolasconnault
6a92312848
MDL-19840 Upgraded code of HTML-parsing assertions
2009-07-22 04:21:13 +00:00
mudrd8mz
65b6adb150
MDL-19877 fix: diplay used font family of the test page
2009-07-20 18:28:24 +00:00
mudrd8mz
0a39261b8e
MDL-19877 adding a script producing a test PDF
2009-07-20 17:32:44 +00:00
tjhunt
1c5648f169
todochecker: don't match variables called $todo or fields called ->todo.
2009-07-17 07:40:54 +00:00
tjhunt
6180cdc97a
todochecker: Match todo case-insensitively :-( that finds a lot more.
2009-07-17 07:26:12 +00:00
tjhunt
05280d5f97
todochecker: bug summary in tool tip.
2009-07-17 07:19:43 +00:00
tjhunt
a89d8e0709
todochecker script: skip third party code.
2009-07-17 05:56:49 +00:00
tjhunt
1d13c75c15
blocks editing ui: MDL-19398 Can how precisely control block positioning using the edit icon
...
This mostly works now, but ...
* The UI needs further work. In particular we need a non-advanced mode.
* This only works for blocks that use a new edit_form.php to replace config_instance.html.
* .. and so far I have only implemented edit_form.php for the HTML block so far.
* Needs to be enabled (with no block-specific config) for blocks without instance config, so you can control their positioning.
2009-07-16 10:50:19 +00:00
nicolasconnault
5daf5d3589
MDL-19840 Fixed a bug in regex delimiter quoting
2009-07-16 03:21:19 +00:00
tjhunt
4bea5e8582
moodlellib: MDL-19828 PARAM_LOCALURL should accept URLs like course/view.php?id=2
2009-07-15 06:17:39 +00:00
tjhunt
485e46611a
Fix block manager unit tests.
2009-07-14 04:18:58 +00:00
tjhunt
aa2e96e9ce
developer tools MDL-19772: Script to list all todos in code
...
And make sure they link to an open tracker issue as per
http://docs.moodle.org/en/Development:Coding_style#TODO_comments_must_link_to_a_tracker_issue
2009-07-13 04:27:05 +00:00
mudrd8mz
897b5c820b
MDL-19731 get_renderer() accepts optional subtype
...
The initial patch has been reviewed at the issue page. This commit also
fixes template_renderer_factory::get_renderer() and sets up folders for
subtypes there.
2009-07-08 09:37:06 +00:00
tjhunt
ebebf55cad
output: MDL-19690 icon_finder classes and $OUTPUT->mod/old_icon_url
...
This is ready to replace $CFG->pixpath and $CFG->modpixpath soon.
2009-07-02 08:49:25 +00:00
tjhunt
db8d89d822
MDL-19077 I just found a way to reduce the coupling between the classes.
2009-07-02 07:06:25 +00:00
tjhunt
b2104e9799
Fix typo
2009-06-30 12:29:14 +00:00
tjhunt
c84a2dbea2
MDL-19077 - change how $OUTPUT is initialised.
...
Please read the comment at the top of bootstrap_renderer in setuplib.php
2009-06-29 05:00:45 +00:00
stronk7
081a63a9eb
MDL-19579 code coverage - add more initial $includecoverage attributes
2009-06-26 17:49:15 +00:00
tjhunt
82bba20e55
themes: MDL-19077 fix unit test regression
2009-06-26 10:26:31 +00:00
tjhunt
34a2777ccb
themes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer.
...
Also, part of the change from weblib.php functions to $OUTPUT-> methods.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F
This is a big change, and the result is not perfect yet. Expect some debugging output
on some pages.
The main part of these changes are that $OUTPUT->header now looks for a file
in the theme called layout.php, rather than header.html and footer.html. Also
you can have special templates for certain pages like layout-home.php. There is
fallback code for Moodle 1.9 themes, so they still work.
A few of the old arguments to print_header are no longer supported. (You get an
exception if you try to use them.) Sam H will be cleaning those up.
All the weblib functions that have been replaced with $OUTPUT-> have version in
deprecatedlib, so existing code will go on working for the foreseeable future.
2009-06-26 09:06:16 +00:00
tjhunt
88b02e3b22
Remove experimental part of string_manger. Also, improve class comment.
2009-06-25 04:02:36 +00:00
tjhunt
8954245a1b
themes: MDL-19077 start implementing moodle_core_renderer
...
Only a couple of methods implemented. Please review the API and
tell me if you are not happy with the direction I am taking.
2009-06-23 10:41:22 +00:00
stronk7
db3a1eb8fd
MDL-19579 code coverage - prepare ddl & moodlelib tests to support code coverage
2009-06-23 09:30:59 +00:00
tjhunt
73af8b1139
Fix notice in blockmanager unit tests.
2009-06-22 07:26:50 +00:00
tjhunt
8e8b806600
Fix some problems with the filelib unit tests, and stop hiding the true cause of another failure.
2009-06-22 07:17:59 +00:00
tjhunt
b44b6c4599
Fix accesslib unit tests.
2009-06-22 07:16:26 +00:00