source: extensions/sobre/template/footer.tpl @ 7018

Last change on this file since 7018 was 7018, checked in by Gotcha, 14 years ago

bug:1749
(MAJ)

File size: 2.0 KB
Line 
1{* $ Id: footer.tpl 2010-04-03 Par Gotcha pour son thème "Sobre" $ *}
2 
3{literal}
4<script type="text/javascript">
5jQuery().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 {if isset($VERSION)}
55  v{$VERSION} -
56 {/if}
57 {if isset($debug.TIME) }
58 {'generation time'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'sql queries in'|@translate} {$debug.SQL_TIME}) 
59 <script type="text/javascript"> document.write('Vous utilisez ' + BrowserDetect.browser + ' ' + BrowserDetect.version + ' sur ' + BrowserDetect.OS + '.'); </script>
60 {/if}
61</div> <!-- the_page -->
62{if isset($debug.QUERIES_LIST)}
63<div id="debug">
64{$debug.QUERIES_LIST}
65</div>
66{/if}
67</div> <!-- copyright -->
68</body>
69</html>
Note: See TracBrowser for help on using the repository browser.