source: extensions/gally/piwigo-2.0/config.js.tpl @ 8528

Last change on this file since 8528 was 4489, checked in by grum, 14 years ago

[Template:Gally] feature 1096, feature 1097, feature 1098, feature 1099, feature 1313
And some other improvments...

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1{* template for the js config *}
2{literal}
3<script type="text/javascript">
4// configuration options for interfaces
5options = { {/literal}
6{if $BODY_ID=='thePicturePage'}
7  imageAutoScroll:{if #imageAutoScroll#=='yes'}true{else}false{/if},
8  imageCenterMode:"{#imageCenterMode#}",
9  imageCenterOffset:{#imageCenterOffset#},
10  imageCenterTopMin:{#imageCenterTopMin#},
11  imageCenterTopBorder:"{#imageCenterTopBorder#}",
12  interfaceAnimated:"{#interfaceAnimated#}",
13  interfaceHidden:{if #interfaceHidden#=='yes'}true{else}false{/if},
14  interfaceOnImage:"{#interfaceOnImage#}",
15  margin_container:{#margin_container#},
16  tabsAnimated:{if #tabsAnimated#=='yes'}true{else}false{/if},
17  tabsHidden:{#tabsHidden#},
18  tabsVisible:{#tabsVisible#},
19  tabsPosition:"{#tabsPosition#}",
20  metaNumCols:{#metaNumCols#},
21  commentRows:{#commentRows#},
22  interfaceTimerDelay:{#interfaceTimerDelay#},
23{/if} {if $BODY_ID=='theCategoryPage'}
24  menuAnimated:"{#menuAnimated#}",
25  menuWidth:"{#menuWidth#}",
26  menuMaxWidth:"{#menuMaxWidth#}",
27  menuMSIEMaxWidth:"{#menuMSIEMaxWidth#}",
28{/if}
29  animateDelay:{#animateDelay#}
30{literal}
31}
32</script>
33{/literal}
Note: See TracBrowser for help on using the repository browser.