Changeset 25678 for extensions/UserCollections/template/text/html/mail.tpl
- Timestamp:
- Nov 24, 2013, 6:09:57 PM (10 years ago)
- Location:
- extensions/UserCollections/template/text
- Files:
-
- 2 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/template/text/html/mail.tpl
r25674 r25678 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2 <html> 3 <head> 4 <title>Piwigo Mail</title> 5 <meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"> 6 7 {math assign=tn_width equation="min(x,150)" x=$derivative_params->max_width()} 8 <style type="text/css">{strip}<!-- 9 {$UC_MAIL_CSS} 10 #the_image a {ldelim} 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 { 11 15 width:{$tn_width}px; 12 16 height:{$tn_width}px; 13 17 } 14 #the_page {ldelim}15 width:{math equation="x*4+120" x=$tn_width}px;16 }17 -->{/strip}</style>18 </head>19 18 20 <body> 21 <div id="the_page"> 19 #button { 20 margin-top:2em; 21 text-align:center; 22 } 22 23 23 <div id="the_header"> 24 <b>{$MAIL_TITLE}</b> 25 </div> 26 27 <div id="the_content"> 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> 28 34 29 35 <p> 30 {'Hello <b>%s</b>, %s sent you a photos collection from <a href="%s">%s</a>'| @translate|sprintf:$PARAMS.recipient_name:$PARAMS.sender_name:$GALLERY_URL:$GALLERY_TITLE}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} 31 37 </p> 32 38 39 {if isset($THUMBNAILS)} 33 40 <p id="the_image"> 34 {foreach from=$thumbnails item=element} 35 <a href="{$element.URL}"> 36 <span>{$element.NAME|truncate:25:"..."}</span> 37 <img src="{$element.THUMB}" alt="{$element.TN_ALT}"> 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"> 38 44 </a> 39 45 {/foreach} 40 46 </p> 47 {/if} 41 48 42 49 {if $PARAMS.message} 43 <p> 44 <blockquote>{$PARAMS.message}</blockquote> 45 </p> 50 <blockquote>{$PARAMS.message}</blockquote> 46 51 {/if} 47 52 48 <p class="button">49 <a href="{$COL_URL}">{'Click here to view the complete collection'| @translate}</a>53 <p id="button"> 54 <a href="{$COL_URL}">{'Click here to view the complete collection'|translate}</a> 50 55 </p> 51 52 </div>53 54 <div id="the_footer">55 {'Sent by'|@translate} <a href="{$GALLERY_URL}">{$GALLERY_TITLE}</a>56 - {'Powered by'|@translate} <a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a> {$VERSION}57 - User Collections58 </div>59 60 </div>61 </body>62 </html>
Note: See TracChangeset
for help on using the changeset viewer.