Last change
on this file since 27652 was
15346,
checked in by grum, 12 years ago
|
feature:2640 - Compatibility with Piwigo 2.4
|
-
Property svn:executable set to
*
|
File size:
622 bytes
|
Rev | Line | |
---|
[15346] | 1 | {combine_script id="jquery" path="themes/default/js/jquery.js"} |
---|
[8509] | 2 | |
---|
| 3 | |
---|
| 4 | <div id='iHistoContent' style='text-align:center;'> |
---|
| 5 | {if $histoImg==''} |
---|
[15346] | 6 | {combine_script id="histogram.histoLoad" path="plugins/Histogram/js/histoLoad.js" require="jquery"} |
---|
[8509] | 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.