|
Revision 12221, 0.6 KB
(checked in by grum, 21 months ago)
|
|
feature:2151 - Compatibility with Piwigo 2.2
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | {combine_script id="jquery" path="themes/default/js/jquery.min.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.min.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> |
|---|