1 | {* $ Id: footer.tpl 2010-04-03 Par Gotcha pour son thème "Sobre" $ *} |
---|
2 | |
---|
3 | {literal} |
---|
4 | <script type="text/javascript"> |
---|
5 | jQuery().ready(function(jQuery){ |
---|
6 | stt = jQuery('#scrolltotop'); |
---|
7 | jQuery(window).scroll(function(){ |
---|
8 | scrollTop = jQuery(window).scrollTop(); |
---|
9 | jQuery('#scrolltotop a').click(function(){ |
---|
10 | jQuery('html,body').stop().scrollTop(0); |
---|
11 | }); |
---|
12 | if(scrollTop >= 300){ |
---|
13 | if(stt.css('opacity') == 0){ |
---|
14 | stt.stop().fadeTo(2000,1); |
---|
15 | } |
---|
16 | }else{ |
---|
17 | if(stt.css('opacity') > 0){ |
---|
18 | stt.stop().fadeTo(500,0); |
---|
19 | } |
---|
20 | } |
---|
21 | }); |
---|
22 | jQuery(window).scroll(); |
---|
23 | }); |
---|
24 | </script> |
---|
25 | {/literal} |
---|
26 | |
---|
27 | <div id="scrolltotop"><a href="#">{'Scroll to top'|translate}</a></div> |
---|
28 | <div id="copyright"> |
---|
29 | <a name="EoP"></a> <!-- End of Page --> |
---|
30 | <br><a href="{$PHPWG_URL}" class="Piwigo"> |
---|
31 | <span class="Piwigo"><img src="./themes/{$themeconf.name}/images/pwg_baniere_pdp.png" alt="visit Piwigo website" /></span></a><br/> |
---|
32 | {if isset($ContactFormLink)} |
---|
33 | {$ContactFormLink} |
---|
34 | {else} |
---|
35 | {if isset($CONTACT_MAIL)} |
---|
36 | {'Contact'|@translate} <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Webmaster'|@translate}</a> |
---|
37 | {/if} |
---|
38 | {/if} |
---|
39 | <br/> |
---|
40 | |
---|
41 | |
---|
42 | {* Please, do not remove this copyright. If you really want to, |
---|
43 | contact us on http://piwigo.org to find a solution on how |
---|
44 | to show the origin of the script... |
---|
45 | *} |
---|
46 | |
---|
47 | |
---|
48 | {if isset($footer_elements)} |
---|
49 | {foreach from=$footer_elements item=v} |
---|
50 | {$v} |
---|
51 | {/foreach} |
---|
52 | {/if} |
---|
53 | <br/> |
---|
54 | v{$VERSION} - |
---|
55 | {if isset($debug.TIME) } |
---|
56 | {'generation time'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'sql queries in'|@translate} {$debug.SQL_TIME}) |
---|
57 | <script type="text/javascript"> document.write('Vous utilisez ' + BrowserDetect.browser + ' ' + BrowserDetect.version + ' sur ' + BrowserDetect.OS + '.'); </script> |
---|
58 | {/if} |
---|
59 | </div> <!-- the_page --> |
---|
60 | {if isset($debug.QUERIES_LIST)} |
---|
61 | <div id="debug"> |
---|
62 | {$debug.QUERIES_LIST} |
---|
63 | </div> |
---|
64 | {/if} |
---|
65 | </div> <!-- copyright --> |
---|
66 | </body> |
---|
67 | </html> |
---|