source: extensions/gally/gally-default/template/config.js.tpl @ 6752

Last change on this file since 6752 was 6752, checked in by grum, 10 years ago

for panoramic images, add possibility to simulate presence of a high resolution image

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