source: extensions/stripped_responsive/template/config.js.tpl

Last change on this file was 32997, checked in by plg, 4 months ago

compatibility PHP 8 and Piwigo 14, by Linty

  • Property svn:executable set to *
File size: 942 bytes
Line 
1{* template for config variables assignation *}
2{literal}
3<script type="text/javascript">
4// configuration options
5var options = { {/literal}
6        imageAutosize:{if $stripped_responsive.imageAutosize}true{else}false{/if},
7        imageAutosizeMargin:{$stripped_responsive.imageAutosizeMargin},
8        imageAutosizeMinHeight:{$stripped_responsive.imageAutosizeMinHeight},
9{if $BODY_ID=='thePicturePage'}
10        themeStyle:"{$stripped_responsive.themeStyle}",
11        animatedTabs:{if $stripped_responsive.animatedTabs}true{else}false{/if},
12        defaultTab:"{$stripped_responsive.defaultTab}",
13        marginContainer:{$stripped_responsive.marginContainer},
14        paddingContainer:{$stripped_responsive.paddingContainer},
15        defaultZoomSize:"{$stripped_responsive.defaultZoomSize}",
16        highResClickMode:"{$stripped_responsive.highResClickMode}",
17{else}
18        animatedMenu:{if isset($stripped_responsive.animatedMenu)}true{else}false{/if}
19{/if}
20{literal}
21}
22</script>
23{/literal}
Note: See TracBrowser for help on using the repository browser.