97 Commits

Author SHA1 Message Date
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Patrick Malley
662078965d MDL-25210 - Creating consistency in README files. 2010-11-14 21:33:37 +00:00
Sam Hemelryk
48c8444b48 theme-anomaly MDL-22914 Fixed up minor rounded corner alignment issues in anomaly. 2010-11-08 01:44:40 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Sam Hemelryk
b1d2d048b0 theme-anomaly MDL-25028 Removed unused function is anomaly's lib.php file. 2010-11-03 02:26:16 +00:00
Sam Hemelryk
6c0fb99b79 editor-css MDL-16319 Set default font for the core moodle themes 2010-10-07 04:17:15 +00:00
Sam Hemelryk
71be124d02 themes MDL-22247 Fixed up broken editor_sheets for themes 2010-10-01 01:43:06 +00:00
Sam Hemelryk
9fa5887214 theme-anomaly MDL-21918 Tidy up of whitespace and CSS files in anomaly theme 2010-09-22 06:20:06 +00:00
Petr Skoda
ca3b1fd973 fixed unterminated JS statements 2010-09-17 19:59:16 +00:00
Petr Skoda
ed5d13c074 MDL-23795 basic support for print page layout + tons of trailing whitespace fixed 2010-08-16 19:34:23 +00:00
john St
b3f5291d5c Fix for Anomaly Docking issue, MDL-23816 2010-08-15 13:59:41 +00:00
Andrew Davis
0e4f7b4f19 themes MDL-23507 made the current week highlighting look a little better with the theme anomoly 2010-08-04 01:42:07 +00:00
Rossiani Wijaya
43c90b9b0f MDL-22952 (bulk commit) - Fixed bidirectional page problems (right to left) 2010-07-13 09:01:58 +00:00
Patrick Malley
9e39483a01 MDL-23028 - adding GPL License statement 2010-06-30 16:17:30 +00:00
Patrick Malley
6f60ed4f97 MDL-23028 - adding standard README content to all existing themes 2010-06-30 15:59:28 +00:00
Martin Dougiamas
0db19d8dcc MDL-22917 Removing links from theme READMEs 2010-06-24 03:34:04 +00:00
aparup
7328e94b30 navigation MDL-22560 temporary fix for anomaly 2010-06-04 03:51:21 +00:00
Sam Hemelryk
6605ff8cda themes MDL-22358 Renamed sideblock class to block 2010-05-06 06:16:07 +00:00
Sam Hemelryk
61cf49aff2 theme-anomarly MDL-20175 Upgraded after recent theme changes 2010-05-01 07:10:22 +00:00
Martin Dougiamas
66258d9742 theme/anomaly MDL-20175 Tidy up screenshot, can be replaced with a better one anytime! 2010-04-20 16:52:35 +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
Petr Skoda
e87890ba30 MDL-22054 adding missing anomaly theme plugin name 2010-04-11 13:02:05 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +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
25a102a9f2 theme-anomaly MDL-20175 Updated renderer after recent changes 2010-03-04 07:15:55 +00:00
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
Sam Hemelryk
5f34a2a3d6 theme-anomaly MDL-20175 Fixed regressions after recent block changes 2010-02-18 07:48:22 +00:00
Sam Hemelryk
60e1930096 theme-anomaly MDL-20175 Mega theme changes for anomaly
* Changed layout from tables to the 3 divs (2,1,3)
* Cleaned up the all of the images, remade where required with optimised palettes
* Rewrote CSS, this is ongoing process with changes required in both base and anomaly
* Customised the dock to fit with the theme
* Implemented a custom renderer to achieve rounded corners in IE + Opera (CSS otherwise)
2010-02-05 08:38:02 +00:00
Petr Skoda
218671eb69 MDL-21149 more anomaly update info 2010-01-12 17:29:00 +00:00
Petr Skoda
3d38a00bc8 MDL-21149 renamed 'standard' theme to 'standardold' - this should finally make clear that new themes should not be based on legacy standard theme; all new core themes will be based on fresh new minimalistic 'base' theme, highly customised abnd experimentatl themes do not have to use base at all 2010-01-12 17:26:46 +00:00
Sam Hemelryk
10f7999b31 theme-anomaly MDL-20175 Removing readme.html file that is now in lang dir 2009-12-24 03:12:13 +00:00
Sam Hemelryk
cb0af31902 theme-anomaly MDL-20175 Updated anomaly theme to work with Moodle 2.0
It is still along way off finished however I will wait until the remaining theme changes are complete before fixing remaining issues.
2009-12-24 03:06:39 +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
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
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
nicolasconnault
fd09397ee1 MDL-19824 upgraded calls to print_container* 2009-08-20 08:50:03 +00:00
tjhunt
2c0901cb5a MDL-19010: In developer debug mode, print information about this page in the footer. 2009-07-20 06:18:16 +00:00
tjhunt
8b40e0feb8 anomaly theme: XHTML strict. 2009-07-13 04:23:39 +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
tjhunt
793a204e7b themes MDL-19077: Update deprecated stuff in all theme config.php files. 2009-07-09 02:06:22 +00:00
moodler
d917700d2d Upgraded this theme to use the new $THEME->pluginsheets 2009-07-07 07:35:59 +00:00
tjhunt
b70094743a themes: MDL-19077 change how the theme is initialised and CSS is served.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.

CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)

Admin UI for choosing a theme cleaned up.

A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php

Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.
2009-07-01 05:54:26 +00:00
tjhunt
5af6ec1b2e MDL-19600 remove remaining traces of docstyles.php.
(Not used since Moodle 1.6.)
Also remove the remaining bits of lang/en_utf8/docs.
2009-06-23 04:39:11 +00:00
moodler
5d6400b303 theme/anomaly Just removed two tabs 2009-04-21 09:31:25 +00:00
moodler
912adb21ba theme/anomaly MDL-18860 Adding this theme to Moodle 2 so developers have something nice to look at 2009-04-15 08:01:53 +00:00