source: extensions/cl_conflit/template/conflit.tpl @ 8928

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

[cl_conflit] template compatibility with piwigo 2.2

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