source: extensions/Histogram/templates/hgram_picture_histo.tpl @ 21674

Last change on this file since 21674 was 15346, checked in by grum, 13 years ago

feature:2640 - Compatibility with Piwigo 2.4

  • Property svn:executable set to *
File size: 622 bytes
Line 
1{combine_script id="jquery" path="themes/default/js/jquery.js"}
2
3
4<div id='iHistoContent' style='text-align:center;'>
5{if $histoImg==''}
6  {combine_script id="histogram.histoLoad" path="plugins/Histogram/js/histoLoad.js" require="jquery"}
7  <span id='iHistoTxt'>{'hgram_loading_histo'|@translate}</span>
8  <script type='text/javascript'>
9    {literal}
10    $(window).load(
11      function ()
12      {
13        histo=new HistoLoad();
14        {/literal}histo.get('{$imageId}', '{$token}');{literal}
15      }
16    );
17    {/literal}
18  </script>
19{else}
20  <img id='iHistoImg' src='./local/plugins/Histogram/{$histoImg}'>
21{/if}
22</div>
Note: See TracBrowser for help on using the repository browser.