Commit: ee75f3f2bf1d3e4dcc6e4f16ca870926cf3077db Author: Hannes Magnusson <[email protected]> Thu, 12 Dec 2013 17:04:18 -0800 Parents: ecf06fbb4385ff93defdff6c2751932d347b2ba1 Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=ee75f3f2bf1d3e4dcc6e4f16ca870926cf3077db Log: Include the search stylesheet Changed paths: M include/functions.inc Diff: diff --git a/include/functions.inc b/include/functions.inc index e1b4848..e624aac 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -27,9 +27,12 @@ function head($title="") { array("href" => "/manage/github.php", "text" => "Github Repos"), array("href" => "/login.php?action=logout", "text" => "Logout"), ); + $CSS = array(); $SEARCH = array(); + if (strstr($_SERVER["SCRIPT_FILENAME"], "users.php")) { $SEARCH = array("method" => "get", "action" => "/manage/users.php", "placeholder" => "Search profiles", "name" => "search"); + $CSS[] = "/shared/styles/user-autocomplete.css"; } if (strstr($_SERVER["SCRIPT_FILENAME"], "event.php")) { $SEARCH = array("method" => "get", "action" => "/manage/event.php", "placeholder" => "Search Events", "name" => "search"); -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
