Commit graph

1537 commits

Author SHA1 Message Date
Petr Skoda
916276fc0a MDL-20204 more outputlib changes towards separate html_writer 2010-02-07 20:12:31 +00:00
Petr Skoda
2b728cb5e1 MDL-21420 finally moving old global mstr to new M.str. 2010-02-07 09:43:07 +00:00
Petr Skoda
41912a261f MDL-21400 converting JS set_user_preference to M namespace and YUI3 2010-02-06 15:20:24 +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
Sam Hemelryk
87bf352d75 navigation MDL-21503 Dock cleanup in preperation of removing global Y 2010-02-04 06:51:57 +00:00
Penny Leach
83d50b79cd mnet MDL-21484 don't offer jump links in the mnet block to remote users 2010-02-01 03:37:38 +00:00
Sam Hemelryk
9af2b86b95 navigation MDL-21329 Fixed regression with docked preferences thanks Jerome for spotting 2010-01-28 06:29:29 +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
Martin Dougiamas
35e064659e block/config MDL-21375 Restrict options on the front page, and use better human-readable names 2010-01-25 05:29:51 +00:00
Petr Skoda
bca0975478 MDL-21170 migrated code to new M.util.image_url() function that returns correct theme images 2010-01-22 10:34:09 +00:00
Sam Hemelryk
dada7d66a4 navigation MDL-21418 Changed regex to replace all characters not just a-zA-Z0-9 thanks for picking this up David 2010-01-22 07:04:24 +00:00
Sam Hemelryk
bdbae764d9 calendar MDL-21240 Converted calendar JS to YUI3 module 2010-01-22 03:06:01 +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
Eloy Lafuente
26a8a8c8af MDL-21293 tag_youtube block - apply conversion of old tags to new ones in specialization()
and start using new ones in configuration
2010-01-21 19:28:28 +00:00
Eloy Lafuente
4f42e4663d MDL-21293 tag_youtube block - migratin from YouTube API to Google one
TODO: fix the configuration form to use the new stuff...
2010-01-21 18:54:50 +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
Martin Dougiamas
0aed347fd1 blocks config MDL-21375 Usability improvements for editing block stickiness, especially when dealing with frontpage and system blocks. 2010-01-20 09:08:04 +00:00
Martin Dougiamas
02ba576c27 blocks/sticky MDL-21375 This patch allows frontpage blocks to be easily turned into SYSTEM-wide sticky blocks. There is still an outstanding problem about how to deal with SYSTEM blocks that are not sticky. I think these should also be seen on the front page all the time but I'm not sure. See the bug for discussion about this. 2010-01-19 10:07:52 +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
Dongsheng Cai
285fd4ea55 "MDL-20125, boilerplates added" 2010-01-18 05:33:25 +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
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +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
Petr Skoda
0f4c64b79f MDL-21235 new link method in html_write, partinally replaces old html_link, going to add new action_link soon 2010-01-14 22:10:20 +00:00
Sam Hemelryk
598ee31708 javascript-dock MDL-21329 Fixed regression with CFG var 2010-01-14 07:04:37 +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
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +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
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
684b988c94 MDL-20204 fixed some alt image typos 2009-12-29 14:38:49 +00:00
Petr Skoda
812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +00:00
Petr Skoda
191b267bcd MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically 2009-12-27 12:02:04 +00:00
Valery Fremaux
049f43f740 http://tracker.moodle.org/browse/MDL-21186 2009-12-24 23:10:56 +00:00
Petr Skoda
cbcc9852e0 MDL-21125 removing obsolete global $THEME 2009-12-23 18:23:21 +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
Dongsheng Cai
65a86aa764 "MDL-21122, fixed saving setting problem in section links block, merged from 1.9" 2009-12-18 03:03:01 +00:00
Petr Skoda
5515b53605 MDL-21147 do not use standard "get_x" methods for "magic" $PAGE stuff + fixed incorrect ->get_x uses 2009-12-17 14:04:15 +00:00
Andrew Davis
0d4f1ce6f0 rss MDL-8922 escaped ampersands in rss feed titles 2009-12-17 05:55:33 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00