aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-03-23 11:17:15 +0000
committerplegall <plg@piwigo.org>2012-03-23 11:17:15 +0000
commit2c61829ad73fb03a0562387c77bc71fd4e50eb8e (patch)
tree63b8b22f129f05894974f0c08270b16943b0fefe /admin/themes
parent7ffddb84ee1a28d0409a56c67a39ce0392af517f (diff)
feature 2561: notification on album was moved to a dedicated tab on the "Edit album" screen.
git-svn-id: http://piwigo.org/svn/trunk@13668 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes')
-rw-r--r--admin/themes/default/template/album_notification.tpl40
1 files changed, 40 insertions, 0 deletions
diff --git a/admin/themes/default/template/album_notification.tpl b/admin/themes/default/template/album_notification.tpl
new file mode 100644
index 000000000..32aa8e414
--- /dev/null
+++ b/admin/themes/default/template/album_notification.tpl
@@ -0,0 +1,40 @@
+<div class="titrePage">
+ <h2><span style="letter-spacing:0">{$CATEGORIES_NAV}</span> &#8250; {'Edit album'|@translate} {$TABSHEET_TITLE}</h2>
+</div>
+
+<form action="{$F_ACTION}" method="post" id="categoryNotify">
+
+<fieldset id="emailCatInfo">
+ <legend>{'Send an information email to group members'|@translate}</legend>
+
+{if isset($group_mail_options)}
+
+ <p>
+ <strong>{'Group'|@translate}</strong>
+ <br>
+ <select name="group">
+ {html_options options=$group_mail_options}
+ </select>
+ </p>
+
+ <p>
+ <strong>{'Complementary mail content'|@translate}</strong>
+ <br>
+ <textarea cols="50" rows="5" name="mail_content" id="mail_content" class="description">{$MAIL_CONTENT}</textarea>
+ </p>
+
+ <p>
+ <input class="submit" type="submit" value="{'Send'|@translate}" name="submitEmail">
+ </p>
+
+{elseif isset($no_group_in_gallery) and $no_group_in_gallery}
+ <p>{'There is no group in this gallery.'|@translate} <a href="admin.php?page=group_list" class="externalLink">{'Group management'|@translate}</a></p>
+{else}
+ <p>
+ {'No group is permitted to see this private album'|@translate}.
+ <a href="{$permission_url}" class="externalLink">{'Permission management'|@translate}</a>
+ </p>
+{/if}
+</fieldset>
+
+</form>