From 6926bc2b733aed18c2cdd722f928ef7e0316c2b3 Mon Sep 17 00:00:00 2001
From: Michael Fairchild <mfairchild365@gmail.com>
Date: Wed, 16 Dec 2015 11:21:57 -0600
Subject: [PATCH] Camel Case

---
 www/index.php                      | 8 ++++----
 www/templates/local-footer.tpl.php | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/www/index.php b/www/index.php
index 2d0ab4f..93cfc86 100644
--- a/www/index.php
+++ b/www/index.php
@@ -42,7 +42,7 @@ if (!$isEmbed) {
     $page->breadcrumbs = renderTemplate('templates/breadcrumbs.tpl.php');
 }
 
-$local_results = '';
+$localResults = '';
 $inlineJS = '';
 $apiKey = UNL_Search::getJSAPIKey();
 $params = array(
@@ -107,7 +107,7 @@ if (isset($_GET['u']) && $scanned = UNL_Search::getScannedPage($_GET['u'])) {
     $context = json_encode($context);
     $inlineJS .= "var LOCAL_SEARCH_CONTEXT = {$context};\n";
     
-    $local_results = renderTemplate('templates/google-results.tpl.php', array(
+    $localResults = renderTemplate('templates/google-results.tpl.php', array(
         'title' => $page->titlegraphic,
         'id' => 'local_results',
     ));
@@ -125,12 +125,12 @@ $page->addScriptDeclaration($inlineJS);
 
 $maincontent = '';
 if (!$isEmbed) {
-    $maincontent .= renderTemplate('templates/search-form.tpl.php', array('local_results' => $local_results));
+    $maincontent .= renderTemplate('templates/search-form.tpl.php', array('local_results' => $localResults));
 }
 
 $maincontent .= renderTemplate('templates/search-results.tpl.php', array(
     'isEmbed' => $isEmbed,
-    'local_results' => $local_results
+    'local_results' => $localResults
 ));
 
 if (!$isEmbed) {
diff --git a/www/templates/local-footer.tpl.php b/www/templates/local-footer.tpl.php
index 63a99d3..109c035 100644
--- a/www/templates/local-footer.tpl.php
+++ b/www/templates/local-footer.tpl.php
@@ -14,10 +14,10 @@
     <div class="bp960-wdn-col-one-fourth">
         <div class="wdn-footer-module">
             <?php
-            $related_links = file_get_contents('http://www.unl.edu/sharedcode/relatedLinks.html');
-            $related_links = preg_replace('#<h3>.*</h3>#', '<span role="heading" class="wdn-footer-heading">Related Links</span>', $related_links);
-            $related_links = preg_replace('#<ul>#', '<ul class="wdn-related-links-v1">', $related_links);
-            echo $related_links;
+            $relatedLinks = file_get_contents('http://www.unl.edu/sharedcode/relatedLinks.html');
+            $relatedLinks = preg_replace('#<h3>.*</h3>#', '<span role="heading" class="wdn-footer-heading">Related Links</span>', $relatedLinks);
+            $relatedLinks = preg_replace('#<ul>#', '<ul class="wdn-related-links-v1">', $relatedLinks);
+            echo $relatedLinks;
             ?>
         </div>
     </div>
-- 
GitLab