51 Commits

Author SHA1 Message Date
Petr Skoda
b85b25ebb8 MDL-31006 fix various notices in PHP54
PHP54 compatibility
2012-01-18 01:03:20 +01:00
Petr Skoda
612d65d037 MDL-30610 remove outdated block upgrade code 2011-12-23 10:38:10 +01:00
Aparup Banerjee
46f2a9366a MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 01:28:59 +01:00
Petr Skoda
d68b3dbe72 MDL-30007 standard version file for all blocks 2011-11-29 20:57:30 +01:00
Petr Skoda
138c76789b MDL-29014 fix a few incorrect uses of strlen and substr 2011-09-10 10:21:31 +02:00
Petr Skoda
0958759dc2 MDL-28554 workaround for http://yuilibrary.com/projects/yui3/ticket/2530999
Do not load io-xdr and io-upload-iframe on the same page.
2011-08-25 11:38:34 +02:00
Aparup Banerjee
c5a8abfedd MDL-28169 Installation Added 2.1 upgrade (idiot proof) lines to upgrade scripts. 2011-07-07 11:40:38 +08:00
Aparup Banerjee
0193d9dfe7 MDL-27428 accessibility : added a fourth argument to event's subscription and delegation methods to specify selector actions.
- selected actions will fire the event through to the relevant handling functions.
2011-05-23 11:13:52 +08:00
Aparup Banerjee
f93844f3d7 MDL-27428 accessibility : added keyboard support to navigational menus loaded via ajax. 2011-05-23 11:13:36 +08:00
Aparup Banerjee
32561cafd4 MDL-27428 accessibility : made navigation and settings menu category span nodes navigable using tabs with tabindex=0 2011-05-23 11:12:53 +08:00
Aparup Banerjee
1e22cd351f MDL-27428 accessibility : allowed enter/space/left_arrow/right_arrow to expand/collapse navigation & settings menu branches
- note: a menu node branch that is a link will be followed instead of toggling the branch.
2011-05-23 11:12:35 +08:00
Nadav Kavalerchik
b41fc49c26 CSS MDL-26013 Fixed several display bugs when using right to left languages 2011-04-14 15:56:10 +08:00
Eloy Lafuente (stronk7)
c031f2c1e7 Merge branch 'MDL-26875' of git://github.com/samhemelryk/moodle 2011-03-21 21:10:55 +01:00
Sam Hemelryk
553669ae17 navigation MDL-26908 Fixed up positioning of icons for items that are both expandable and have an icon 2011-03-21 10:45:23 +08:00
Sam Hemelryk
4c2820fbd8 navigation MDL-26875 Moved course type check into object check and moved JS string call to navigation block where the navigation JS is initialised. 2011-03-18 14:45:10 +08:00
Jonathon Fowler
c683165a4a insert a 'View all courses' link when loading category navigation entries from AJAX 2011-03-18 15:00:14 +10:00
Sam Hemelryk
0022a97f24 blocks-navigation MDL-25596 Fixed notice when block config doesn't already exist 2011-01-12 09:53:08 +08:00
Sam Hemelryk
8e5c23e04f blocks-navigation MDL-25596 Fixed up redundant AJAX calls when navigation was limited by config 2011-01-06 11:50:01 +08:00
Sam Hemelryk
8ad24c1a44 navigation MDL-25596 Fixed whitespace issue 2010-12-23 16:55:52 +08:00
Sam Hemelryk
48d8d09063 navigation MDL-25596 Improvements for the navigation blocks JS
The biggest change is that the navigation block has been converted to a proper YUI module.
The following are the other changes made at the same time:
 * A loading icon is displayed when a branch is being loaded by AJAX.
 * Fixed a bug where you could trigger multiple AJAX requests by rapidly clicking an unloaded branch.
 * Fixed a bug where empty branches weren't being marked as such after a successful AJAX load.
 * When docked the width of the blocks dock panel is now inspected an increased if required to try avoid horizontal scrolling.
 * Removed the no longer needed inclusion of the YUI2 dom library from the navigation and settings block.
 * Expandable nodes are now passed as JS data allowing the navigation JS to be initialised through block_navigation::get_required_javascript.
 * AJAX is now focused around the branch in question rather than the tree in general.
 * Expansion of branches is now delegated to the tree rather than being an individual event on all branches.
 * Tidied up the code in general removing unneeded-unused parameters.
