[geeklog-cvs] geeklog: Fixed JavaScript issue with new theme

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Tue Mar 15 18:00:10 EDT 2011


changeset 8172:80b14fded968
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/80b14fded968
user: Tom <websitemaster at cogeco.net>
date: Tue Mar 15 17:59:40 2011 -0400
description:
Fixed JavaScript issue with new theme

diffstat:

 public_html/layout/professional_css/footer.thtml  |  6 +++---
 public_html/layout/professional_css/functions.php |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 02c42b5edf6e -r 80b14fded968 public_html/layout/professional_css/footer.thtml
--- a/public_html/layout/professional_css/footer.thtml	Tue Mar 15 21:55:22 2011 +0000
+++ b/public_html/layout/professional_css/footer.thtml	Tue Mar 15 17:59:40 2011 -0400
@@ -30,15 +30,15 @@
     </div>
     <!-- } #container -->
 
+    {plg_footercode}
+    
 <!-- Depending on the situation, HTML body element's class attribute to specify a value by JavaScript
      The argument from the left, the right block container, the middle block left the right block id attribute value -->
 <script type="text/javascript">
 <!--
   FixHTML('leftblocks', 'centerblocks', 'rightblocks');
 -->
-</script>
-
-    {plg_footercode}
+</script>    
 
 <!-- } footer.thtml -->
 
diff -r 02c42b5edf6e -r 80b14fded968 public_html/layout/professional_css/functions.php
--- a/public_html/layout/professional_css/functions.php	Tue Mar 15 21:55:22 2011 +0000
+++ b/public_html/layout/professional_css/functions.php	Tue Mar 15 17:59:40 2011 -0400
@@ -7,8 +7,8 @@
 
 $_IMAGE_TYPE = 'png';
 
-$_SCRIPTS->setJavaScriptFile('theme.confirm', $_CONF['layout_url'] . '/javascript/confirm.js');
-$_SCRIPTS->setJavaScriptFile('theme.fix_html', $_CONF['layout_url'] . '/javascript/fix_html.js');
+$_SCRIPTS->setJavaScriptFile('theme.confirm', '/layout/' . $_CONF['theme'] . '/javascript/confirm.js');
+$_SCRIPTS->setJavaScriptFile('theme.fix_html', '/layout/' . $_CONF['theme'] . '/javascript/fix_html.js');
 
 /*
  * For left/right block support there is no longer any need for the theme to



More information about the geeklog-cvs mailing list