fix charts
[disclosr.git] / documents / template.inc.php
blob:a/documents/template.inc.php -> blob:b/documents/template.inc.php
--- a/documents/template.inc.php
+++ b/documents/template.inc.php
@@ -68,7 +68,8 @@
 
                             </p>
                             <ul class="nav">
-                                <li><a href="index.php">Home</a></li>
+                                <li><a href="agency.php">By Agency</a></li>
+                                <li><a href="date.php">By Date</a></li>
                                 <li><a href="disclogsList.php">List of Disclosure Logs</a></li>
                                 <li><a href="about.php">About</a></li>
 
@@ -89,7 +90,9 @@
             <footer>
                 <p>Not affiliated with or endorsed by any government agency.</p>
             </footer>
-            <script type="text/javascript">
+              <?php
+            if ($ENV != "DEV") {
+                echo "<script type='text/javascript'>
 
                 var _gaq = _gaq || [];
                 _gaq.push(['_setAccount', 'UA-12341040-4']);
@@ -106,7 +109,9 @@
                     s.parentNode.insertBefore(ga, s);
                 })();
 
-            </script>
+            </script>";
+            }
+            ?>
             <!-- Le javascript
             ================================================== -->
             <!-- Placed at the end of the document so the pages load faster -->