From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- buildscripts/index/search.php | 70 +++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'buildscripts/index/search.php') diff --git a/buildscripts/index/search.php b/buildscripts/index/search.php index a34363f4..23948ca5 100644 --- a/buildscripts/index/search.php +++ b/buildscripts/index/search.php @@ -1,36 +1,36 @@ -find(strtolower($keyword)); - $content=''; - foreach($results as $entry) - $content.="
Total $count pages matching keyword ".htmlentities($keyword).".\n
No page matches ".htmlentities($keyword).".
"; -} -else - $content="Please specify a keyword to search for.
"; - -$page=file_get_contents(dirname(__FILE__).'/index.html'); -$page=preg_replace('/.*/ms',$content,$page); -if($keyword!=='') - $page=preg_replace('/find(strtolower($keyword)); + $content=''; + foreach($results as $entry) + $content.="Total $count pages matching keyword ".htmlentities($keyword).".\n
No page matches ".htmlentities($keyword).".
"; +} +else + $content="Please specify a keyword to search for.
"; + +$page=file_get_contents(dirname(__FILE__).'/index.html'); +$page=preg_replace('/.*/ms',$content,$page); +if($keyword!=='') + $page=preg_replace('/ \ No newline at end of file -- cgit v1.2.3