source: extensions/gally/config.js.tpl @ 4446

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

[Template:Gally] Add template to subversion

  • 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:{if #interfaceOnImage#=='yes'}true{else}false{/if},
15  margin_container:{#margin_container#},
16  tabsAnimated:{if #tabsAnimated#=='yes'}true{else}false{/if},
17  tabsHidden:{#tabsHidden#},
18  tabsVisible:{#tabsVisible#},
19  metaNumCols:{#metaNumCols#},
20  commentRows:{#commentRows#},
21  interfaceTimerDelay:{#interfaceTimerDelay#},
22{/if} {if $BODY_ID=='theCategoryPage'}
23  menuAnimated:"{#menuAnimated#}",
24  menuWidth:"{#menuWidth#}",
25  menuMaxWidth:"{#menuMaxWidth#}",
26  menuMSIEMaxWidth:"{#menuMSIEMaxWidth#}",
27{/if}
28  animateDelay:{#animateDelay#}
29{literal}
30}
31</script>
32{/literal}
Note: See TracBrowser for help on using the repository browser.