cvs: php-people-web /include layout.php
| From: | Hannes Magnusson | Date: | Sun, 07 Jun 2009 15:46:51 +0000 |
| Subject: | cvs: php-people-web /include layout.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-4995@lists.php.net to get a copy of this message | ||
bjori Sun Jun 7 15:46:51 2009 UTC
Modified files:
/php-people-web/include layout.php
Log:
Make it possible to submit the form
http://cvs.php.net/viewvc.cgi/php-people-web/include/layout.php?r1=1.1&r2=1.2&diff_format=u
Index: php-people-web/include/layout.php
diff -u php-people-web/include/layout.php:1.1 php-people-web/include/layout.php:1.2
--- php-people-web/include/layout.php:1.1 Sun Jun 7 15:35:14 2009
+++ php-people-web/include/layout.php Sun Jun 7 15:46:51 2009
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.php,v 1.1 2009/06/07 15:35:14 bjori Exp $ */
+/* $Id: layout.php,v 1.2 2009/06/07 15:46:51 bjori Exp $ */
function site_header($title) {
?>
@@ -22,10 +22,10 @@
<body>
<h1 id="header"><a href="http://php.net/index.php">PHP: Hypertext
Preprocessor</a> - <a href="http://people.php.net/index.php"
rel="home">Developers Profile pages</a></h1>
- <div id="searchbox">
+ <form id="searchbox" method="get" action="user.php">
<label for="search">User search</label>
- <input type="text" name="q" id="search" />
- </div>
+ <input type="text" name="username" id="search" />
+ </form>
<script type="text/javascript" src="js/search.js"></script>
<ul id="mainmenu">
<li><a href="http://php.net/downloads.php">Downloads</a></li>