cvs: phpweb / search.php style.css /include layout.inc

From: Date: Wed, 14 May 2003 19:20:41 +0000
Subject: cvs: phpweb / search.php style.css /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-17659@lists.php.net to get a copy of this message
goba Wed May 14 15:20:41 2003 EDT Modified files: /phpweb search.php style.css /phpweb/include layout.inc Log: Make the horizontal bars look similar in Mozilla then in Internet Explorer (black, one pixel high). Also have hdelim()s in the same color all the time Index: phpweb/search.php diff -u phpweb/search.php:1.75 phpweb/search.php:1.76 --- phpweb/search.php:1.75 Fri Apr 25 08:06:08 2003 +++ phpweb/search.php Wed May 14 15:20:41 2003 @@ -1,5 +1,5 @@ <?php -/* $Id: search.php,v 1.75 2003/04/25 12:06:08 goba Exp $ */ +/* $Id: search.php,v 1.76 2003/05/14 19:20:41 goba Exp $ */ include_once "prepend.inc"; @@ -278,7 +278,7 @@ // If the result element ended (a </div> or a </dl> // depending on htdig version and setup), print out delimiter if (preg_match("!(</div>|</dl>)$!", $result[$i])) { - echo hdelim("#cccccc"); + echo hdelim(); } // Go to next result element Index: phpweb/style.css diff -u phpweb/style.css:1.39 phpweb/style.css:1.40 --- phpweb/style.css:1.39 Tue May 13 14:30:20 2003 +++ phpweb/style.css Wed May 14 15:20:41 2003 @@ -11,6 +11,13 @@ color: white; } +/* Horizontal delimiter defaults */ +hr { + color: black; + background-color: black; + height: 1px; +} + body, ul, td, th { font-family: verdana,arial,helvetica,sans-serif; font-size: 85%; @@ -196,6 +203,7 @@ color: #6666cc; } +/* Used on the credits page [.e, .h, .v and .vr] */ .e { background-color: #ccccff; font-weight: bold; @@ -214,4 +222,3 @@ background-color: #cccccc; text-align: right; } - Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.149 phpweb/include/layout.inc:1.150 --- phpweb/include/layout.inc:1.149 Tue May 13 17:16:38 2003 +++ phpweb/include/layout.inc Wed May 14 15:20:41 2003 @@ -1,6 +1,6 @@ <?php -/* $Id: layout.inc,v 1.149 2003/05/13 21:16:38 imajes Exp $ */ +/* $Id: layout.inc,v 1.150 2003/05/14 19:20:41 goba Exp $ */ // Print an image for a sized spacer function spacer($width = 1, $height = 1, $return = false, $align = false, $extras = false) @@ -92,16 +92,8 @@ return sprintf('<font color="%s"> | </font>', $color ); } -# hdelim() -# print a horizontal delimiter (just a wide line); -# - -function hdelim($color="#000000") { - if (!$color) { - return '<hr noshade="noshade" size="1" />'; - } - return sprintf('<hr noshade="noshade" size="1" color="%s" />', $color ); -} +// A horizontal delimiter (parameter for backward compatibility) +function hdelim($bc) { return '<hr />'; } # make_link() # return a hyperlink to something, within the site

« previous php.mirrors (#17659) next »