cvs: phpweb /include layout.inc

From: Date: Sun, 02 Mar 2003 18:08:34 +0000
Subject: cvs: phpweb /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-16013@lists.php.net to get a copy of this message
goba Sun Mar 2 13:08:34 2003 EDT Modified files: /phpweb/include layout.inc Log: More on the way to be standard compliant. I have just found out, that HTML 4.01 allows <hr noshade="noshade">, which is good new for us :) | Boolean attributes may legally take a single value: the name of | the attribute itself (e.g., selected="selected"). Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.125 phpweb/include/layout.inc:1.126 --- phpweb/include/layout.inc:1.125 Sun Mar 2 12:56:09 2003 +++ phpweb/include/layout.inc Sun Mar 2 13:08:34 2003 @@ -1,6 +1,6 @@ <?php -/* $Id: layout.inc,v 1.125 2003/03/02 17:56:09 goba Exp $ */ +/* $Id: layout.inc,v 1.126 2003/03/02 18:08:34 goba Exp $ */ // Print an image for a sized spacer function spacer($width = 1, $height = 1, $return = false, $align = false, $extras = false) @@ -98,9 +98,9 @@ function hdelim($color="#000000") { if (!$color) { - return '<hr noshade size="1" />'; + return '<hr noshade="noshade" size="1" />'; } - return sprintf('<hr noshade size="1" color="%s" />', $color ); + return sprintf('<hr noshade="noshade" size="1" color="%s" />', $color ); } # make_link() @@ -249,7 +249,7 @@ <input class="small" type="text" name="pattern" value="" size="30" accesskey="s" /> <small>in the</small> <select name="show" class="small"> -<option value="quickref" selected>function list</option> +<option value="quickref" selected="selected">function list</option> <option value="wholesite">whole site</option> <option value="manual">online documentation [en]</option> <option value="bugdb">bug database</option>

« previous php.mirrors (#16013) next »