23 Commits

Author SHA1 Message Date
samhemelryk
785669995e navigation MDL-14632 Fixed bug when viewing participants list and incorrect navbar 2009-09-17 04:08:35 +00:00
samhemelryk
4881edc9d2 navigation MDL-14632 Moved course participants and reports from settings navigation to global navigation 2009-09-16 09:07:39 +00:00
samhemelryk
152fdf934d navigation MDL-14632 Gave Front page settings a named key so that it can be closed if someone ever wants to close it by default 2009-09-16 08:04:59 +00:00
samhemelryk
a6e34701cb navigation MDL-14632 Added prepend method to settings navigation class to allow for the addition of branches to the top of the settings navigation block 2009-09-16 07:52:36 +00:00
samhemelryk
d755d8c3bd navigation MDL-14632 Fixed bug whereby if someone called PAGE->set_course() on a page outside of a course and then a user browsed to it they would be shown the course content in the navigation 2009-09-11 08:26:36 +00:00
samhemelryk
b14ae498b9 mod-chat MDL-20243 Upgrade chat module to make use of the two navigation callbacks
Note: I also took the oppertunity to extend navigation_node action handling, so that navigation nodes can accepts
moodle_url, html_link, or strings for actions
2009-09-10 03:50:51 +00:00
samhemelryk
95b97515d5 navigation MDL-14632 Improve simpletest for navigationlib 2009-09-10 02:19:12 +00:00
samhemelryk
3b7a763c18 navigation MDL-20227 Fixed simpletest regression 2009-09-09 08:50:49 +00:00
samhemelryk
5afb01e899 navigation MDL-20242 Fixed bug whereby sections that no longer exist were shown 2009-09-09 07:36:02 +00:00
samhemelryk
0a8e8b6fd8 navigation MDL-14632 Added title tags for navigation items that are trimmed but do not have an action 2009-09-09 06:16:09 +00:00
samhemelryk
2e7f1f79e2 navigation MDL-14632 Added Participants item to front page branch in settings block 2009-09-09 04:21:20 +00:00
samhemelryk
fdd35767f3 navigation MDL-20227 Added compare function
This allows us to compare the modinfo stored in the cache with that against that active course
2009-09-08 08:49:12 +00:00
samhemelryk
3175908906 navigation MDL-20235 Added ignore_active method for navbar and corrected user/view 2009-09-08 08:43:44 +00:00
samhemelryk
be6c8dfe5a navigation MDL-14632 Fixed bug whereby active module may not be marked as active 2009-09-07 03:16:52 +00:00
samhemelryk
d972bad1b0 navigationMDL-20216 Moved type argument to third argument 2009-09-04 08:43:49 +00:00
samhemelryk
c73e37e0ef navigation MDL-14632 Wrapping if in brackets just to be safe 2009-09-04 07:41:21 +00:00
samhemelryk
05c039e564 navigation MDL-20218 global_navigation::load_for_user now looks for course id from PAGE first 2009-09-04 03:58:05 +00:00
samhemelryk
91152a3518 navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2
2009-09-04 03:12:01 +00:00
samhemelryk
72b3485eab navigation MDL-14632 Fixed navbar bug whereby if no active pages were found in either navigation or settings
`home` was not added to the navbar
2009-09-02 07:08:33 +00:00
samhemelryk
a4397489c1 navigation MDL-14632 Fixed bug with deprecated build_navigation function 2009-09-01 04:13:00 +00:00
samhemelryk
9da1ec271f navigation MDL-14632 Minor tweaking as suggested on this issue.
* Fixed focus on search closing tab
 * Added spacing to refresh/moveto icons
 * Made all text in navigation tree's expandable
 * Final element on navbar no longer a link
2009-08-31 03:58:17 +00:00
skodak
459e384ef2 MDL-14632 fixed forbidden use of Call-time pass-by-reference 2009-08-29 11:15:27 +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