summaryrefslogtreecommitdiff
path: root/templates/footer_inc.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-07-09 22:03:21 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-07-09 22:03:21 +0000
commit0deb377d643d9ad65602e7f22e279d9b91ba1c35 (patch)
tree89d94b2c35a2d8cc828c79a16c47ef75f73d76bc /templates/footer_inc.tpl
parent6e9371aa071481c517906edcb58dd6ed64600563 (diff)
downloadthemes-0deb377d643d9ad65602e7f22e279d9b91ba1c35.tar.gz
themes-0deb377d643d9ad65602e7f22e279d9b91ba1c35.tar.bz2
themes-0deb377d643d9ad65602e7f22e279d9b91ba1c35.zip
clean up ajax library calls by only allowing gBitSystem->loadAjax() instead of assigning loadAjax to the templates. please update your files. also the suggest stuff in the group edit page has a pulse again but it's still in a coma - needs a bit more work
Diffstat (limited to 'templates/footer_inc.tpl')
-rw-r--r--templates/footer_inc.tpl10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/footer_inc.tpl b/templates/footer_inc.tpl
index 9951248..48a70eb 100644
--- a/templates/footer_inc.tpl
+++ b/templates/footer_inc.tpl
@@ -1,6 +1,8 @@
-{if $loadAjax}
- {if $loadDebug}
- <div id="jsdebug" style="padding:1em; margin:1em; border:0.5em solid #900; background:#fff; color:#000;">Prototype Debugger:<br /></div>
- {/if}
+{if $gBitSystem->mAjax == 'prototype'}
+ {foreach from=$gBitSystem->mAjaxLibs item=ajaxLib}
+ {if $ajaxLib == 'debugger.js'}
+ <div id="jsdebug" style="padding:1em; margin:1em; border:0.5em solid #900; background:#fff; color:#000;">Prototype Debugger:<br /></div>
+ {/if}
+ {/foreach}
<div id="spinner" style="z-index:1500; position:absolute; top:50%; left:50%; margin-left:-125px; margin-top:-35px; width:250px; line-height:50px; padding:25px 0; border:3px solid #ccc; background:#fff; font-weight:bold; color:#900; text-align:center; display:none;">{biticon ipackage=liberty iname=busy iexplain=Loading style="vertical-align:middle;"}&nbsp;&nbsp;&nbsp;&nbsp;{tr}Loading{/tr}&hellip;</div>
{/if}