Commit Graph

317 Commits

Author SHA1 Message Date
Dongsheng Cai
99eaca9d3d "MDL-21170, major update to filepicker, complete rewrote filepicker javascript code to use YUI3, need furthur polish" 2010-01-15 07:48:38 +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
c724f835ca MDL-21242 moving yui2 skin away from theme CSS, this improves browser caching and finally we may load skin from the internet too 2010-01-05 17:29:43 +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
945f19f77d MDL-21193 finally fixed YUI3 laoding - now fully cached and working - yay! 2009-12-28 23:08:55 +00:00
Petr Skoda
636365f89a MDL-21196 workaround for xhtml strict problems in phploader 2009-12-27 09:27:41 +00:00
Petr Skoda
aa42314ded MDL-21189 yui2/3 combo loader implemented - yay! admin settings in the next commit; yui libs stored in more standard locations 2009-12-25 22:37:04 +00:00
Petr Skoda
60f2c8666a MDL-21189 custom yui image loading needed for combo yui loader 2009-12-25 19:51:40 +00:00
Petr Skoda
985d1d1d22 MDL-21187 brand new yui2 lib loading now using the official YAHOO oholoaders which properly resolves all dependencies; please note we are still suing the YUI2 CSS preloading 2009-12-25 15:27:47 +00:00
Petr Skoda
9fd49f5fd4 MDL-21188 minor cleanup 2009-12-25 14:23:36 +00:00
Petr Skoda
95fbe49bab fixed whitespace, sorrry 2009-12-25 14:15:24 +00:00
Petr Skoda
9b2735f93c MDL-21188 removing support for yui pix folders in themes because it is not compatible with autoloading in YUI3 and also loading of any YUI from external sites through combo scripts 2009-12-25 14:14:55 +00:00
Petr Skoda
4c90714106 MDL-21187 YUI phploader now used for YUI3 2009-12-25 13:48:23 +00:00
Dongsheng Cai
9f509643f0 "MDL-21141, fixed a regression introduced by last commit, thanks for testing, jerome" 2009-12-18 07:17:46 +00:00
Petr Skoda
91e856f7f8 MDL-21141 removing incorrect connection_core, thanks Dongsheng 2009-12-17 07:08:47 +00:00
Dongsheng Cai
70f83b5803 "MDL-21141, fixed yui connection file and let requires->css ignore existing css files" 2009-12-17 04:54:13 +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
bf62f18738 MDL-20795 integrating new YUI2 2.8.0r4 2009-12-16 19:32:36 +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
Petr Skoda
929423768b MDL-20925 fixed input validation and course ajax now fully respects the disable course ajax option 2009-11-21 16:29:33 +00:00
Petr Skoda
5884a8e6b3 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-10 19:45:34 +00:00
Moodle HQ git importer
8926f8449f Fixing drift between CVS and git 2009-11-02 00:32:03 +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
Rossiani Wijaya
b1b4c2d75f course/view MDL-10142 AJAX move functionality on section content 2009-10-30 08:02:16 +00:00
rwijaya
ddc660600a course/view MDL-20123 section 0 visibility and highlight 2009-10-21 06:25:21 +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
nicolasconnault
8c3c518f98 MDL-20415 Modified the behaviour of AJAX moving of sections when in "weekly" format, so that dates don't get moved along with the sections. This reflects the final, saved state. Merged from MOODLE_19_STABLE 2009-10-03 01:53:17 +00:00
nicolasconnault
49c4d8caa4 MDL-10221 Simulating the HTTP DELETE method by using a URL param (action), because some web servers don't allow DELETE. AJAX Course and Block deletion now works as expected. Merged from MOODLE_19_STABLE 2009-10-02 07:53:01 +00:00
samhemelryk
11f1e126e3 requires-css MDL-16151 Support for css files that use args 2009-09-25 08:24:50 +00:00
skodak
ba33919185 MDL-20169 reverting my incorrect patch - sorrry 2009-08-31 20:46:11 +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
skodak
d4b5bd4393 MDL-20169 fixed coding style, parameter type required 2009-08-27 19:20:03 +00:00
poltawski
5f56f0a856 ajaxlib: MDL-19756 Use 'confirmation' string which exists in confirm_dialogue 2009-07-30 13:44:26 +00:00
nicolasconnault
f8065dd287 MDL-19756 Migrated the following functions from weblib to outputlib:
1. button_to_popup_window
2. link_to_popup_window
3. print_single_button
4. print_spacer
5. print_file_picture (deprecated)
6. print_user_picture
7. print_png (deprecated)
8. helpbutton
9. doclink
10. print_paging_bar
11. notice_yesno
2009-07-27 10:33:00 +00:00
tjhunt
4262a2f806 lesson: MDL-19890 Fix block-printing code in lesson (I hope)
This got broken by one of the commits for MDL-19077 & MDL-19010
2009-07-23 10:01:19 +00:00
tjhunt
c966c8a27b ajaxlib MDL-19077 required_js_code::now, for those cases when you really want inline JS, and you may be building HTML before print_header
Both quiz and lesson need this.
2009-07-23 05:55:03 +00:00
tjhunt
ac63efae6d ajaxlib: MDL-19915 skip links need to be in a div for XHTML strict.
Refine Sam's solution.
2009-07-23 05:39:41 +00:00
samhemelryk
f0b529e0a9 ajaxlib MDL-19915 Squashed minor XHTML compliance issue, wrapped an 🅰️ in a :div: 2009-07-23 05:09:29 +00:00
nicolasconnault
1a504c8996 MDL-19077 Added requires->yui_lib('event') to required_event_handler constructor 2009-07-22 04:02:54 +00:00
nicolasconnault
647df7e372 MDL-19077 Added the required_event_handler class and event_handler method 2009-07-22 03:54:13 +00:00
tjhunt
9e43d2b395 ajaxlib: fix variable name typo. 2009-07-22 03:44:14 +00:00
tjhunt
d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
samhemelryk
803dc07443 ajaxlib MDL-19690 Fixed minor bug because of missing global 2009-07-08 01:56:15 +00:00
tjhunt
641e6ecd58 Typo fix. 2009-07-07 03:49:46 +00:00
tjhunt
ddedf979b4 MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 06:19:25 +00:00
tjhunt
5ef444007d MDL-19690 - Eliminate all remaining $CFG->modpixpath apart from mod/scorm 2009-07-02 12:25:19 +00:00
samhemelryk
747b85cb00 ajaxlib MDL-19077 Added strings_for_js method 2009-07-02 04:07:53 +00:00
stronk7
d47cf63dec MDL-19579 code coverage - add initial $includecoverage attributes 2009-06-26 17:21:36 +00:00
tjhunt
bfbbfdebb8 Typo fixes. 2009-06-25 06:48:25 +00:00