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