Last change
on this file since 32019 was
31793,
checked in by romanf, 7 years ago
|
Somehow forgot during last commit.
|
-
Property svn:executable set to
*
|
File size:
585 bytes
|
Line | |
---|
1 | <script type="text/javascript"> |
---|
2 | var MRP_Opt={ |
---|
3 | showName:"{$data.showname}", |
---|
4 | showComment:"{$data.showcomment}", |
---|
5 | pictures:[ |
---|
6 | {foreach from=$data.pictures item=picture name=items} |
---|
7 | {ldelim} |
---|
8 | 'comment':'{$picture.comment|escape:'quotes'|replace:"\n":'<br>'|replace:"\r":''}', |
---|
9 | 'link':"{$picture.link}", |
---|
10 | 'name':'{$picture.imgname|escape:'quotes'|replace:"\n":'<br>'|replace:"\r":''}', |
---|
11 | 'thumb':"{$picture.thumb}" |
---|
12 | {rdelim}{if !$smarty.foreach.items.last},{/if} |
---|
13 | {/foreach} |
---|
14 | ] |
---|
15 | }; |
---|
16 | var MRP_blockHeight={$data.blockHeight}; |
---|
17 | var MRP_delay={$data.delay}; |
---|
18 | </script> |
---|
Note: See
TracBrowser
for help on using the repository browser.