Sam Hemelryk
7eef78def5
navigation MDL-20735 Fixed bug that caused exception when modules were added to the front page
2009-11-04 01:45:55 +00:00
Petr Skoda
117bd74897
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:31:16 +00:00
Nicolas Connault
1c7b8b934b
MDL-19676 MDL-14408 MDL-8776 Blog improvements
2009-10-30 07:25:50 +00:00
Sam Hemelryk
3d97797bdb
navigation MDL-20543 Fixed remove_child and simpletests
2009-10-26 06:08:47 +00:00
Sam Hemelryk
2561c4e99c
NOBUG: Fixed spelling mistake in comments to test something for Jordan
2009-10-23 04:23:57 +00:00
samhemelryk
8140c44094
navigation MDL-20521 Changed procedure for hidden admin pages
...
Admin pages were originally skipped over and not added to the navigation, however this means we don't know where in the navigation structure we are on display, now we add hidden pages to the structure and force them to not display.
2009-10-20 03:31:19 +00:00
samhemelryk
0baa5d4600
NOBUG: Testing the new CVS server by updating a few comments
2009-10-19 04:27:10 +00:00
uid697
9fa78217cd
NOBUG: Testing the new CVS server by updating a few comments
2009-10-19 04:01:42 +00:00
uid697
babb391120
NOBUG: Testing the new CVS server by updating a few comments
2009-10-19 03:29:48 +00:00
samhemelryk
4dd5bce866
navigation MDL-20568 Fixed notices and warning generated by navigation when page context is for a module but page cm has not been set.
...
Also tacked on a tiny edit to fix missing alt tags
2009-10-15 06:37:45 +00:00
samhemelryk
1c4eef5795
navigation MDL-20557 Made navigation icons part of the link for that item so it is clickable
2009-10-14 09:27:07 +00:00
samhemelryk
6644741db6
navigation MDL-20558 Fixed AJAX bug with multiple navigation trees concerning ajax requests + DOM interaction
2009-10-14 09:08:43 +00:00
samhemelryk
d926f4b1b8
navigation MDL-20543 Fixed bug by internally combining key and type to form the key used to store a node in the structure
2009-10-13 02:39:05 +00:00
samhemelryk
f5b5a82203
navigation MDL-20521 Fixed caching issue with admin tree
...
Added methods that allow a navigation cache to be marked as volatile so that it is destroyed on shutdown, forcing the next page to load to completely regenerate the navigation structure.
Caches are marked as volatile automatically if the load is within the system context, and can optionally be marked as volatile by calling PAGE->navigation->clear_cache() if desired.
2009-10-12 05:39:32 +00:00
samhemelryk
c705a24eb2
simpletest-navigation MDL-20395 Fixed up regressions in the simpletest caused by recent changes to upgrades to navigation lib.
...
Also fixed issue whereby PAGE->set_url was being called by testdeprecatedlib but not being reset to the original value causing several flow on errors through simpletests
2009-10-01 02:31:42 +00:00
samhemelryk
ceebb2ec5f
core MDL-19799 Upgraded deprecated calls and minor documentation improvement
2009-09-30 06:14:58 +00:00
samhemelryk
a4bead671a
navigation MDL-20324 Frame busting now occurs for every nav link if framename is not _top
2009-09-23 09:32:03 +00:00
samhemelryk
dfca6e9968
navigation MDL-20324 Quick fix to a regression caused by last update
2009-09-23 06:24:14 +00:00
samhemelryk
fa42a689cd
navigation MDL-20324 Quick fix to a regression caused by last update
2009-09-23 06:17:52 +00:00
samhemelryk
bf6c37c786
navigation MDL-20332 MDL-20324 Modifications to fix the following issues:
...
* If no active node is found when the navigation is called upon then we attempt to find a best match active node
* Links are now produced with frame breakout actions
* Links ending with / are presumed index.php for matching purposes
2009-09-23 06:05:36 +00:00
samhemelryk
dfab77a26e
navigation MDL-14632 Added and implemented course report callback function
2009-09-21 07:22:57 +00:00
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