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

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

First commit for histogram plugin

  • Property svn:executable set to *
File size: 636 bytes
Line 
1{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"}
2
3
4<div id='iHistoContent' style='text-align:center;'>
5{if $histoImg==''}
6  {known_script id="histogram.histoLoad" src=$ROOT_URL|@cat:"plugins/Histogram/js/histoLoad.js"}
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.