118 Commits

Author SHA1 Message Date
Sam Hemelryk
4766a50c19 navigation MDL-22425 Restructured navigation for the nth time plus performance tweaking and course display limit 2010-05-13 09:57:43 +00:00
Andrew Davis
4dfdeb76dd rss MDL-22204 added ability for user to reset their rss token 2010-05-13 02:13:06 +00:00
Rossiani Wijaya
bbfa9be0f8 MDL-20445 - change the logic to get 'title' attribute for the link in navbar and navblock. 2010-05-12 08:10:59 +00:00
jerome mouneyrac
229a70996a security keysMDL-12886 cleanup a bit the security keys page (move html into renderer and DB query into library) 2010-05-12 07:53:07 +00:00
Sam Hemelryk
8a556fdd01 navigation MDL-21996 Added permission and check permission icons 2010-05-11 06:43:49 +00:00
Sam Hemelryk
76046fa871 navigation MDL-14632 Fixed incorrect contexts in capability checks for navigation 2010-05-11 05:28:59 +00:00
Sam Hemelryk
18ddfc1e98 navigation MDL-22399 Added logs link to activity settings 2010-05-10 09:02:09 +00:00
Sam Hemelryk
25b550d2db navigation MDL-14632 Fixed issue when administration settings block is unable to locate the active page 2010-05-05 06:28:47 +00:00
Sam Hemelryk
7081714dc4 navigation MDL-22322 Icons not used for navigation branches and fixed indenting of navigation items 2010-05-05 05:59:57 +00:00
Sam Hemelryk
4d5059d4f3 navigation MDL-22321 Fixed up the navigation in the grades section 2010-05-05 03:27:22 +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
59c7680fe2 backup MDL-22151 Added a backup link to the settings block for modules that support backup. 2010-05-04 04:00:03 +00:00
Eloy Lafuente
b0f35692ce MDL-21432 restore - also disabled in front page 2010-05-03 09:02:26 +00:00
Sam Hemelryk
d59a3f285b navigation MDL-14632 Show shortname of course instead of long name 2010-05-03 08:40:42 +00:00
Sam Hemelryk
b499db578c navigation MDL-14632 Fixed a small bug with navigation node prepend 2010-05-03 07:11:17 +00:00
Eloy Lafuente
530fa9815a MDL-21432 restore & import - disabled until ready 2010-05-02 14:52:23 +00:00
Martin Dougiamas
593270c629 Navigation - Blog and Tags links are now shown/hidden correctly according to settings 2010-05-01 14:33:07 +00:00
jerome mouneyrac
07ab0c80ec hub MDL-19309 new site registration form + course publication + community block 2010-05-01 05:05:55 +00:00
Martin Dougiamas
2be4d090c0 course completion MDL-2631 Course completion feature - Thanks to Aaron Barnes and Catalyst IT for this significant contribution. It is now officially possible to finish a course!
Even though I've tweaked this and done some polishing, there is still plenty to do on it now in HEAD, mostly to do with UI, usability and strings, so we'll keep working on it.  Aaron already has a number of improvements to add to it.
2010-04-30 03:06:22 +00:00
Sam Hemelryk
a683da3ca1 navigation MDL-22209 Added a callback for local plugins to allow them to add to the navigation. 2010-04-27 09:26:42 +00:00
Sam Hemelryk
91eab03d10 navigation MDL-22195 Fixed issue with duplicate nodes debug message for modules. 2010-04-27 03:06:42 +00:00
Sam Hemelryk
0f4ab67d84 course MDL-20628 Added the ability to name a course section, thanks Michael for the initial patch 2010-04-23 07:17:21 +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
Sam Hemelryk
27bad0a629 blog MDL-22161 Fixed up blog menu block and added navigation options for users. 2010-04-23 04:05:16 +00:00
Sam Hemelryk
dd8e50113a navigation MDL-22044 Fixed bug: when not logged in it is now home not my home. Thanks Eloy for spotting 2010-04-22 07:42:04 +00:00
Sam Hemelryk
dc07683108 navigation MDL-22044 Course format can now choose the string that is used for section 0, defaults to general 2010-04-22 01:26:45 +00:00
Sam Hemelryk
88f77c3c26 navigation MDL-22044 Added setting to limit content that is shown on the navigation back into the navigation block 2010-04-21 09:44:16 +00:00
Sam Hemelryk
8f57314b1e navigation MDL-22044 Fixed bug preventing module AJAX expansion 2010-04-21 09:40:25 +00:00
Sam Hemelryk
a9535f7945 navigation MDL-21350 Implemented trim options for the navigation block, can now set trim mode (right/left/center) and trim length 2010-04-21 07:05:39 +00:00
Sam Hemelryk
ba9dc077c4 roles MDL-22126 Fixed up usage of admin/roles/tags.php 2010-04-21 02:43:02 +00:00
Sam Hemelryk
7703888d31 navigation MDL-22044 Fixed up PHPDoc syntax, removed @global 2010-04-19 06:58:15 +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
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
Sam Hemelryk
0b29477be9 navigation MDL-21565 Update this xxx is now automatically added to the nav for all modules by default and is renamed to settings as that is what was being used in the tabs system presently anyway.
The following minor changes were also made:
* Added roles links to the navigation automatically
* Handling of block context for settings navigation
* Tidied up init code for settings navigation
2010-03-22 03:04:00 +00:00
Dan Poltawski
ad70376ce2 navigationlib: MDL-21209 - fix incorrect parameters
thanks to Enrique Robredo for the patch
2010-03-20 15:02:15 +00:00
Sam Hemelryk
d9d2817ac8 navigation MDL-21560 Revised the way the active admin page is located in the settings navigation 2010-02-22 07:57:35 +00:00
Eloy Lafuente
157aa3a22d MDL-21666 backup & restore caps - renaming the import one 2010-02-19 19:11:06 +00:00
Eloy Lafuente
d294000348 MDL-21666 backup & restore caps - moving to new naming schema. More to come. 2010-02-19 17:50:14 +00:00
Sam Hemelryk
7da3a79994 navigation MDL-21646 Fixing icon positioning and ensured a regular look 2010-02-19 02:24:26 +00:00
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
Sam Hemelryk
3c14795adb navigation MDL-21410 Fixed issue with navigation when in a blocks context and set page layout to admin when editing blocks 2010-02-18 09:23:14 +00:00
Sam Hemelryk
a3bbac8b76 navigation MDL-21604 Corrected simpletests after recent modifications 2010-02-18 06:42:29 +00:00
Sam Hemelryk
507a7a9a2d navigation MDL-21604 Fixed AJAX security issue + the following changes
* AJAX expansion now uses JSON rather than XML
* Tidied up unused globals in navigaitonlib after recent refactoring
* Cleaned up Database calls that were no longer required after security changes
2010-02-18 05:57:20 +00:00
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