143 Commits

Author SHA1 Message Date
Sam Hemelryk
f856106b10 javascript-minify MDL-21435 Fixed typo 2010-05-19 02:22:17 +00:00
Sam Hemelryk
045f492c6b javascript-minify MDL-21435 Added Minify third party lib and integrated to with JavaScript and CSS serving 2010-05-19 02:15:16 +00:00
Sam Hemelryk
537740cba1 themes MDL-22353 Split CSS urls from one to three to resolve IE renderering issues 2010-05-10 07:47:52 +00:00
Sam Hemelryk
4d56ee95e0 themes MDL-22223 Added hidefromselector setting for theme. 2010-04-28 03:32: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
Petr Skoda
4399b9d5de MDL-22091 fix for sloppy IE CSS limits hack 2010-04-15 14:43:25 +00:00
Sam Hemelryk
84db3ea2a3 themes MDL-21984 Removed the need to specify the theme name in layouts within its config.php file 2010-04-15 06:37:55 +00:00
Sam Hemelryk
90723839ca themes MDL-21862 Implements base theme and standard theme.
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
  * Plugin CSS has been pushed back into the plugin directories as styles.css files.
  * Install_print_header has been corrected.
  * Redundant or deprecated rules have been removed.
  * Several minor class changes throughout Moodle.
  * CSS is now single line rules not multiline indented.
  * Installs with theme=standardold automatically switch to standard.
  * body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
  * There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
  * I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
Sam Hemelryk
f8bb9666c3 theme MDL-21648 Added support for styles_themename.css files for plugins 2010-02-18 08:47:47 +00:00
Petr Skoda
c09e1a2cb7 MDL-21557 potential fix for IE CSS issues in debug mode 2010-02-08 16:50:12 +00:00
Petr Skoda
baeb20bba3 MDL-21400 thems and JS now using the same script naming convention and parameter style 2010-02-07 13:08:46 +00:00
Petr Skoda
0bb38e8c04 MDL-21400 JS != ajax and page requirements are also CSS - making new special lib file for page requirements 2010-02-07 08:45:21 +00:00
Tim Hunt
cadc0d2805 theme/regions MDL-20204 un-spaghetti-fy martin's last commit. 2010-01-21 11:07:15 +00:00
Martin Dougiamas
a546e528ec theme/regions MDL-20204 Improved the finding of human names for regions, after looking in current theme it now looks in parent themes and base theme as well. 2010-01-21 06:13:02 +00:00
Petr Skoda
b9bc201962 MDL-21233 escaped parameter is far more importatnt than the overrideparams in out() method - especially all JS urls should be converted to out(false); also it is possible to create new url with overrided parameters in constructor which might be actually work around the double encoding problems in the url (we should never use the out() in moodle_url constructor itself!) 2010-01-17 09:50:55 +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
Petr Skoda
5d0c95a5ac MDL-21235 towards the final outputlib api - implementing separate html writer and implementing new render() method 2010-01-13 17:13:52 +00:00
Sam Hemelryk
fef275786f outputlib MDL-21325 changed theme_config::DEFAULT_THEME from standard to standard old to get rid of notices.
Added javascripts_footer back into the configurable array so that themes can put javascript into the footer.
2010-01-13 03:00:11 +00:00
Petr Skoda
5f0baa43a5 MDL-21149 preparation for renaming of old standard to standardold 2010-01-12 17:21:52 +00:00
Petr Skoda
ae5b6801c3 fixed one more docs typo 2010-01-11 10:06:56 +00:00
Petr Skoda
39df78bfea fixed yet another docs typo 2010-01-11 10:04:39 +00:00
Petr Skoda
b2ae9661e0 fixed another docs typo 2010-01-11 10:03:16 +00:00
Petr Skoda
2e7dbbd729 fixed docs typo 2010-01-11 10:02:14 +00:00
Sam Hemelryk
c71c725ec3 output MDL-20204 Fixed regression in recent theme changes, thanks Rossie for spotting 2010-01-06 01:56:20 +00:00
Petr Skoda
04c0140811 MDL-21244 added new option for footer JS from themes as requested by Urs 2010-01-05 23:22:16 +00:00
Petr Skoda
df06c1c414 MDL-21252 shortened image urls in CSS 2010-01-05 21:45:08 +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
efaa4c0803 MDL-21242 towards removing og yui2 skin sheet from the huge theme css file 2010-01-05 00:33:15 +00:00
Petr Skoda
1da545418e MDL-20204 removing duplicate YUI skin CSS, thanks Sam for noticing it 2010-01-05 00:19:50 +00:00
Petr Skoda
e07a7081bc MDL-20204 sheet name first, thanks Urs 2009-12-30 15:32:58 +00:00
Petr Skoda
596af93a46 MDL-20204 adding missing theme render prefix for current theme - thanks dvpdiner2 2009-12-29 12:23:39 +00:00
Petr Skoda
d6b64d1583 MDL-21208 THEME_DESIGNER_CACHE_LIFETIME control option added 2009-12-29 12:14:42 +00:00
Petr Skoda
7829cf7955 MDL-21208 major perf improvement for theme designer mode - now partially cached too ;-) 2009-12-29 12:04:31 +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
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
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
8c96c3cb59 MDL-21139 always load YUI3 CSS after YUI2 so that it takes precedence 2009-12-25 10:52:02 +00:00
Petr Skoda
3fb70edba3 MDL-21139 search for YUI3 images before YUI2 2009-12-25 10:40:30 +00:00
Petr Skoda
358c13cbbf MDL-21124 full support for JS in theems finished 2009-12-23 17:18:46 +00:00
Petr Skoda
e68c5f36cf MDL-21124 towards full JS support in themes 2009-12-20 23:06:57 +00:00
Petr Skoda
38aafea249 MDL-21124 towards full JS support in themes 2009-12-20 21:50:46 +00:00
Petr Skoda
3e4e6eda3c MDL-20797 removing problematic __desctruct() magic from the xhtml_container_stack, ->footer() handles it already 2009-12-17 22:52:37 +00:00
Petr Skoda
c927e35c48 MDL-21148 geenral support for rendering targets, this should give us more flexibility; please propose improvements in the tracker if necessary, thanks 2009-12-17 22:43:27 +00:00
Petr Skoda
da0c0e2595 MDL-21149 fixyed todos 2009-12-17 20:11:39 +00:00
Petr Skoda
5ef719e735 MDL-21108 fixed todo 2009-12-17 20:06:35 +00:00
Petr Skoda
56cbc53b76 MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements 2009-12-17 13:45:54 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda
c39e5ba20f MDL-20787 renaming image_url() to pix_url() to be more consistent with the actual image location ;-) 2009-12-16 20:33:37 +00:00
Petr Skoda
39302c7922 MDL-21140 CSS style reset now used from the YUI3 lib, surprisingly it is a bit different from YUI2 2009-12-16 20:11:39 +00:00