Update of /cvsroot/phpwiki/phpwiki/themes/Hawaiian
In directory usw-pr-cvs1:/tmp/cvs-serv25839
Modified Files:
themeinfo.php
Log Message:
CSS now stored in an array, and <link rel="stylesheet"> headers are dynamically generated. - Simplifies xhtml templates. - Easier to add new alternate stylesheets in index.php without using themes. - Any stylesheets defined by a theme now works together with any default stylesheets (i.e. phpwiki.css, phpwiki-printer.css, phpwiki-modern.css) instead of completely replacing them.
Index: themeinfo.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/themes/Hawaiian/themeinfo.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** themeinfo.php 2002/01/01 21:41:32 1.2
--- themeinfo.php 2002/01/03 00:09:18 1.3
***************
*** 11,20 ****
// To deactivate themes, comment out all the $theme=lines in index.php.
- // CSS location
- //
// CSS file defines fonts, colors and background images for this style.
// The companion '*-heavy.css' file isn't defined, it's just expected to
// be in the same directory that the base style is in.
! $CSS_URL = "themes/$theme/Hawaiian.css";
// Logo image appears on every page and links to the HomePage.
--- 11,22 ----
// To deactivate themes, comment out all the $theme=lines in index.php.
// CSS file defines fonts, colors and background images for this style.
// The companion '*-heavy.css' file isn't defined, it's just expected to
// be in the same directory that the base style is in.
!
! $CSS_DEFAULT = "Hawaiian";
!
! $CSS_URLS = array_merge($CSS_URLS, array( "$CSS_DEFAULT" => "themes/$theme/${CSS_DEFAULT}.css" ) );
!
// Logo image appears on every page and links to the HomePage.
|