Line | |
---|
1 | {math assign=tn_width equation="min(x,150)" x=$derivative_params->max_width()} |
---|
2 | <style type="text/css">{strip} |
---|
3 | #contentTable { |
---|
4 | width:{math equation="x*4+200" x=$tn_width}px; |
---|
5 | } |
---|
6 | |
---|
7 | #the_image { |
---|
8 | text-align:center; |
---|
9 | margin:1em 0; |
---|
10 | } |
---|
11 | #the_image a { |
---|
12 | border:none; |
---|
13 | } |
---|
14 | #the_image img { |
---|
15 | width:{$tn_width}px; |
---|
16 | height:{$tn_width}px; |
---|
17 | } |
---|
18 | |
---|
19 | #button { |
---|
20 | margin-top:2em; |
---|
21 | text-align:center; |
---|
22 | } |
---|
23 | |
---|
24 | #button a { |
---|
25 | padding:8px 15px; |
---|
26 | background:#A80D24; |
---|
27 | color:#fff; |
---|
28 | border:1px solid #CE2E5A; |
---|
29 | text-decoration:none; |
---|
30 | font-size:14px; |
---|
31 | font-weight:bold; |
---|
32 | } |
---|
33 | {/strip}</style> |
---|
34 | |
---|
35 | <p> |
---|
36 | {'Hello <b>%s</b>, %s sent you a photos collection from <a href="%s">%s</a>'|translate:$PARAMS.recipient_name:$PARAMS.sender_name:$GALLERY_URL:$GALLERY_TITLE} |
---|
37 | </p> |
---|
38 | |
---|
39 | {if isset($THUMBNAILS)} |
---|
40 | <p id="the_image"> |
---|
41 | {foreach from=$THUMBNAILS item=element} |
---|
42 | <a href="{$element.URL}" title="{$element.NAME|escape:html}"> |
---|
43 | <img src="{$element.THUMB}" alt="{$element.TN_ALT|escape:html}" class="photo"> |
---|
44 | </a> |
---|
45 | {/foreach} |
---|
46 | </p> |
---|
47 | {/if} |
---|
48 | |
---|
49 | {if $PARAMS.message} |
---|
50 | <blockquote>{$PARAMS.message}</blockquote> |
---|
51 | {/if} |
---|
52 | |
---|
53 | <p id="button"> |
---|
54 | <a href="{$COL_URL}">{'Click here to view the complete collection'|translate}</a> |
---|
55 | </p> |
---|
Note: See
TracBrowser
for help on using the repository browser.