1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-16 21:50:20 +01:00

37 Commits

Author SHA1 Message Date
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
Sam Hemelryk
7da3a79994 navigation MDL-21646 Fixing icon positioning and ensured a regular look 2010-02-19 02:24:26 +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
Petr Skoda
c63923bddb MDL-20204 converted action_icon 2010-02-16 16:24:49 +00:00
Petr Skoda
3ea5951efb MDL-20204 converting some more html_links 2010-02-16 15:27:16 +00:00
Sam Hemelryk
7c964cdf14 javascript-modules MDL-21400 Fixed up some recent module regressions 2010-02-09 01:38:45 +00:00
Petr Skoda
781bd8aed5 MDL-21400 removed js_object_init, the new js_init_call is a new replacement which encourages our new standard coding style 2010-02-06 13:56:31 +00:00
Petr Skoda
7d54028d59 MDL-21400 the correct namespace for blcoks is M.block_xxx, not M.blockS_xxx - the /blocks/ directory name is ugly exception, we use singulars everywhere else 2010-02-06 13:34:54 +00:00
Sam Hemelryk
53fc3e7040 javascript MDL-21503 Removed use of the global Y from dock, navigation and calendar
Also included in this patch the ability to switch the dock from the left to right side of the screen.
Altered js_object_init to deliver Y like js_init_call does now.
Several minor tweaks made to the dock and navigation as well at the same time.
2010-02-05 06:36:09 +00:00
Petr Skoda
2b8c3f8c1a MDL-21435 api changes and simplification needed for JS caching and compression 2010-01-26 08:33:21 +00:00
Petr Skoda
9598d578bb MDL-21420 modole_cfg converted to M.cfg 2010-01-21 22:19:46 +00:00
Petr Skoda
e50b4c8972 MDL-21420 refactoring towards global M 2010-01-21 20:55:58 +00:00
Sam Hemelryk
1ce15fdac8 navigation MDL-21366 Converted dock and navigation to YUI3 modules and added some supporting structures to outputcomponents and ajaxlib 2010-01-21 08:38:50 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda
c8870e6886 MDL-21240 support for loading of yui2 modules thourgh the yui3 JS loader; see example attached in tracker 2010-01-18 19:18:00 +00:00
Petr Skoda
eb7880654f MDL-21233 finally removed the omitquerystring parameters from the out method because: 1/ the least used parameter should nto be first, 2/ it is colliding with the other two paramters, now we have separate funtion for that instead 2010-01-17 09:37:30 +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
b291933029 javascript MDL-21329 Tidied up navigation and blocks JS documentation 2010-01-15 03:34:20 +00:00
Sam Hemelryk
d2c394f3c3 javascript-dock MDL-21329 Added $CFG->allowblockstodock(true by default) and $THEME->enable_dock (false by default)
Also moved blocks/blocks.js to javascript-static,js so there is one less file to load
2010-01-14 06:56:12 +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
Petr Skoda
2574fae6ef MDL-21123 moved javascript for navigation bar - testing of themes JS and it may need to use different tricks in other themes with CSS column layouts 2010-01-04 23:51:48 +00:00
Petr Skoda
1739077160 MDL-21198 fixed regression in last commit 2010-01-02 13:23:43 +00:00
Petr Skoda
8ae8bf8a14 MDL-21198 OUTPUT->action_icon improvements, refactoring and fixing conversion regressions 2010-01-02 13:17:54 +00:00
Petr Skoda
684b988c94 MDL-20204 fixed some alt image typos 2009-12-29 14:38:49 +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
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +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
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
Petr Skoda
4ca6cfbfd4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:00:47 +00:00
samhemelryk
4cdb8d70ae blocks MDL-19791 Upgrade deprecated function calls 2009-09-30 06:54:07 +00:00
samhemelryk
d7319652ad navigation MDL-20234 Fixed bug with moveto icon action and added support for URL switching of dock state 2009-09-09 03:59:26 +00:00
samhemelryk
d972bad1b0 navigationMDL-20216 Moved type argument to third argument 2009-09-04 08:43:49 +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
nicolasconnault
c1c0cecf3a MDL-14632 Improved the output code of the settings block and fixed typo of toogle to toggle. 2009-08-28 10:28:16 +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