cvs: phpweb / searchbar.php

From: Date: Fri, 24 Jan 2003 20:05:56 +0000
Subject: cvs: phpweb / searchbar.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-15298@lists.php.net to get a copy of this message
goba Fri Jan 24 15:05:56 2003 EDT Modified files: /phpweb searchbar.php Log: Make fonts smaller. They don't need to be read all the time, as the usage of this search bar gets to be a rountine task. Also advance copyright year. Index: phpweb/searchbar.php diff -u phpweb/searchbar.php:1.10 phpweb/searchbar.php:1.11 --- phpweb/searchbar.php:1.10 Sun Jan 19 08:28:26 2003 +++ phpweb/searchbar.php Fri Jan 24 15:05:55 2003 @@ -1,10 +1,10 @@ <?php -require_once 'prepend.inc'; +include_once "prepend.inc"; // Gecko would like to see the target to be _content, while IE would // like to see the target to be _main. Other browsers are not expected // to visit this page, or support for them will be added in the future. -if (preg_match('/Gecko/', $HTTP_SERVER_VARS['HTTP_USER_AGENT'])) { +if (preg_match("!Gecko!", $_SERVER['HTTP_USER_AGENT'])) { $target = "_content"; } else { $target = "_main"; @@ -17,7 +17,7 @@ <style> select, input, button, body, p, td { font-family: Verdana, Arial, Helvetica, Sans Serif; - font-size: 13px; + font-size: 75%; } .title { font-size: 25px; @@ -64,7 +64,7 @@ <tr> <td colspan="2"> <div class="indented"> - <small><a href="/copyright.php" target="<?php echo $target ?>">Copyright &copy; 2002 The PHP Group</a><br />All rights reserved.</small> + <a href="/copyright.php" target="<?php echo $target ?>">Copyright &copy; 2002,2003 The PHP Group</a><br />All rights reserved. </div> </td> </tr>

« previous php.mirrors (#15298) next »