Update of /cvsroot/phpwiki/phpwiki/themes/default
In directory usw-pr-cvs1:/tmp/cvs-serv9195
Modified Files:
themeinfo.php
Log Message:
comments cleanup
Index: themeinfo.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/themes/default/themeinfo.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** themeinfo.php 2001/12/27 18:11:49 1.5
--- themeinfo.php 2002/01/01 07:36:15 1.6
***************
*** 3,39 ****
rcs_id('$Id$');
! // FIXME: these files are moved to a subfolder in /templates
! // e.g. /templates/vanilla so relative paths to index.php
! // should be irrelevant.
!
! // The current .htaccess in /templates generates an error in apache 1.3.20.
! // It should be removed or changed to allow access for themes to work.
!
! // If you specify a relative URL for the CSS and images,
! // the are interpreted relative to DATA_PATH (see below).
! // (The default value of DATA_PATH is the directory in which
! // index.php (this file) resides.)
! //use this setting in index.php:
//$theme="default";
// CSS location
//
! // Note that if you use the stock phpwiki style sheet, 'phpwiki.css',
! // 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 = "themes/$theme/phpwiki.css";
! // logo image
$logo = "themes/$theme/wikibase.png";
! // Signature image which is shown after saving an edited page
! // If this is left blank (or unset), the signature will be omitted.
$SignatureImg = "themes/$theme/signature.png";
$templates = array('BROWSE' => "themes/$theme/templates/browse.html",
'EDITPAGE' => "themes/$theme/templates/editpage.html",
'MESSAGE' => "themes/$theme/templates/message.html");
$URL_LINK_ICONS = array(
'http' => "themes/$theme/icons/http.png",
--- 3,40 ----
rcs_id('$Id$');
! /**
! * This is really just a template to copy for designing new themes.
! * The real "default" theme is built into index.php, none of the
! * variables here point to any real files.
! * */
! // To activate this theme, specify this setting in index.php:
//$theme="default";
+ // 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/phpwiki.css";
! // Logo image appears on every page and links to the HomePage.
$logo = "themes/$theme/wikibase.png";
! // Signature image which is shown after saving an edited page.
! // If this is left blank, any signature defined in index.php will be
! // used. If it is not defined by index.php or in here then the
! // "Thank you for editing..." screen will be omitted.
$SignatureImg = "themes/$theme/signature.png";
+ // If this theme defines any templates, they will completely override
+ // whatever templates have been defined in index.php.
$templates = array('BROWSE' => "themes/$theme/templates/browse.html",
'EDITPAGE' => "themes/$theme/templates/editpage.html",
'MESSAGE' => "themes/$theme/templates/message.html");
+ // If this theme defines any custom link icons, they will completely override
+ // any link icon settings defined in index.php.
$URL_LINK_ICONS = array(
'http' => "themes/$theme/icons/http.png",
***************
*** 44,49 ****
'*' => "themes/$theme/icons/zapg.png"
);
-
- rcs_id('$Id$');
// (c-file-style: "gnu")
--- 45,48 ----
|