1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00
piwigo_ynh/sources/themes/smartpocket/template/footer.tpl

31 lines
1 KiB
Smarty
Raw Normal View History

2014-07-06 13:21:10 +02:00
{if !empty($thumb_navbar)}
{include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar}
{elseif !empty($navbar) and !isset($ELEMENT_CONTENT)}
{include file='navigation_bar.tpl'|@get_extent:'navbar'}
{else}
<div data-role="footer" class="pwg_footer">
<h6>
{'Powered by'|@translate} <a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a>
{$VERSION}
{if isset($CONTACT_MAIL)}
- {'Contact'|@translate}
<a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Webmaster'|@translate}</a>
{/if}
<br>{'View in'|@translate} :
<b>{'Mobile'|@translate}</b> | <a href="{$TOGGLE_MOBILE_THEME_URL}">{'Desktop'|@translate}</a>
</h6>
</div>
{/if}
{footer_script require='jquery'}
document.cookie = 'screen_size='+jQuery(document).width()+'x'+jQuery(document).height()+';path={$COOKIE_PATH}';
{/footer_script}
{get_combined_scripts load='footer'}
{if isset($footer_elements)}
{foreach $footer_elements as $v}
{$v}
{/foreach}
{/if}
</div><!-- /page -->
</body>
</html>