From 86d43090c7692116fd2236f9593187b285141c8d Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <erasmussen2@unl.edu>
Date: Fri, 15 Jul 2011 14:54:57 +0000
Subject: [PATCH] Remove extra call to all.js from optional head region

---
 www/index.php | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/www/index.php b/www/index.php
index c062cc9..4f1ca42 100644
--- a/www/index.php
+++ b/www/index.php
@@ -15,7 +15,6 @@ $page = UNL_Templates::factory($template);
 $page->doctitle = '<title>UNL | Search</title>';
 $local_results = '';
 $page->head .= '
-<script type="text/javascript" src="/wdn/templates_3.0/scripts/all.js"></script>
 <script src="http://www.google.com/jsapi?key=ABQIAAAAfxH7RKwDLHYhDD9dSUZe-RTELkNjcWhKXky6vQZrvQAPA5Uw6xR-eQp2X1fKnLG-UqeKQ_7mwv5CcQ" type="text/javascript"></script>
 <link rel="stylesheet" type="text/css" href="http://directory.unl.edu/css/peoplefinder_default.css" />
 <link rel="stylesheet" type="text/css" href="searchCSS.css" />
@@ -39,7 +38,7 @@ if (isset($_GET['u']) //u is referring site
         $config = HTMLPurifier_Config::createDefault();
         $config->set('Cache.SerializerPath', '/tmp');
         $purifier = new HTMLPurifier($config);
-        
+
         $page->head        .= '<link rel="home" href="'.htmlentities($_GET['u'], ENT_QUOTES).'" />';
         $page->breadcrumbs  = $purifier->purify(UNL_Search::removeRelativePaths($scanned->breadcrumbs, $_GET['u']));
         $page->titlegraphic = $purifier->purify($scanned->titlegraphic);
@@ -54,7 +53,7 @@ if (isset($_GET['u']) //u is referring site
             $page->footercontent = $purifier->purify($scanned->footercontent);
         }
     }
-    
+
     if (isset($_GET['cx'])) {
         // Use their custom search engine instead of the linked one.
         $context = '"'.htmlentities($_GET['cx'], ENT_QUOTES).'"';
@@ -78,7 +77,7 @@ if (isset($_GET['u']) //u is referring site
     $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');
- 
+
 }
 
 
-- 
GitLab