{* 
          Warning : This is the admin pages footer only 
          don't be confusing with the public page footer
*}
</div> <!-- pwgMain -->
{if isset($footer_elements)}
{foreach from=$footer_elements item=v}
{$v}
{/foreach}
{/if}
{if isset($debug.QUERIES_LIST)}
<div id="debug">
{$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>
  {$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 -->

  <div id="pageInfos">
 {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 -->

</div> <!-- footer -->
</div> <!-- the_page -->


{combine_script id='jquery.tipTip' load='async' 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
	});
});
{/footer_script}

<!-- BEGIN get_combined_scripts -->
{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}

</body>
</html>