source: extensions/stripped/template/config.js.tpl @ 12547

Last change on this file since 12547 was 12547, checked in by Zaphod, 12 years ago

version 2.0.0

File size: 904 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.imageAutosize}true{else}false{/if},
7        imageAutosizeMargin:{$stripped.imageAutosizeMargin},
8        imageAutosizeMinHeight:{$stripped.imageAutosizeMinHeight},
9{if $BODY_ID=='theCategoryPage'}
10        animatedMenu:{if $stripped.animatedMenu}true{else}false{/if}
11{/if}
12{if $BODY_ID=='thePicturePage'}
13        themeStyle:"{$stripped.themeStyle}",
14        animatedTabs:{if $stripped.animatedTabs}true{else}false{/if},
15        defaultTab:"{$stripped.defaultTab}",
16        marginContainer:{$stripped.marginContainer},
17        paddingContainer:{$stripped.paddingContainer},
18        defaultZoomSize:"{$stripped.defaultZoomSize}",
19        highResClickMode:"{$stripped.highResClickMode}",
20        navArrows:{if $stripped.navArrows}true{else}false{/if}
21{/if}
22{literal}
23}
24</script>
25{/literal}
Note: See TracBrowser for help on using the repository browser.