From: Carsten K. <car...@us...> - 2002-01-03 00:09:18
|
Update of /cvsroot/phpwiki/phpwiki In directory usw-pr-cvs1:/tmp/cvs-serv25822 Modified Files: index.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: index.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/index.php,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -r1.47 -r1.48 *** index.php 2002/01/02 01:28:16 1.47 --- index.php 2002/01/03 00:09:15 1.48 *************** *** 279,283 **** // you should make sure that it's companion 'phpwiki-heavy.css' // is installed in the same directory that the base style file is. ! $CSS_URL = "phpwiki.css"; // logo image (path relative to index.php) --- 279,289 ---- // you should make sure that it's companion 'phpwiki-heavy.css' // is installed in the same directory that the base style file is. ! $CSS_URLS = array( ! 'PhpWiki' => "phpwiki.css", ! 'Printer' => "phpwiki-printer.css", ! 'Modern' => "phpwiki-modern.css" ! ); ! ! $CSS_DEFAULT = "PhpWiki"; // logo image (path relative to index.php) |