Last change
on this file since 10862 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
|
Rev | Line | |
---|
[4363] | 1 | {literal} |
---|
| 2 | <script type="text/javascript"> |
---|
[8962] | 3 | var 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} |
---|
[8989] | 12 | 'comment':'{$picture.comment|escape:'quotes'|replace:"\n":'<br>'|replace:"\r":''}', |
---|
[8962] | 13 | 'link':"{$picture.link}", |
---|
[8989] | 14 | 'name':'{$picture.imgname|escape:'quotes'|replace:"\n":'<br>'|replace:"\r":''}', |
---|
[8962] | 15 | 'thumb':"{$picture.thumb}" |
---|
| 16 | {rdelim} |
---|
| 17 | {if !$smarty.foreach.items.last},{/if} |
---|
| 18 | {/foreach} |
---|
| 19 | ] |
---|
| 20 | {literal} |
---|
| 21 | }; |
---|
[4363] | 22 | </script> |
---|
| 23 | {/literal} |
---|
Note: See
TracBrowser
for help on using the repository browser.