From: Reini U. <ru...@us...> - 2004-06-14 11:27:02
|
Update of /cvsroot/phpwiki/phpwiki/themes/smaller In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11869/smaller Modified Files: themeinfo.php Log Message: renamed global $Theme to $WikiTheme (gforge nameclash) Index: themeinfo.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/smaller/themeinfo.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -2 -b -p -d -r1.2 -r1.3 --- themeinfo.php 21 Apr 2004 04:21:32 -0000 1.2 +++ themeinfo.php 14 Jun 2004 11:26:53 -0000 1.3 @@ -36,5 +36,5 @@ class Theme_smaller extends Theme { } -$Theme = new Theme_smaller('smaller'); +$WikiTheme = new Theme_smaller('smaller'); // CSS file defines fonts, colors and background images for this @@ -44,5 +44,5 @@ $Theme = new Theme_smaller('smaller'); // This should result in phpwiki-printer.css being used when // printing or print-previewing with style "PhpWiki" or "MacOSX" selected. -$Theme->setDefaultCSS('PhpWiki', +$WikiTheme->setDefaultCSS('PhpWiki', array('' => 'phpwiki.css', 'print' => 'phpwiki-printer.css')); @@ -50,12 +50,12 @@ $Theme->setDefaultCSS('PhpWiki', // This allows one to manually select "Printer" style (when browsing page) // to see what the printer style looks like. -$Theme->addAlternateCSS(_("Printer"), 'phpwiki-printer.css', 'print, screen'); -$Theme->addAlternateCSS(_("Top & bottom toolbars"), 'phpwiki-topbottombars.css'); -$Theme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css'); +$WikiTheme->addAlternateCSS(_("Printer"), 'phpwiki-printer.css', 'print, screen'); +$WikiTheme->addAlternateCSS(_("Top & bottom toolbars"), 'phpwiki-topbottombars.css'); +$WikiTheme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css'); /** * The logo image appears on every page and links to the HomePage. */ -$Theme->addImageAlias('logo', WIKI_NAME . 'Logo.png'); +$WikiTheme->addImageAlias('logo', WIKI_NAME . 'Logo.png'); /** @@ -65,20 +65,20 @@ $Theme->addImageAlias('logo', WIKI_NAME */ -$Theme->addImageAlias('signature', WIKI_NAME . "Signature.png"); +$WikiTheme->addImageAlias('signature', WIKI_NAME . "Signature.png"); // Uncomment this next line to disable the signature. -$Theme->addImageAlias('signature', false); +$WikiTheme->addImageAlias('signature', false); /* * Link icons. */ -//$Theme->setLinkIcon('http'); -$Theme->setLinkIcon('https'); -$Theme->setLinkIcon('ftp'); -$Theme->setLinkIcon('mailto'); -//$Theme->setLinkIcon('interwiki'); -//$Theme->setLinkIcon('wikiuser'); -//$Theme->setLinkIcon('*', 'url'); +//$WikiTheme->setLinkIcon('http'); +$WikiTheme->setLinkIcon('https'); +$WikiTheme->setLinkIcon('ftp'); +$WikiTheme->setLinkIcon('mailto'); +//$WikiTheme->setLinkIcon('interwiki'); +//$WikiTheme->setLinkIcon('wikiuser'); +//$WikiTheme->setLinkIcon('*', 'url'); -//$Theme->setButtonSeparator("\n | "); +//$WikiTheme->setButtonSeparator("\n | "); /** @@ -86,5 +86,5 @@ $Theme->setLinkIcon('mailto'); * the words. The default is to leave WordsSmashedTogetherLikeSo. */ -//$Theme->setAutosplitWikiWords(false); +//$WikiTheme->setAutosplitWikiWords(false); /** @@ -95,5 +95,5 @@ $Theme->setLinkIcon('mailto'); * the PrintLoginForm on a click. */ -$Theme->setAnonEditUnknownLinks(false); +$WikiTheme->setAnonEditUnknownLinks(false); /* @@ -105,6 +105,6 @@ $Theme->setAnonEditUnknownLinks(false); * user's time zone. */ -$Theme->setDateFormat("%B %d, %Y"); -$Theme->setTimeFormat("%H:%M"); +$WikiTheme->setDateFormat("%B %d, %Y"); +$WikiTheme->setTimeFormat("%H:%M"); /* @@ -112,5 +112,5 @@ $Theme->setTimeFormat("%H:%M"); * give a second argument of false: */ -//$Theme->setDateFormat("%B %d, %Y", false); +//$WikiTheme->setDateFormat("%B %d, %Y", false); |