Commit Graph

37 Commits

Author SHA1 Message Date
moodler d7275959a6 FIxes for XHTML strict 1.0 MDL-7861 2007-01-04 04:44:54 +00:00
moodler 7e99dd2cd6 Making it a little more strict 2007-01-03 09:14:31 +00:00
skodak a44091bffe Fixing Theme Config Variables MDL-6784 2006-10-09 10:12:41 +00:00
urs_hunkler 53fa54d9e0 removed the empty span from header.html and added the clearfix class to the navbar and to the header divs. this repairs Bug #5051 2006-04-08 17:12:05 +00:00
nfreear 222caf2793 Accessibility: replace navbar table with <div> for standard theme, shouldn't break other themes (OU-Bugz: 729) 2006-03-13 17:54:52 +00:00
nfreear 9fdbbcf768 Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
TODO (other moodlers): propagate change through header.html in other themes.
2006-02-27 14:17:08 +00:00
urs_hunkler e236ac3c7c Merged from 1.5. Changed $CFG-theme to current_theme() to make the theme working as course or session theme, see Bug #4315 2005-11-13 17:44:23 +00:00
moodler 61bff7e5ec Varous tweaks, mostly navbar 2005-04-02 12:44:04 +00:00
moodler 1a86378a73 navbar is now a TABLE so that it can contain things properly in a small-window situation 2005-04-02 12:40:03 +00:00
moodler d2c6555d40 Changes to styles used in nav-bar (no longer id, now a class) including
renaming - please check other themes!!!

Also the footer can now use all the same PHP variables as the headero

$heading  - the heading of the page
$menu   - the menu if any (sometimes it's the "logged in as" string)
$title - the title of the page
$navigation - the navigation string
$button - a button, if any
$home - true if on home page, otherwise false
2005-03-26 06:50:28 +00:00
urs_hunkler c794d0a9bb removed loading of "styles.php" within the header, because it is in the meantime loaded by print_header. 2005-01-26 09:44:59 +00:00
urs_hunkler 3a3b5a4b0c added loading "styles.php" 2005-01-26 09:15:16 +00:00
moodler 0bd31300d1 Fixed a small bug in the body tag 2005-01-25 17:13:48 +00:00
moodler bc59b0b9f2 Removed stylesheet link, and renamed containerContent to content 2005-01-25 16:09:46 +00:00
moodler 3e92eca303 I've set the old THEME variables to bright green to help identify
where hard-coded colours need to be removed
2005-01-25 13:20:44 +00:00
moodler a8e1f343c0 IMPORTANT CHANGE TO THEMES!
This is the new standard theme, based on the excellent work by
Urs Hunkler (and I believe David Scotson had an influence)
who has started rationalising the old mess.

I've made this a very neutral, almost white theme.

[ Come to think of it maybe I've been looking at iPods and Mac Minis
  a bit too much recently.  ;-) ]

The idea is that the standard styles will be included by all
other themes (including custom themes) before local overriding
styles are applied.

This means that upgrades will cause less problems for custom themes.
It's a bit like the language packs, where "en" is always referenced
when a local language string isn't found.

PROGRAMMERS: All new styles MUST go into this "standard" theme,
and the default colours should match the plain white look.

Once this theme settles down a bit we need to upgrade all the other
packaged themes accordingly.
2005-01-25 13:17:15 +00:00
gustav_delius 3da3bf18e2 Martin, did you really mean to switch XHTML on in the standard standard theme? 2004-09-30 20:39:35 +00:00
moodler 18fc7e7c67 Moving style information from XHTML code to stylesheets 2004-09-30 06:52:49 +00:00
gustav_delius 839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
moodler 63f3cbbd7d Merged $bodytags parameter in headers from STABLE 2004-07-14 06:54:43 +00:00
moodler 8bb0899949 Some improved XHTML 2003-09-21 15:32:25 +00:00
moodler 9ac796a68f PLace included metadata lines above the <title> 2003-09-13 07:34:20 +00:00
moodler e48feed988 Many little clean-ups for themes.
- Got rid of obvious non-XHTML code in headers and footers.
  - Got rid of all the PHP short tags
  - Added new styles for the headers
2003-05-15 13:55:22 +00:00
moodler 8120317e2e Changes for new styles and scheme 2002-12-09 16:10:57 +00:00
moodler a15803d3d8 Argh ... fix for Netscape fix - was causing problems on other browsers 2002-11-14 06:22:13 +00:00
moodler 9769da67ab Improvements in appearance for Netscape browsers 2002-11-12 17:20:36 +00:00
moodler 553064412d Better looking headings with right-to-left languages 2002-11-12 02:19:44 +00:00
moodler d897cae419 Changes to enable jumping between activity modules, using a new menu in
the upper-right corner.   Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler 541117b6cb Changes to support choice of language direction (so that languages
like Arabic, Hebrew etc will work)
2002-10-11 02:31:37 +00:00
martin 83e9a09e34 Newly formatted header.html files in themes ... still works the same
just might be easier to edit now.  index.php uses new set_config function
2002-09-23 15:42:22 +00:00
martin 909f539dad Minor tweaking and cleaning up 2002-08-12 13:45:41 +00:00
martin 11d87ec680 Slight tweak to allow completely blank headers (no arguments to
print_header will now give a blank header).  Useful for help pages.
2002-08-11 14:21:27 +00:00
martin 5575a053d3 Changes to put update/edit icons in the headers of module and course pages 2002-06-08 06:52:00 +00:00
martin f3c7560053 Cleaned up some formatting and updated the favicon to match the pages 2001-12-03 08:26:16 +00:00
martin 41111d545b Added favicon support and a small bugfix or two 2001-11-30 06:12:35 +00:00
martin b59c9bbb26 removed CVS Id strings 2001-11-22 06:51:44 +00:00
martin f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00