diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-04-10 16:35:21 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-04-10 16:35:21 +0000 |
| commit | 0714f537add9eebe4efa62439ad58d2475387ac4 (patch) | |
| tree | 9da4a0de91b616eea95de3c98d64db46a43e87ee /templates/footer_inc.tpl | |
| parent | a105141b1063563d4ed720c9581417a223205894 (diff) | |
| download | themes-0714f537add9eebe4efa62439ad58d2475387ac4.tar.gz themes-0714f537add9eebe4efa62439ad58d2475387ac4.tar.bz2 themes-0714f537add9eebe4efa62439ad58d2475387ac4.zip | |
upgrade to prototype 1.4
get debugger working again - has vd(object); and a prototype debugger
load debugger by $gBitSmarty->assign( 'loadDebug', TRUE );
load spinner while getting data with:
<script type="text/javascript">/*<![CDATA[*/ show_spinner('spinner'); /*]]>*/</script>
Diffstat (limited to 'templates/footer_inc.tpl')
| -rw-r--r-- | templates/footer_inc.tpl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/templates/footer_inc.tpl b/templates/footer_inc.tpl index db1da61..53d910b 100644 --- a/templates/footer_inc.tpl +++ b/templates/footer_inc.tpl @@ -1,6 +1,4 @@ -{if $jsDebug} - <div id="jsdebug" style="padding:1em; margin:1em; border:0.5em solid #900; background:#fff; color:#000;"></div> +{if $loadDebug} + <div id="jsdebug" style="padding:1em; margin:1em; border:0.5em solid #900; background:#fff; color:#000;">Prototype Debugger:<br /></div> {/if} -{* in preparation of prototype 1.4 - no point in including this yet, since we need to decide if we want to upgrade to 1.4 due to size issues - perhaps gzip prototype? -<div id="spinner" style="position:absolute; top:50%; left:50%; margin-left:-125px; margin-top:-35px; width:250px; line-height:20px; padding:25px 0; border:1px solid #ccc; background:#fff; font-weight:bold; color:#900; text-align:center; display:none;">{biticon ipackage=liberty iname=busy iexplain=Loading} {tr}Loading{/tr}…</div> -*} +<div id="spinner" style="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;"} {tr}Loading{/tr}…</div> |
