aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/footer.tpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/footer.tpl85
1 files changed, 31 insertions, 54 deletions
diff --git a/admin/themes/default/template/footer.tpl b/admin/themes/default/template/footer.tpl
index 2704ef5c1..e3daa12c3 100644
--- a/admin/themes/default/template/footer.tpl
+++ b/admin/themes/default/template/footer.tpl
@@ -2,82 +2,59 @@
Warning : This is the admin pages footer only
don't be confusing with the public page footer
*}
-</div> <!-- pwgMain -->
+</div>{* <!-- pwgMain --> *}
+
{if isset($footer_elements)}
-{foreach from=$footer_elements item=v}
-{$v}
+{foreach from=$footer_elements item=elt}
+ {$elt}
{/foreach}
{/if}
+
{if isset($debug.QUERIES_LIST)}
<div id="debug">
-{$debug.QUERIES_LIST}
+ {$debug.QUERIES_LIST}
</div>
{/if}
<div id="footer">
<div id="piwigoInfos">
- {* Please, do not remove this copyright. If you really want to,
- contact us on http://piwigo.org to find a solution on how
- to show the origin of the script...
- *}
-
- {'Powered by'|@translate}
- <a class="externalLink" href="{$PHPWG_URL}" title="{'Visit Piwigo project website'|@translate}">
- <span class="Piwigo">Piwigo</span></a>
+ {'Powered by'|translate}
+ <a class="externalLink tiptip" href="{$PHPWG_URL}" title="{'Visit Piwigo project website'|translate}"><span class="Piwigo">Piwigo</span></a>
{$VERSION}
- | <a class="externalLink" href="{$pwgmenu.WIKI}" title="{'Read Piwigo Documentation'|@translate}">{'Documentation'|@translate}</a>
- | <a class="externalLink" href="{$pwgmenu.FORUM}" title="{'Get Support on Piwigo Forum'|@translate}">{'Support'|@translate}</a>
- </div> <!-- piwigoInfos -->
+ | <a class="externalLink tiptip" href="{$pwgmenu.WIKI}" title="{'Read Piwigo Documentation'|translate}">{'Documentation'|translate}</a>
+ | <a class="externalLink tiptip" href="{$pwgmenu.FORUM}" title="{'Get Support on Piwigo Forum'|translate}">{'Support'|translate}</a>
+ </div>
<div id="pageInfos">
- {if isset($debug.TIME) }
- {'Page generated in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) -
- {/if}
+ {if isset($debug.TIME) }
+ {'Page generated in'|translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|translate} {$debug.SQL_TIME}) -
+ {/if}
+ {'Contact'|translate}
+ <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|translate|escape:url}">{'Webmaster'|translate}</a>
+ </div>{* <!-- pageInfos --> *}
- {'Contact'|@translate}
- <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Webmaster'|@translate}</a>
- </div> <!-- pageInfos -->
+</div>{* <!-- footer --> *}
+</div>{* <!-- the_page --> *}
-</div> <!-- footer -->
-</div> <!-- the_page -->
-
-{combine_script id='jquery.tipTip' load='async' path='themes/default/js/plugins/jquery.tipTip.minified.js'}
+{combine_script id='jquery.tipTip' load='footer' path='themes/default/js/plugins/jquery.tipTip.minified.js'}
{footer_script require='jquery.tipTip'}
-jQuery(document).ready(function() {ldelim}
- jQuery('#pwgHead A[title], #footer A[title], .themeActions .tiptip, .languageActions .tiptip').tipTip({ldelim}
- 'delay' : 0,
- 'fadeIn' : 200,
- 'fadeOut' : 200
- });
+jQuery('.tiptip').tipTip({
+ delay: 0,
+ fadeIn: 200,
+ fadeOut: 200
+});
+
+jQuery('a.externalLink').click(function() {
+ window.open(jQuery(this).attr("href"));
+ return false;
});
{/footer_script}
-<!-- BEGIN get_combined_scripts -->
+<!-- BEGIN get_combined -->
{get_combined_scripts load='footer'}
-<!-- END get_combined_scripts -->
-
-{literal}
-<script type='text/javascript'>
- jQuery(document).ready(function() {
- $("a.externalLink").click(function() {
- window.open($(this).attr("href"));
- return false;
- });
- });
-</script>
-{/literal}
-
-{if not $ENABLE_SYNCHRONIZATION}
-{literal}
-<script type='text/javascript'>
- $(document).ready(function() {
- $("#helpSynchro").hide();
- });
-</script>
-{/literal}
-{/if}
+<!-- END get_combined -->
</body>
</html> \ No newline at end of file