154 Commits

Author SHA1 Message Date
Petr Skoda
fcd2cbaf1f MDL-26697 multiple media filtering fixes and improvements
Bug fixes:
    * fixed broken flash resizing via URL
    * upgraded Flowplayer
    * fixed invalid context in format_text()
    * all media related CSS moved from themes to filter and resources
    * fixed automatic pdf resizing in resources

Changes:
    * reworked filter_mediaplugin system settings - grouped by player type instead of individual extensions, added more information
    * improved regex url matching
    * removed old unused players, Eolas fix and UFO embedding
    * image embedding moved to filter_urltolink
    * new Flowplayer embedding API
    * accessibility and compatibility tweaks in Flowplayer
    * SWF embedding now works only in trusted texts, it is now enabled by default (works everywhere if "Allow EMBED and OBJECT tags" enabled)
    * new default video width and height

New features:
    * automatic Flash video resizing using information from video metadata
    * Flash HD video support (*.f4v)
    * Flash video embedding with HTML5 fallback - compatible with iOS and other mobile devices
    * Vimeo embedding
    * no-cookie YouTube site supported
    * HTML 5 audio and video with multiple source URLs and QuickTime fallback
    * more video and audio extensions in filelib.php
    * MP3 player colours customisable via CSS in themes
    * nomediaplugin class in a tag prevents media embedding
2011-03-12 17:42:52 +01:00
David Mudrak
03276af682 MDL-25072 reverted theme's disablecourseajax to enablecourseajax property 2010-11-09 11:55:37 +00:00
Petr Skoda
cdfb6ba850 MDL-25072 themes may disable ajax course edit 2010-11-09 01:28:43 +00:00
Sam Hemelryk
ca194849f0 themes-base MDL-16319 Base theme now has an editor sheet and sets a default font size 2010-10-06 07:38:34 +00:00
Sam Hemelryk
71be124d02 themes MDL-22247 Fixed up broken editor_sheets for themes 2010-10-01 01:43:06 +00:00
Petr Skoda
365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Petr Skoda
0e688e1297 fixed notice 2010-09-17 07:59:42 +00:00
Petr Skoda
c426ef3aa5 MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read 2010-08-29 14:51:09 +00:00
Petr Skoda
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +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
71c03ac138 comment typos 2010-05-22 20:16:12 +00:00
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