[phpcvsview-cvs-updates] phpcvsview/Themes/Default theme.css,1.1,1.2 theme.php,1.1,1.2
Status: Pre-Alpha
Brought to you by:
bcheesem
From: Brian C. <bch...@us...> - 2004-10-03 14:05:04
|
Update of /cvsroot/phpcvsview/phpcvsview/Themes/Default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31668/Themes/Default Modified Files: theme.css theme.php Log Message: Changed HTML output to be compliant with XHTML 1.1 spec. Improved theme support. Index: theme.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/Themes/Default/theme.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** theme.php 3 Oct 2004 11:00:21 -0000 1.1 --- theme.php 3 Oct 2004 14:03:04 -0000 1.2 *************** *** 15,22 **** global $StartTime; $StartTime = microtime(); ! $PageHead = "<html>"; if ($Title != "") { $PageHead .= "<head><title>$Title</title>"; ! $PageHead .= "<link rel=StyleSheet href=\"Themes/Default/theme.css\" type=\"text/css\">"; $PageHead .= "</head>"; } // End of if ($Title != "") --- 15,23 ---- global $StartTime; $StartTime = microtime(); ! $PageHead = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">"; ! $PageHead .= "<html>"; if ($Title != "") { $PageHead .= "<head><title>$Title</title>"; ! $PageHead .= "<link href=\"Themes/Default/theme.css\" rel=\"stylesheet\" type=\"text/css\" />"; $PageHead .= "</head>"; } // End of if ($Title != "") *************** *** 25,32 **** $PageHead .= "<div class=\"title\">$Heading</div>"; } // End of if ($Header != "") ! $PageHead .= "Welcome to our CVS Repository viewer. This page has been dynamically"; $PageHead .= " created with '<a href=\"http://phpcvsview.sourceforge.net/\">phpCVS"; $PageHead .= "Viewer</a>' created by <a href=\"mailto:bch...@us..."; ! $PageHead .= "\">Brian Cheeseman</a>. <br><br>Please feel free to browse our source code.<br><br>"; return $PageHead; } // End of function GetPageHeader($Title="", $Heading="") --- 26,33 ---- $PageHead .= "<div class=\"title\">$Heading</div>"; } // End of if ($Header != "") ! $PageHead .= "<p>Welcome to our CVS Repository viewer. This page has been dynamically"; $PageHead .= " created with '<a href=\"http://phpcvsview.sourceforge.net/\">phpCVS"; $PageHead .= "Viewer</a>' created by <a href=\"mailto:bch...@us..."; ! $PageHead .= "\">Brian Cheeseman</a>.</p><p>Please feel free to browse our source code.</p>"; return $PageHead; } // End of function GetPageHeader($Title="", $Heading="") *************** *** 35,39 **** global $StartTime; $EndTime = microtime(); ! $PageFoot = "<div class=\"footer\">This page was created by <a href=\"http://phpcvsview.sourceforge.net/\">phpCVSView</a> in ".number_format(microtime_diff($StartTime, $EndTime), 3)." seconds.</div>"; $PageFoot .= "</body></html>"; return $PageFoot; --- 36,43 ---- global $StartTime; $EndTime = microtime(); ! $PageFoot = "<div class=\"footer\">This page was created by <a href=\"http://phpcvsview.sourceforge.net/\">phpCVSView</a> in ".number_format(microtime_diff($StartTime, $EndTime), 3)." seconds."; ! $PageFoot .= "<p><a href=\"http://validator.w3.org/check?uri=referer\"><img src=\"http://www.w3.org/Icons/valid-xhtml11\" alt=\"Valid XHTML 1.1!\" height=\"31\" width=\"88\" /></a> "; ! $PageFoot .= "<a href=\"http://jigsaw.w3.org/css-validator/check/referer\"><img style=\"border:0;width:88px;height:31px\" src=\"http://jigsaw.w3.org/css-validator/images/vcss\" alt=\"Valid CSS!\" /></a></p>"; ! $PageFoot .= "</div>"; $PageFoot .= "</body></html>"; return $PageFoot; Index: theme.css =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/Themes/Default/theme.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** theme.css 3 Oct 2004 11:00:21 -0000 1.1 --- theme.css 3 Oct 2004 14:03:04 -0000 1.2 *************** *** 1,8 **** body { ! margin:3px 3px 3px 3px; padding:0px; ! font-family: Tahoma, arial, sans-serif; ! font-size: 12pt; } .footer --- 1,33 ---- body { ! margin-top: 3px; ! margin-bottom: 3px; ! margin-left: 3px; ! margin-right: 3px; padding:0px; ! font-family: Verdana, arial, sans-serif; ! font-size: 10pt; ! background-color: #ffffff; ! color: #000000; ! } ! img ! { ! border: none; ! } ! a:link,a:active,a:visited ! { ! color: #6666ff; ! text-decoration: none; ! font-weight: bold; ! } ! a:hover ! { ! color: #9966ff; ! text-decoration: underline; ! font-weight: bold; ! } ! .head ! { ! background-color: #cccccc; } .footer *************** *** 13,17 **** .quicknav { ! font-size: 8pt; text-align: left; } --- 38,42 ---- .quicknav { ! font-size: 10pt; text-align: left; } *************** *** 22,29 **** font-weight: bold; } table { ! margin:0px 0px 0px 0px; ! font-size: 9pt; border: 0px none; width: 100%; --- 47,62 ---- font-weight: bold; } + .row1 + { + background-color: #ffffff; + } + .row2 + { + background-color: #ddddff; + } table { ! /* margin:0px 0px 0px 0px; */ ! font-size: 10pt; border: 0px none; width: 100%; *************** *** 34,36 **** --- 67,70 ---- { padding: 3px; + white-space: nowrap; } |