source: extensions/Autosize/template/conflit.tpl @ 8911

Last change on this file since 8911 was 8911, checked in by cljosse, 13 years ago

[Autosize][beta] compatibility whith piwigo 2.2


File size: 746 bytes
Line 
1{html_head}
2{if PHPWG_VERSION < 2.2 } 
3    {include file=$AUTOSIZE_PATH_ABS|@cat:'template/header_2_1.tpl'}
4 {else}
5    {include file= $AUTOSIZE_PATH_ABS|@cat:'template/header_2_2.tpl'}
6 {/if}
7{/html_head}
8
9<script type="text/javascript">
10 
11 var DEBUG = '{$DEBUG}';
12    var theme = '{$theme}';
13    var cl_version = '{$cl_version}';
14    var cl_plugin = '{$name}';
15{if $DEBUG == "true"}
16    var cl_query = '{$autosize_parametres->query}';
17    var cl_type = '{$autosize_parametres->type}';
18    var cl_plugins=new Array();
19     {if not empty($cl_plugins )}
20       {foreach from=$cl_plugins item=cl_plug }
21            value="{$cl_plug}";cl_plugins.push(value);           
22        {/foreach}
23     {/if}
24{/if}
25</script>
26
27
28 
Note: See TracBrowser for help on using the repository browser.