75 Commits

Author SHA1 Message Date
Sam Hemelryk
28eb40111a navigation MDL-20204 Now checks an icon implements renderable interface before trying to pass it to OUTPUTs render method 2010-02-17 04:03:43 +00:00
Petr Skoda
c63923bddb MDL-20204 converted action_icon 2010-02-16 16:24:49 +00:00
Petr Skoda
9a9012dc8f MDL-21590 fixed icons in navigation lib + clean up of modinfo (planned removeal of legacy use of urlencode since 1.8 - we use serialize and utf8 is ok now) 2010-02-14 20:18:10 +00:00
Petr Skoda
f9fc1461ba MDL-21590 fixed recent regression in nav icons - now using new pix_icon instead of urls, have to rework extra icon handling in resources though 2010-02-14 09:29:44 +00:00
Petr Skoda
9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
Petr Skoda
000c278cff MDL-20204 new pix_icon renderable widget 2010-02-11 14:59:00 +00:00
Petr Skoda
4aea3cc7cd MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout 2010-02-11 13:27:02 +00:00
Sam Hemelryk
279e2669eb navigation MDL-21564 Fixed regression whereby the last course section was not being shown on the navigation 2010-02-10 01:28:17 +00:00
Sam Hemelryk
0e3eee62fe navigation MDL-21560 Fixed method of finding active admin settings page. 2010-02-10 01:12:59 +00:00
Sam Hemelryk
9cf45d02c7 navigation MDL-14632 converted mb_substr calls to use textlib, cheers for spotting Petr 2010-01-21 08:51:13 +00:00
Sam Hemelryk
fc9d196454 navigation MDL-21366 Fixed undefined index notice and changes substr to mb_substr 2010-01-21 07:22:10 +00:00
jerome mouneyrac
94e90ab7b7 webservice MDL-21351 web service token profil page become security keys page, the tokens are now automatically generated. 2010-01-19 08:16:57 +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
Sam Hemelryk
2b025b1765 navigation MDL-14632 Site Administration no longer links as well as expands 2010-01-15 02:43:55 +00:00
Sam Hemelryk
9d89733132 javascript-dock MDL-21329 Several major changes to the underlying navigation and dock code
The following changes have been made in this commit:
1. Renamed the side bar thing to dock, this is consistent through all code/css now.
2. Converted everything to YUI 3 except the panel which docked items are shown in, this iwll be converted once YUI 3 overlay is no longer beta.
3 Redisigned the dock, all blocks can now make use of it, and theme code within JS can override it so they can make it look as they want.
More changes are coming
2010-01-14 05:35:23 +00:00
jerome mouneyrac
de7a00a400 webservice MDL-20805 no admin should create web service token for themself 2010-01-13 02:01:56 +00:00
jerome mouneyrac
5eacbd4be4 webservice MDL-20805 added token creation page in user profil (with service required capability check and moodle/webservice:createtoken capibility check) 2010-01-12 10:34:52 +00:00
Petr Skoda
b52706307c MDL-21198 $OUTPUT->icon() improvements 2009-12-31 10:06:56 +00:00
Sam Hemelryk
e0738f5778 navigation /MDL-21152 fixed regression changed topframe to frametop 2009-12-23 08:56:16 +00:00
Sam Hemelryk
7a7e209df0 navigation MDL-20649 Revised the way in which navigation works for users
When logged in there is a my moodle dashboard branch, when viewing a site profile there is a users branch, and when viewing a course profile there the user is shown under the participants branch
2009-12-23 01:22:48 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +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
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +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
75b1018cd3 navigation MDL-20735 Activities added to the front page topic section were not being included in nav 2009-12-15 04:13:21 +00:00
Sam Hemelryk
a9da131e0b navigation MDL-20735 Activities added to the front page topic section were not being included in nav 2009-12-15 01:38:40 +00:00
Penny Leach
24ba58ee9a portfolio MDL-21079 be more selective about including libraries.
this involves moving all formslib includes to where they're actually needed.
it also moves the portfolio stuff from assignment,data,chat,forum and glossary
into a locallib.php which involved creating it for many of those modules.
2009-12-12 11:27:07 +00:00
Sam Hemelryk
417a273d1a navigation MDL-20735 Fixed issue with unset cm contexts for front page course 2009-12-10 03:33:30 +00:00
Sam Hemelryk
8379764371 navigation MDL-20735 Patch to properly display front page actitivies on the navigation 2009-12-10 02:05:12 +00:00
Sam Hemelryk
8958174c48 navigation MDL-20651 Changed setting from hide to show 2009-11-05 09:31:55 +00:00
Sam Hemelryk
da3ab9c4be navigation MDL-20651 Added config setting to hide course categories on the navigation
As requested and voted on admin can now choose not to include course categories within the navbar and global navigation block.
At the same time I also introduced a second setting, showallcourses, which ensures all of the courses a user is registered in are shown on the navigation at all times.
2009-11-04 07:23:19 +00:00
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