'text/css'), sprintf("\n", $this->getImageURL('bgpaper8'))); //for non-browse pages, like former editpage, message etc. //$this->getImageURL('bggranular'))); return $css; } function getRecentChangesFormatter ($format) { $this->requireFile('lib/RecentChanges.php'); if ($format == 'rss') return false; // use default return '_MacOSX_RecentChanges_Formatter'; } function getPageHistoryFormatter ($format) { $this->requireFile('lib/RecentChanges.php'); if ($format == 'rss') return false; // use default return '_MacOSX_PageHistory_Formatter'; } } $Theme = new Theme_MacOSX('MacOSX'); // 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. $Theme->setDefaultCSS("MacOSX", "MacOSX.css"); $Theme->addAlternateCSS(_("Printer"), 'phpwiki-printer.css', 'print, screen'); $Theme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css'); $Theme->addAlternateCSS('PhpWiki', 'phpwiki.css'); /* * Link icons. */ $Theme->setLinkIcon('http'); $Theme->setLinkIcon('https'); $Theme->setLinkIcon('ftp'); $Theme->setLinkIcon('mailto'); $Theme->setLinkIcon('interwiki'); $Theme->setLinkIcon('*', 'url'); $Theme->setButtonSeparator(' '); $Theme->setDateTimeFormat("%A, %B %e, %Y. %l:%M:%S %p %Z"); // may contain time of day $Theme->setDateFormat("%A, %B %e, %Y"); // must not contain time // Controls whether the '?' appears before or after UnknownWikiWords. // The PhpWiki default is for the '?' to appear before. $Theme->setWikiMark('%s?'); /* $ToolbarImages = array( 'RecentChanges' => array( '1 day' => "themes/$theme/buttons/en/1+day.png", '2 days' => "themes/$theme/buttons/en/2+days.png", '3 days' => "themes/$theme/buttons/en/3+days.png", '4 days' => "themes/$theme/buttons/en/4+days.png", '7 days' => "themes/$theme/buttons/en/7+days.png", '30 days' => "themes/$theme/buttons/en/30+days.png", '90 days' => "themes/$theme/buttons/en/90+days.png", '...' => "themes/$theme/buttons/en/alltime.png") ); */ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // (c-file-style: "gnu") // Local Variables: // mode: php // tab-width: 8 // c-basic-offset: 4 // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: ?>