cvs: php-people-web / index.php
| From: | Hannes Magnusson | Date: | Sun, 07 Jun 2009 12:57:02 +0000 |
| Subject: | cvs: php-people-web / index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-4988@lists.php.net to get a copy of this message | ||
bjori Sun Jun 7 12:57:02 2009 UTC
Modified files:
/php-people-web index.php
Log:
Add a little blurb when nothing has been searched for
http://cvs.php.net/viewvc.cgi/php-people-web/index.php?r1=1.5&r2=1.6&diff_format=u
Index: php-people-web/index.php
diff -u php-people-web/index.php:1.5 php-people-web/index.php:1.6
--- php-people-web/index.php:1.5 Sun Jun 7 12:28:26 2009
+++ php-people-web/index.php Sun Jun 7 12:57:01 2009
@@ -123,6 +123,11 @@
</ul>
<!--<p class="warning"><strong>WARNING</strong>: This is just
for fun.</p>-->
<?php
+if (!$USERNAME) {
+ echo "<p>Use the searchbox to search for usernames/names</p>";
+ echo "</body></html>";
+ exit;
+}
$NFO = findPHPUser($USERNAME);
$PEAR = findPEARUser($USERNAME);
$GITHUB = findGitHubUser($NFO["name"]);