Last change
on this file since 8914 was
8911,
checked in by cljosse, 13 years ago
|
[Autosize][beta] compatibility whith piwigo 2.2
|
File size:
746 bytes
|
Rev | Line | |
---|
[7537] | 1 | {html_head} |
---|
[8911] | 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 | |
---|
[8057] | 9 | <script type="text/javascript"> |
---|
[8911] | 10 | |
---|
[8627] | 11 | var DEBUG = '{$DEBUG}'; |
---|
[7740] | 12 | var theme = '{$theme}'; |
---|
[7962] | 13 | var cl_version = '{$cl_version}'; |
---|
[7912] | 14 | var cl_plugin = '{$name}'; |
---|
[8627] | 15 | {if $DEBUG == "true"} |
---|
[7962] | 16 | var cl_query = '{$autosize_parametres->query}'; |
---|
| 17 | var cl_type = '{$autosize_parametres->type}'; |
---|
| 18 | var cl_plugins=new Array(); |
---|
[8627] | 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} |
---|
[7962] | 24 | {/if} |
---|
[7805] | 25 | </script> |
---|
[8185] | 26 | |
---|
[8627] | 27 | |
---|
[8729] | 28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.