source: extensions/AMenuManager/menu_templates/menubar_randompic.js.tpl @ 18477

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

release 3.0.0
fix bug on install/update process + fix bug on image random

  • Property svn:executable set to *
File size: 720 bytes
Line 
1{literal}
2<script type="text/javascript">
3var randomPictOpt={
4    {/literal}
5      fixedHeight:{$data.blockHeight},
6      delay:{$data.delay},
7      showName:"{$data.showname}",
8      showComment:"{$data.showcomment}",
9      pictures:[
10        {foreach from=$data.pictures item=picture name=items}
11          {ldelim}
12            'comment':'{$picture.comment|escape:'quotes'|replace:"\n":'<br>'|replace:"\r":''}',
13            'link':"{$picture.link}",
14            'name':'{$picture.imgname|escape:'quotes'|replace:"\n":'<br>'|replace:"\r":''}',
15            'thumb':"{$picture.thumb}"
16          {rdelim}
17          {if !$smarty.foreach.items.last},{/if}
18        {/foreach}
19      ]
20    {literal}
21    };
22</script>
23{/literal}
Note: See TracBrowser for help on using the repository browser.