Last change
on this file since 8962 was
8962,
checked in by grum, 13 years ago
|
release 3.0.0
fix bug:1716, bug:2128, bug:1296, bug:2052, bug:1910, bug:1723, bug:1709, bug:1680, bug:1477, bug:2129
rewrite plugin core, implement ajax interface, optimize JS
|
-
Property svn:executable set to
*
|
File size:
613 bytes
|
Line | |
---|
1 | {literal} |
---|
2 | <script type="text/javascript"> |
---|
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} |
---|
12 | 'comment':"{$picture.comment}", |
---|
13 | 'link':"{$picture.link}", |
---|
14 | 'name':"{$picture.name}", |
---|
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.