Some compatibility fixes for 1.1.4 changes; switched to jsres in header
authorDan
Fri, 25 Apr 2008 13:55:08 -0400
changeset 2 ade40c219b05
parent 1 a14108b9f932
child 3 90390da47ea7
Some compatibility fixes for 1.1.4 changes; switched to jsres in header
darkritual/footer.tpl
darkritual/header.tpl
--- a/darkritual/footer.tpl	Mon Mar 31 21:01:57 2008 -0400
+++ b/darkritual/footer.tpl	Fri Apr 25 13:55:08 2008 -0400
@@ -16,7 +16,7 @@
       Valid <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> &amp; <a href="http://validator.w3.org/check?uri=referer">XHTML</a></span>
     </span>
     
-    <span class="right"><a href="<?php echo $session->append_sid(scriptPath . '/themes/' . $this->tpl_strings['THEME_ID'] . '/credits.php'); ?>">Copyright &copy; <?php echo enano_date('Y'); ?></a></span>
+    <span class="right"><a href="<?php $u = scriptPath . '/themes/' . $this->tpl_strings['THEME_ID'] . '/credits.php'; echo ( is_object(@$session) ) ? $session->append_sid($u) : $u; ?>">Copyright &copy; <?php echo enano_date('Y'); ?></a></span>
     
     <div class="clearer"><span></span></div>
 
--- a/darkritual/header.tpl	Mon Mar 31 21:01:57 2008 -0400
+++ b/darkritual/header.tpl	Fri Apr 25 13:55:08 2008 -0400
@@ -16,7 +16,7 @@
     </script>
     
     <!-- This script automatically loads the other 15 JS files -->
-    <script type="text/javascript" src="{SCRIPTPATH}/includes/clientside/static/enano-lib-basic.js"></script>
+    <script type="text/javascript" src="{SCRIPTPATH}/includes/clientside/jsres.php"></script>
     {ADDITIONAL_HEADERS}
     
     <!-- Enable the modal page editor -->