Commit graph

310 commits

Author SHA1 Message Date
Petr Skoda
5ba8c3f939 MDL-20204 fixed regression in last commit 2010-05-28 18:06:39 +00:00
Petr Skoda
c422efcf9f MDL-20204 significantly improved url_select renderer - it tests validity of urls and fixes absolute urls too 2010-05-28 15:47:26 +00:00
Dongsheng Cai
b80ef420d0 MDL-22582, file_tree_viewer implementaion in core renderer 2010-05-26 08:32:31 +00:00
Dongsheng Cai
ac9c14dd29 MDL-22548, hide main file element completely 2010-05-26 07:09:02 +00:00
Dongsheng Cai
309da23fa6 "MDL-16597, changed orders of filename and file menu" 2010-05-25 06:41:00 +00:00
Dongsheng Cai
bb496de7c2 MDL-13766, move file picker element to core renderer 2010-05-24 07:55:57 +00:00
Andrew Davis
50e7d9da14 rating MDL-22541 fixed display of rating aggregates with count and sum aggregation methods 2010-05-24 03:41:00 +00:00
Petr Skoda
71c03ac138 comment typos 2010-05-22 20:16:12 +00:00
Petr Skoda
996b1e0ce3 fixed typos 2010-05-22 14:43:46 +00:00
Petr Skoda
caf2bec906 MDL-16089 major mod/resource lang pack cleanup 2010-05-22 14:37:54 +00:00
Andrew Davis
3180bc2cc1 rating MDL-22526 adding sesskey to improve security 2010-05-21 03:43:45 +00:00
Dongsheng Cai
d8f3170367 MDL-16597, added some style to make filemanger prettier 2010-05-20 06:15:44 +00:00
Dongsheng Cai
56d2b933ab MDL-16597, disable the non js link temporarily, it is confusing, need a better workaround 2010-05-19 08:25:01 +00:00
Dongsheng Cai
4d2ee4c2c0 MDL-16597, move print_filemanager to $OUTPUT->file_manager, now theme designers are able to costomize file manager. 2010-05-19 08:05:36 +00:00
Andrew Davis
771b3fbe12 rating MDL-21836 altered render_rating() to make better use of html_writer 2010-05-17 07:31:22 +00:00
David Mudrak
b4c458a347 Fixing an incorrect usage of 'continue' statement outside the loop
This was a blocker for CLI installer. After a site is installed via CLI,
the admin has to log in and edit his/her profile. The profile editing
page did not work as it run into this if {} statement, producing fatal
error.
2010-05-11 15:47:12 +00:00
Sam Hemelryk
12cc75aed5 custommenu MDL-22398 Fixed notice during install/upgrade with $CFG->custommenuitems 2010-05-11 07:30:04 +00:00
Sam Hemelryk
d7bd9acd9c navigation MDL-22398 Fixed module declaration for custom menu that was reincluding javascript-static 2010-05-10 09:41:32 +00:00
Sam Hemelryk
d2dbd0c0d0 navigation MDL-22398 Added custom menu to Moodle core. Will document in theme's forum 2010-05-10 05:24:00 +00:00
David Mudrak
8af8be4aa9 MDL-22067 Fixing regression - legacy help icons made by old_icon_help() use overlay as well 2010-05-04 14:22:19 +00:00
Martin Dougiamas
03d9401e7d My Moodle MDL-19124 New version of My Moodle, User profiles and Course profiles, all with block support
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them.  I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.

There's still work to do.  Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0.  We also could use a much better course overview block and better CSS styling of the profile pages.  But it's definitely more usable this it was, I think.
2010-05-04 13:04:35 +00:00
Sam Hemelryk
2cf81209ff javascript MDL-22067 Fixed errors with JavaScript openpopup and help icon popups 2010-05-04 08:29:05 +00:00
Rossiani Wijaya
36282d8545 MDL-22067 - modify help popup functionality to use overlay. 2010-05-03 08:44:34 +00:00
Sam Hemelryk
ffca6f4be7 navigation MDL-22173 Separators are now written inside the LI elements of the node they relate to. 2010-04-27 05:19:32 +00:00
Sam Hemelryk
6c721bbfed navigation MDL-22173 Fixed XHTML issue with navbar, and removed redundant ul's from nodes without children 2010-04-27 02:01:38 +00:00
Andrew Davis
d251b25937 rating MDL-21657 updated version of ratings including checks for both new system capabilities and old per module capabilities 2010-04-23 09:44:19 +00:00
Sam Hemelryk
493a48f3d6 navigation MDL-22072 Icons are no longer shown on the navigation bar by default. 2010-04-23 04:21:33 +00:00
Andrew Davis
63e87951e6 rating MDL-21657 updated version of ratings including forum and glossary integration 2010-04-22 05:15:23 +00:00
Sam Hemelryk
ee8df661dc themes MDL-21489 Added support for a legacy theme used with old browsers. Thanks Brendan for the patch
Admin can now select a theme for modern browsers and old browsers, the user then sees the modern theme with modern browsers and legacy theme with old browsers. Currenlty IE6 (or less) are considered old browsers.
2010-04-21 04:21:53 +00:00
Sam Hemelryk
3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Petr Skoda
1f96e907ea MDL-22084 making a clear distinction between list of our translations and list of all languages defined in ISO 639-2 2010-04-14 09:45:49 +00:00
Petr Skoda
259c165d7a MDL-21695 new help api 2010-04-13 21:51:49 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
David Mudrak
0fddc031bb Default heading level in CLI and AJAX renderer 2010-04-10 22:23:46 +00:00
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
Petr Skoda
3dcdf440d7 MDL-21657 frankenstyle fix for incorrect rating plurals 2010-04-01 20:33:15 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Petr Skoda
1adaa40466 MDL-21938 support for json renderer and error handler 2010-03-28 09:05:47 +00:00
Sam Hemelryk
230ec40140 output MDL-20204 Fixed regression incorrect param type 2010-03-24 02:35:16 +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
Petr Skoda
c5d1816470 MDL-14679 fixed double encoding of html entities in debuginfo coming from the dml and ddl 2010-03-20 13:46:15 +00:00
Andrew Davis
b1721f670b rating MDL-21657 started making ratings API more like comments and split rate.php into rate.php and rate_ajax.php 2010-03-19 06:55:47 +00:00
Andrew Davis
c82ed0a8b0 rating MDL-21657 changed ratings rendering to avoid a nonconstant element name 2010-03-19 02:24:44 +00:00
Andrew Davis
8b69c341c0 rating MDL-21657 more changes based on Petr's feedback 2010-03-18 03:47:12 +00:00
Andrew Davis
7ac928a749 rating MDL-21657 more changes based on Petr's feedback 2010-03-17 09:12:13 +00:00
Andrew Davis
f1f6a75524 rating MDL-21657 changes based on Petr's feedback 2010-03-17 03:39:54 +00:00
Dongsheng Cai
6ee744b36e "MDL-20204, fixed html_writer::tag parameters" 2010-03-17 02:25:36 +00:00
Andrew Davis
6c5fcef746 rating MDL-21657 changing from ratings (plural) to rating (singular) 2010-03-16 09:37:31 +00:00
Andrew Davis
a09aeee47b rating MDL-21657 first commit for rating library 2010-03-16 05:57:51 +00:00
Sam Hemelryk
46de77b6b7 navigation MDL-21543 Moved block docking icons next to the show-hide block icon 2010-02-24 08:12:17 +00:00