diff --git a/index.php b/index.php index 7dc0ba7f5ba5e207e04c15633f3ec1f440be668e..66c3a36a8f0cb01eee28d335fff6b5c40e023d67 100644 --- a/index.php +++ b/index.php @@ -41,9 +41,9 @@ if (isset($_GET['u']) } $context = 'http://www1.unl.edu/search/linkedcse/?u='.$_GET['u']; $page->addScriptDeclaration(' - UNL_Search.do_local_search = true; - UNL_Search.local_search_context = "'.$context.'"; - '); + UNL_Search.do_local_search = true; + UNL_Search.local_search_context = "'.$context.'"; + '); $local_results = ' <h3 class="sec_header">Local Results</h3> <div id="local_results"></div>'; @@ -51,11 +51,11 @@ if (isset($_GET['u']) // Default search for no referring site. $page->titlegraphic = '<h1>UNL Search</h1>'; $page->addScriptDeclaration('UNL_Search.do_local_search = false;'); - $page->breadcrumbs = str_replace('Department', 'Search', $page->breadcrumbs); - $page->navlinks = file_get_contents('http://www.unl.edu/ucomm/sharedcode/navigation.html'); - $page->leftcollinks = file_get_contents('http://www.unl.edu/ucomm/sharedcode/relatedLinks.html'); - $page->contactinfo = file_get_contents('http://www.unl.edu/ucomm/sharedcode/footerContactInfo.html'); - $page->footercontent = file_get_contents('http://www.unl.edu/ucomm/sharedcode/footer.html'); + $page->breadcrumbs = str_replace('Department', 'Search', $page->breadcrumbs); + $page->navlinks = file_get_contents('http://www.unl.edu/ucomm/sharedcode/navigation.html'); + $page->leftcollinks = file_get_contents('http://www.unl.edu/ucomm/sharedcode/relatedLinks.html'); + $page->contactinfo = file_get_contents('http://www.unl.edu/ucomm/sharedcode/footerContactInfo.html'); + $page->footercontent = file_get_contents('http://www.unl.edu/ucomm/sharedcode/footer.html'); }