From: <ce...@us...> - 2004-01-08 13:19:40
|
Update of /cvsroot/csseditor/htdocs/templates In directory sc8-pr-cvs1:/tmp/cvs-serv27217 Added Files: admin.php common.php conflict.php diff.php edit.php find.php history.php latex.php prefs.php preview.php rss.php save.php view.php wiki.css Log Message: Original Tavi 0.25 templates --- NEW FILE: admin.php --- <?php // $Id: admin.php,v 1.1 2004/01/08 13:19:36 cell Exp $ require_once(TemplateDir . '/common.php'); // The admin template is passed an associative array with the following // elements: // // html => A string containing the XHTML markup of the form to be // displayed. function template_admin($args) { template_common_prologue(array('norobots' => 1, 'title' => TMPL_Administration, 'heading' => TMPL_Administration, 'headlink' => '', 'headsufx' => '', 'toolbar' => 0)); ?> <div id="body"> <?php print $args['html']; ?> </div> <?php template_common_epilogue(array('twin' => '', 'edit' => '', 'editver' => 0, 'history' => '', 'timestamp' => '', 'nosearch' => 1)); } ?> --- NEW FILE: common.php --- <?php // $Id: common.php,v 1.1 2004/01/08 13:19:36 cell Exp $ // This function generates the common prologue and header // for the various templates. // // Its parameters are passed as an associative array with the following // members: // // 'norobots' => An integer; if nonzero, robots will be forbidden to // index the page or follow links from the page. // 'title' => A string containing the page title. This function // will append ' - WikiName' to the title. // 'heading' => A string containing the page's heading. // 'headlink' => A string. If not empty, it will be appended to the // page's heading as a link to find the contents of the // string in the database. // 'headsufx' => A string containing the heading suffix. If not // empty, it will be printed after the heading link. // 'toolbar' => An integer; if nonzero, the toolbar will be displayed. function template_common_prologue($args) { global $WikiName, $HomePage, $WikiLogo, $MetaKeywords, $MetaDescription; global $StyleScript, $SeparateTitleWords, $SeparateHeaderWords; $keywords = ' ' . html_split_name($args['headlink']); $keywords = str_replace('"', '"', $keywords); preg_match("/^(.*)\//", $args['headlink'], $path); // Find startpath of page ob_start(); // Start buffering output. if($SeparateTitleWords) { $args['title'] = html_split_name($args['title']); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns = "http://www.w3.org/1999/xhtml"> <head> <meta name="KEYWORDS" content="<?php print $MetaKeywords . $keywords; ?>" /> <meta name="DESCRIPTION" content="<?php print $MetaDescription; ?>" /> <?php if($args['norobots']) { ?> <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" /> <?php } ?> <link rel="STYLESHEET" href="<?php print $StyleScript; ?>" type="text/css" /> <title><?php print $args['title'] . ' - ' . $WikiName; ?></title> </head> <body> <div id="header"> <div class="logo"> <a href="<?php print viewURL($HomePage); ?>"><img src="<?php print $WikiLogo; ?>" alt="[Home]" /></a> </div> <h1> <?php print $args['heading']; if($args['headlink'] != '') { ?> <a class="title" href="<?php print findURL($args['headlink']); ?>"> <?php if($SeparateHeaderWords) { print html_split_name($args['headlink']); } else { print $args['headlink']; } ?></a> <?php } print $args['headsufx']; ?> </h1> <div id="toolbar-top"> <?php if($args['toolbar']) { print html_toolbar_top($path[1]); } ?> </div> <hr /> </div> <?php } // This function generates the common prologue and header // for the various templates. // // Its parameters are passed as an associative array with the following // members: // // 'twin' => A string containing the page's name; if not empty, // twin pages will be sought and printed. // 'edit' => A string containing the page's name; if not empty, // an edit link will be printed. // 'editver' => An integer containing the page's version; if not // zero, the edit link will be directed at the given // version. If it is -1, the page cannot be edited, // and a message to that effect will be printed. // 'history' => A string containing the page's name; if not empty, // a history link will be printed. // 'timestamp' => Timestamp for the page. If not empty, a 'document // last modified' note will be printed. // 'nosearch' => An integer; if nonzero, the search form will not appear. function template_common_epilogue($args) { global $FindScript, $pagestore; ?> <div id="footer"> <hr /> <div id="toolbar-bottom"> <?php if($args['edit']) { if($args['editver'] == 0) { echo '<a href="'. editUrl($args['edit']) . '">'.TMPL_EditDocument.'</a>'; } else if($args['editver'] == -1) { echo TMPL_NoEditDocument; } else { echo '<a href="' . editUrl($args['edit'], $args['editver']) . '">'. TMPL_EditArchiveVersion . '</a>'; } if($args['history']) { print ' | '; } } if($args['history']) { echo '<a href="'. historyURL($args['history']). '">'. TMPL_ViewDocHistory . '</a><br />'; } if($args['timestamp']) { echo "\n</div>\n". TMPL_DocLastModified . ' '. html_time($args['timestamp']) . '<br />'; } if($args['twin'] != '') { if(count($twin = $pagestore->twinpages($args['twin']))) { echo TMPL_TwinPages . ' '; for($i = 0; $i < count($twin); $i++) { print html_twin($twin[$i][0], $twin[$i][1]) . ' <br />'; } } } if(!$args['nosearch']) { ?> <form method="get" action="<?php print $FindScript; ?>"> <div class="form"> <input type="hidden" name="action" value="find" /> <?php print TMPL_Search; ?> <input type="text" name="find" size="20" /> </div> </form> <?php } ?> </div> </body> </html> <?php $size = ob_get_length(); header("Content-Length: $size"); ob_end_flush(); } ?> --- NEW FILE: conflict.php --- <?php // $Id: conflict.php,v 1.1 2004/01/08 13:19:36 cell Exp $ require_once(TemplateDir . '/common.php'); // The conflict template is passed an associative array with the following // elements: // // page => A string containing the name of the wiki page being edited. // text => A string containing the wiki markup of the version that was // saved while the user was editing the page. // html => A string containing the XHTML markup of the version of the // page that was saved while the user was editing the page. // usertext => A string containing the wiki markup of the text the user // tried to save. // timestamp => Timestamp of last edit to page. // nextver => An integer; the expected version of this document when saved. function template_conflict($args) { global $EditRows, $EditCols, $UserName, $PrefsScript; template_common_prologue(array('norobots' => 1, 'title' => TMPL_Editing .' '. $args['page'], 'heading' => TMPL_Editing .' ', 'headlink' => $args['page'], 'headsufx' => '', 'toolbar' => 1)); ?> <div id="body"> <p class="warning"><?php print TMPL_WarningOtherEditing; ?></p> <h1><?php print TMPL_CurrentVersion; ?></h1> <form method="post" action="<?php print saveURL($args['page']); ?>"> <div class="form"> <input type="submit" name="Save" value="<?php print TMPL_ButtonSave; ?>" /> <input type="submit" name="Preview" value="<?php print TMPL_ButtonPreview; ?>" /> <?php if($UserName != '') { print TMPL_YourUsername .' '. html_ref($UserName, $UserName); } else { echo TMPL_VisitPrefs . "\n"; } ?><br /> <input type="hidden" name="nextver" value="<?php print $args['nextver']; ?>" /> <textarea name="document" rows="<?php print $EditRows; ?>" cols="<?php print $EditCols; ?>" wrap="virtual"><?php print str_replace('<', '<', str_replace('&', '&', $args['text'])); ?></textarea><br /> <?php echo TMPL_SummaryOfChange; ?> <input type="text" name="comment" size="40" value="" /><br /> <?php echo TMPL_AddToCategory; ?> <input type="text" name="categories" size="40" value="" /> <hr /> <h1><?php echo TMPL_YourChanges; ?></h1> <textarea name="discard" rows="<?php print $EditRows; ?>" cols="<?php print $EditCols; ?>" wrap="virtual"><?php print str_replace('<', '<', str_replace('&', '&', $args['usertext'])); ?></textarea><br /> </div> </form> <h1><?php echo TMPL_PreviewCurrentVersion; ?></h1> <?php print $args['html']; ?> </div> <?php template_common_epilogue(array('twin' => $args['page'], 'edit' => '', 'editver' => 0, 'history' => $args['page'], 'timestamp' => $args['timestamp'], 'nosearch' => 0)); } ?> --- NEW FILE: diff.php --- <?php // $Id: diff.php,v 1.1 2004/01/08 13:19:36 cell Exp $ require_once(TemplateDir . '/common.php'); // The diff template is passed an associative array with the following // elements: // // page => A string containing the name of the wiki page being viewed. // diff_html => A string containing the XHTML markup for the differences. // html => A string containing the XHTML markup for the page itself. // editable => An integer. Will be nonzero if user is allowed to edit page. // timestamp => Timestamp of last edit to page. function template_diff($args) { template_common_prologue(array('norobots' => 1, 'title' => TMPL_DifferencesIn .' '. $args['page'], 'heading' => TMPL_DifferencesIn .' ', 'headlink' => $args['page'], 'headsufx' => '', 'toolbar' => 1)); ?> <div id="body"> <strong><?php echo TMPL_DifferenceBetweenVersions; ?></strong><br /><br /> <?php print $args['diff_html']; ?> <hr /> <?php print $args['html']; ?> </div> <?php template_common_epilogue(array('twin' => $args['page'], 'edit' => $args['page'], 'editver' => $args['editable'] ? 0 : -1, 'history' => $args['page'], 'timestamp' => $args['timestamp'], 'nosearch' => 0)); } ?> --- NEW FILE: edit.php --- <?php // $Id: edit.php,v 1.1 2004/01/08 13:19:36 cell Exp $ require_once(TemplateDir . '/common.php'); // The edit template is passed an associative array with the following // elements: // // page => A string containing the name of the wiki page being edited. // text => A string containing the wiki markup of the wiki page. // timestamp => Timestamp of last edit to page. // nextver => An integer; the expected version of this document when saved. // archive => An integer. Will be nonzero if this is not the most recent // version of the page. function template_edit($args) { global $EditRows, $EditCols, $UserName, $PrefsScript; template_common_prologue(array('norobots' => 1, 'title' => TMPL_Editing .' '. $args['page'], 'heading' => TMPL_Editing .' ', 'headlink' => $args['page'], 'headsufx' => '', 'toolbar' => 1)); ?> <div id="body"> <form method="post" action="<?php print saveURL($args['page']); ?>"> <div class="form"> <input type="submit" name="Save" value="<?php echo TMPL_ButtonSave; ?>" /> <input type="submit" name="Preview" value="<?php echo TMPL_ButtonPreview; ?>" /> <?php if($UserName != '') { print TMPL_YourUsername .' '. html_ref($UserName, $UserName); } else { echo TMPL_VisitPrefs . "\n"; } ?><br /> <input type="hidden" name="nextver" value="<?php print $args['nextver']; ?>" /> <?php if($args['archive']) {?> <input type="hidden" name="archive" value="1" /> <?php }?> <textarea name="document" rows="<?php print $EditRows; ?>" cols="<?php print $EditCols; ?>" wrap="virtual"><?php print str_replace('<', '<', str_replace('&', '&', $args['text'])); ?></textarea><br /> <?php echo TMPL_SummaryOfChange; ?> <input type="text" name="comment" size="40" value="" /><br /> <?php echo TMPL_AddToCategory; ?> <input type="text" name="categories" size="40" value="" /> </div> </form> </div> <?php template_common_epilogue(array('twin' => $args['page'], 'edit' => '', 'editver' => '', 'history' => $args['page'], 'timestamp' => $args['timestamp'], 'nosearch' => 0)); } ?> --- NEW FILE: find.php --- <?php // $Id: find.php,v 1.1 2004/01/08 13:19:36 cell Exp $ require_once(TemplateDir . '/common.php'); // The find template is passed an associative array with the following // elements: // // find => A string containing the text that was searched for. // pages => A string containing the XHTML markup for the list of pages // found containing the given text. function template_find($args) { template_common_prologue(array('norobots' => 1, 'title' => TMPL_Find .' '. $args['find'], 'heading' => TMPL_Find .' '. $args['find'], 'headlink' => '', 'headsufx' => '', 'toolbar' => 1)); ?> <div id="body"> <?php print $args['pages']; ?> </div> <?php template_common_epilogue(array('twin' => '', 'edit' => '', 'editver' => 0, 'history' => '', 'timestamp' => '', 'nosearch' => 0)); } ?> --- NEW FILE: history.php --- <?php // $Id: history.php,v 1.1 2004/01/08 13:19:36 cell Exp $ require_once(TemplateDir . '/common.php'); // The history template is passed an associative array with the following // elements: // // page => A string containing the name of the wiki page. // history => A string containing the XHTML markup for the history form. // diff => A string containing the XHTML markup for the changes made. function template_history($args) { global $DiffScript; template_common_prologue(array('norobots' => 1, 'title' => TMPL_HistoryOf .' '. $args['page'], 'heading' => TMPL_HistoryOf .' ', 'headlink' => $args['page'], 'headsufx' => '', 'toolbar' => 1)); ?> <div id="body"> <form method="get" action="<?php print $DiffScript; ?>"> <div class="form"> <input type="hidden" name="action" value="diff" /> <input type="hidden" name="page" value="<?php print $args['page']; ?>" /> <table border="0"> <tr><td><strong><?php echo TMPL_Older; ?></strong></td> <td><strong><?php echo TMPL_Newer; ?></strong></td><td></td></tr> <?php print $args['history']; ?> <tr><td colspan="3"> <input type="submit" value="<?php echo TMPL_ButtonComputeDifference; ?>" /></td></tr> </table> </div> </form> <hr /><br /> <strong><?php echo TMPL_ChangesLastAuthor; ?></strong><br /><br /> <?php print $args['diff']; ?> </div> <?php template_common_epilogue(array('twin' => $args['page'], 'edit' => '', 'editver' => 0, 'history' => '', 'timestamp' => '', 'nosearch' => 0)); } ?> --- NEW FILE: latex.php --- <?php // $Id: latex.php,v 1.1 2004/01/08 13:19:36 cell Exp $ // // 2002/03/18 Troy D. Straszheim <tr...@re...> // function template_view($page, $latex) { global $WikiName, $HomePage, $WikiLogo, $MetaKeywords, $MetaDescription; global $FindScript, $pagestore; ?> \documentclass{article} % % Latex generating code contributed to the wiki project by % Troy D. Straszheim <tr...@re...> % % % The latex at the top and at the very bottom of this file come from % template/latex.php verbatim. % % % uncomment these selectively to use various latex packages (fancyhdr, % graphicx) and/or to add an EPS graphic of your choosing % %\usepackage{fancyhdr} %\pagestyle{fancy} %\usepackage{graphicx} %\lhead{\large{\texttt{<?php print $HomePage . ":". $page; ?>}}} % \rhead{\resizebox{2.5in}{!}{\includegraphics[trim=0 10 160 0, clip]{cb.eps}}} % %\chead{} %\lfoot{\today} %\cfoot{} %\rfoot{} %\renewcommand{\headrulewidth}{0.4pt} %\renewcommand{\footrulewidth}{0.4pt} \setlength{\parskip}{0.25cm} \begin{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % here starts the latex generated by parse/latex.php % % and action/latex.php % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% <?php print $latex; ?> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % here resumes template/latex.php generated latex. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \end{document} <?php } ?> --- NEW FILE: prefs.php --- <?php // $Id: prefs.php,v 1.1 2004/01/08 13:19:36 cell Exp $ require('parse/html.php'); require_once(TemplateDir . '/common.php'); function template_prefs() { global $PrefsScript, $HTTP_REFERER, $HistMax, $TimeZoneOff; global $AuthorDiff, $EditRows, $EditCols, $UserName, $DayLimit, $MinEntries; template_common_prologue(array('norobots' => 1, 'title' => TMPL_Prefs, 'heading' => TMPL_Prefs, 'headlink' => '', 'headsufx' => '', 'toolbar' => 0)); ?> <div id="body"> <form action="<?php print $PrefsScript; ?>" method="post"> <div class="form"> <input type="hidden" name="referrer" value="<?php print $HTTP_REFERER; ?>" /> <strong>User name</strong><br /><br /> This feature displays your name on RecentChanges to the right of pages you edit. If left blank, your IP address will be displayed instead.<br /><br /> <input type="text" name="user" value="<?php print $UserName; ?>" /><br /> <hr /> <strong>Edit box</strong><br /><br /> Rows: <input type="text" name="rows" value="<?php print $EditRows; ?>" /><br /> Columns: <input type="text" name="cols" value="<?php print $EditCols; ?>" /><br /> <hr /> <strong>History lists</strong><br /><br /> Enter here the maximum number of entries to display in a document's history list.<br /><br /> <input type="text" name="hist" value="<?php print $HistMax; ?>" /><br /><br /> <strong>RecentChanges</strong><br /><br /> Choose your current time here, so the server may figure out what time zone you are in.<br /><br /> <select name="tzoff"> <?php for($i = -23.5 * 60; $i <= 23.5 * 60; $i += 30) { ?> <option value="<?php print $i; ?>"<?php if($i == $TimeZoneOff) { print ' selected="selected"'; } ?>><?php print date('Y-m-d H:i', time() + $i * 60); ?></option> <?php } ?> </select><br /><br /> Enter here the number of days of edits to display on RecentChanges or any other subscription list. Set this to zero if you wish to see all pages in RecentChanges, regardless of how recently they were edited.<br /><br /> <input type="text" name="days" value="<?php print $DayLimit; ?>" /><br /><br /> <em>But</em> display at least this many entries in RecentChanges and other subscription lists:<br /><br /> <input type="text" name="min" value="<?php print $MinEntries; ?>" /><br /><br /> <input type="checkbox" name="auth"<?php if($AuthorDiff) { print ' checked="checked"'; } ?> /> History display should show <em>all</em> changes made by the latest author. Otherwise, show only the last change made.<br /> <hr /><br /> <input type="submit" name="Save" value="Save" /> </div> </form> </div> <?php template_common_epilogue(array('twin' => '', 'edit' => '', 'editver' => 0, 'history' => '', 'timestamp' => '', 'nosearch' => 1)); } ?> --- NEW FILE: preview.php --- <?php // $Id: preview.php,v 1.1 2004/01/08 13:19:36 cell Exp $ require_once(TemplateDir . '/common.php'); // The preview template is passed an associative array with the following // elements: // // page => A string containing the name of the wiki page being viewed. // text => A string containing the wiki markup of the wiki page. // html => A string containing the XHTML rendering of the wiki page. // timestamp => Timestamp of last edit to page. // nextver => An integer; the expected version of this document when saved. // archive => An integer. Will be nonzero if this is not the most recent // version of the page. function template_preview($args) { global $EditRows, $EditCols, $categories, $UserName, $comment, $PrefsScript; template_common_prologue(array('norobots' => 1, 'title' => TMPL_Previewing .' '. $args['page'], 'heading' => TMPL_Previewing .' ', 'headlink' => $args['page'], 'headsufx' => '', 'toolbar' => 1)); ?> <div id="body"> <form method="post" action="<?php print saveURL($args['page']); ?>"> <div class="form"> <input type="submit" name="Save" value="<?php echo TMPL_ButtonSave; ?>" /> <input type="submit" name="Preview" value="<?php echo TMPL_ButtonPreview; ?>" /> <?php if($UserName != '') { print TMPL_YourUsername . ' '. html_ref($UserName, $UserName); } else { echo TMPL_VisitPrefs . "\n"; } ?><br /> <input type="hidden" name="nextver" value="<?php print $args['nextver']; ?>" /> <?php if($args['archive']) {?> <input type="hidden" name="archive" value="1" /> <?php }?> <textarea name="document" rows="<?php print $EditRows; ?>" cols="<?php print $EditCols; ?>" wrap="virtual"><?php print str_replace('<', '<', str_replace('&', '&', $args['text'])); ?></textarea><br /> <?php echo TMPL_SummaryOfChange; ?> <input type="text" name="comment" size="40" value="<?php print $comment; ?>" /><br /> <?php echo TMPL_AddToCategory; ?> <input type="text" name="categories" size="40" value="<?php print $categories; ?>" /> </div> </form> <h1><?php echo TMPL_Preview; ?></h1> <hr /> <?php print $args['html']; ?> </div> <?php template_common_epilogue(array('twin' => $args['page'], 'edit' => '', 'editver' => 0, 'history' => $args['page'], 'timestamp' => $args['timestamp'], 'nosearch' => 0)); } ?> --- NEW FILE: rss.php --- <?php // $Id: rss.php,v 1.1 2004/01/08 13:19:36 cell Exp $ // The RSS template is passed an associative array with the following // elements: // // itemseq => A string containing the rdf:li elements for the syndication. // itemdesc => A string containing the item elements for the syndication. function template_rss($args) { global $ScriptBase, $WikiName, $MetaDescription, $InterWikiPrefix; global $Charset; header('Content-type: text/plain'); ?> <?php print '<?xml '; ?>version="1.0" encoding="<?php print $Charset; ?>"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wiki="http://purl.org/rss/1.0/modules/wiki/" > <!-- Add a "days=nnn" URL parameter to get nnn days of information (the default is 2). Use days=-1 to show entire history. Add a "min=nnn" URL parameter to force a minimum of nnn entries in the output (the default is 10). --> <channel rdf:about="<?php print $ScriptBase; ?>"> <title><?php print $WikiName; ?></title> <link><?php print $ScriptBase; ?></link> <description><?php print $MetaDescription; ?></description> <wiki:interwiki> <rdf:Description link="<?php print $ScriptBase . '?'; ?>"> <rdf:value><?php print $InterWikiPrefix; ?></rdf:value> </rdf:Description> </wiki:interwiki> <items> <rdf:Seq> <?php print $args['itemseq']; ?> </rdf:Seq> </items> </channel> <?php print $args['itemdesc']; ?> </rdf:RDF> <?php } ?> --- NEW FILE: save.php --- <?php // $Id: save.php,v 1.1 2004/01/08 13:19:36 cell Exp $ // The save template is passed an associative array with the following // elements: // // page => A string containing the name of the wiki page being saved. // text => A string containing the wiki markup for the given page. function template_save($args) { // You might use this to put up some sort of "thank-you" page like Ward // does in WikiWiki, or to display a list of words that fail spell-check. // For now, we simply redirect to the view action for this page. header('Location: ' . viewURL($args['page'])); } ?> --- NEW FILE: view.php --- <?php // $Id: view.php,v 1.1 2004/01/08 13:19:36 cell Exp $ require_once(TemplateDir . '/common.php'); // The view template is passed an associative array with the following // elements: // // page => A string containing the name of the wiki page being viewed. // html => A string containing the XHTML rendering of the wiki page. // editable => An integer. Will be nonzero if user is allowed to edit page. // timestamp => Timestamp of last edit to page. // archive => An integer. Will be nonzero if this is not the most recent // version of the page. // version => Version number of page version being viewed. function template_view($args) { template_common_prologue(array('norobots' => $args['archive'], 'title' => $args['page'], 'heading' => '', 'headlink' => $args['page'], 'headsufx' => $args['archive'] ? ' (' . html_timestamp($args['timestamp']) . ')' : '', 'toolbar' => 1)); ?> <div id="body"> <?php print $args['html']; ?> </div> <?php template_common_epilogue(array('twin' => $args['page'], 'edit' => $args['page'], 'editver' => !$args['editable'] ? -1 : ($args['archive'] ? $args['version'] : 0), 'history' => $args['page'], 'timestamp' => $args['timestamp'], 'nosearch' => 0)); } ?> --- NEW FILE: wiki.css --- /* WikkiTikkiTavi default style sheet. */ /* $Id: wiki.css,v 1.1 2004/01/08 13:19:36 cell Exp $ */ body { background-color: #f5f5f5; color: #000000; margin-right: 3%; margin-left: 3%; } a:link { color: #97694f; background: transparent; } a:visited { color: #4e2f2f; background: transparent; } a:active { color: #7f3030; background: transparent; } a.title { text-decoration: none; } img { border: 0; } div.logo { float: right; } table.diff { width: 95%; } td.diff-added { background-color: #cfffcf; color: #000000; } td.diff-removed { background-color: #ffffaf; color: #000000; } h1 { margin-bottom: 0; } textarea { width: 100%; } dl, ul, ol { margin-top: 0px; margin-bottom: 0px; } form { margin-top: 0px; } p.warning { color: #ff3f3f; background: transparent; } span.twin { font-size: smaller; } tt { background: transparent; color: #383838; } pre { background: transparent; color: #383838; } /* Used together with TitleSearch */ ul.oneline { list-style-type: none; display: inline; margin-left: 0em; } ul.oneline li { display: inline; } ul.prelist { list-style-type: none; font-family: monospace; } div#header #logo { float: right; } div#header hr { clear: both; } /* Some php-syntax highlighting defaults */ pre.phpsource { border-width: 1px; border-style: solid; border-color: #000000; background-color: #d5d5d5; padding: 0.3em; } .phpsource span.html { color: #000000; } .phpsource span.default { color: #0000CC; } .phpsource span.keyword { color: #11cc11; } .phpsource span.string { color: #CC0000; } .phpsource span.comment { color: #FF9900; } @media print { body { background-color: #ffffff; color: #000000; } div#header #toolbar-top { display: none; } div#footer #toolbar-bottom { display: none; } div#footer form { display: none; } } |