Last change
on this file since 15934 was
13545,
checked in by patdenice, 12 years ago
|
Automaticaly set better derivative params for mobile theme according to screen size.
|
File size:
805 bytes
|
Rev | Line | |
---|
[13234] | 1 | {if !empty($navbar)} |
---|
| 2 | {include file='navigation_bar.tpl'|@get_extent:'navbar'} |
---|
| 3 | {else} |
---|
| 4 | <div class="pwg_footer ui-bar-a"> |
---|
| 5 | <h6> |
---|
| 6 | {'Powered by'|@translate} <a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a> |
---|
| 7 | {$VERSION} |
---|
| 8 | {if isset($CONTACT_MAIL)} |
---|
| 9 | - {'Contact'|@translate} |
---|
| 10 | <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Webmaster'|@translate}</a> |
---|
| 11 | {/if} |
---|
[13243] | 12 | <br>{'View in'|@translate} : |
---|
| 13 | <b>{'Mobile'|@translate}</b> | <a href="{$TOGGLE_MOBILE_THEME_URL}">{'Desktop'|@translate}</a> |
---|
[13234] | 14 | </h6> |
---|
| 15 | </div> |
---|
| 16 | {/if} |
---|
[13545] | 17 | {footer_script require='jquery'} |
---|
| 18 | document.cookie = 'screen_size='+jQuery(document).width()+'x'+jQuery(document).height()+';path={$COOKIE_PATH}'; |
---|
| 19 | {/footer_script} |
---|
[13182] | 20 | {get_combined_scripts load='footer'} |
---|
| 21 | </div><!-- /page --> |
---|
| 22 | |
---|
| 23 | </body> |
---|
| 24 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.