2010-12-23 11:21:07 +08:00
Sam Hemelryk
480f906e25 block-navigation MDL-23838 There is now an option that you can enable so that categories in the navigation are links as well. 2010-12-02 07:13:07 +00:00
Sam Hemelryk
c55e1d2945 navigation MDL-25410 Fixed up marking of active item/items and fixed blog links on navigation so they only display for current user. 2010-11-26 06:04:59 +00:00
Sam Hemelryk
a467d243f9 navigation MDL-25317 Fixed scroll issue and ajax expansion bug within the navigation JS 2010-11-19 02:41:05 +00:00
Petr Skoda
f7af9f2e4a fixed unterminated JS statements + whitespace 2010-09-17 11:00:18 +00:00
Sam Hemelryk
d8ef60bd72 blocks MDL-24066 Blocks can now choose to be hideable + navigation and settings are no longer hideable. 2010-09-14 02:12:41 +00:00
Sam Hemelryk
92c8db120a NOBUG Additional checking in navigation JavaScript 2010-09-03 05:53:47 +00:00
Sam Hemelryk
006051fda4 theme MDL-24013 Tiding up CSS and JS for IE compatability 2010-08-31 05:40:27 +00:00
Sam Hemelryk
290da00e48 NOBUG minor CSS adjustments for IE6.... grrrr IE6 2010-08-31 04:10:50 +00:00
Sam Hemelryk
ea2bc3599b navigation MDL-23831 Always show activity icons on the navigation 2010-08-17 02:43:09 +00:00
Sam Hemelryk
0310e15f87 navigation MDL-22979 Altered position of expand/collapse icons as asked in the nav/settings blocks 2010-07-23 07:33:51 +00:00
Rossiani Wijaya
43c90b9b0f MDL-22952 (bulk commit) - Fixed bidirectional page problems (right to left) 2010-07-13 09:01:58 +00:00
Sam Hemelryk
a6338a134b themes MDL-22826 Some minor changes to improve the IE user experience 2010-07-07 09:10:10 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Petr Skoda
8571833f0b MDL-23069 moving version and cron info into standard version.php - finally, yay! 2010-07-04 12:18:22 +00:00
Sam Hemelryk
a481b2c60c navigation MDL-23031 Removed show my history feature from the navigation.... goodbye! 2010-07-01 03:46:17 +00:00
Sam Hemelryk
1af67ecb1a navigation MDL-23036 Fixed issue when generation was limited to course+categories causing JS to error 2010-07-01 03:33:16 +00:00
Sam Hemelryk
246a9b05ba navigation MDL-22671 Fixed another misused image + a bug with AJAX requests 2010-06-11 04:25:22 +00:00
Sam Hemelryk
8c29a17dc1 navigation MDL-22671 Fixed xml strict issues in dock and navigation 2010-06-08 08:30:12 +00:00
Sam Hemelryk
8886223d38 navigation MDL-22420 Removed the reload icon 2010-06-03 07:53:31 +00:00
Sam Hemelryk
7e4617f7a6 navigation-dock MDL-22560 Major changes to he way the dock works
* Themes can now check if a region is completely docked
* Dock now delegates events to improve performance
* Dock now completely YUI3
* No longer uses YUI overlay instead has custom control
2010-05-31 03:33:34 +00:00
Sam Hemelryk
50ed8eb6c9 navigation MDL-22506 Fixed PHPdocs 2010-05-20 06:05:54 +00:00
Sam Hemelryk
1aa1e9b5b9 navigation MDL-22506 Fixed error when expanding site acitivities via AJAX 2010-05-20 06:01:00 +00:00
Sam Hemelryk
31513462b8 navigation MDL-22425 Fixed my courses being shown as an item despite having children 2010-05-18 02:20:51 +00:00
Sam Hemelryk
ba2789c101 navigation MDL-22425 Fixed courses not being shown to logged in users and removed all traces of mymoodleredirect settings 2010-05-14 06:41:44 +00:00
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
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
6c721bbfed navigation MDL-22173 Fixed XHTML issue with navbar, and removed redundant ul's from nodes without children 2010-04-27 02:01:38 +00:00
Sam Hemelryk
d24016944f block-navigation MDL-22044 Level 1 branches are no longer indented, and home/myhome link is no longer collapsible. Also fixed the everything bold issue 2010-04-22 07:51:52 +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
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