source: extensions/UserCollections/template/mail.tpl @ 20384

Last change on this file since 20384 was 20090, checked in by mistic100, 11 years ago
  • add webservices
  • add mail function
  • add admin list
  • add admin export function
  • try to deal with Gthumb+
  • activate multisize dropdown menu of collection page

TODO : use webservices instead of toggle_image.php

File size: 1.5 KB
Line 
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}
11    width:{$tn_width}px;
12    height:{$tn_width}px;
13  }
14  #the_page {ldelim}
15    width:{math equation="x*4+120" x=$tn_width}px;
16  }
17  -->{/strip}</style>
18</head>
19
20<body>
21<div id="the_page">
22
23<div id="the_header">
24<b>{$MAIL_TITLE}</b>
25</div>
26
27<div id="the_content">
28
29<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}
31</p>
32
33<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}">
38  </a>
39{/foreach}
40</p>
41
42{if $PARAMS.message}
43<p>
44  <blockquote>{$PARAMS.message}</blockquote>
45</p>
46{/if}
47
48<p class="button">
49  <a href="{$COL_URL}">{'Click here to view the complete collection'|@translate}</a>
50</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 Collections
58</div>
59
60</div>
61</body>
62</html>
Note: See TracBrowser for help on using the repository browser.