aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-03-21 22:58:59 +0000
committerrub <rub@piwigo.org>2006-03-21 22:58:59 +0000
commit3609c224c74f50a9049524ebedc996ddd1187108 (patch)
treeae767f4294b4907f8cf3746cb18c70fdb91aa8c8 /template
parente584310d3a51bcae7be00513a852ad43e22c585b (diff)
[NBM] Step 3: Layout Model
o Rename mailtousers.php on notification_by_mail.php o Deactivate temporary function on notification_by_mail.php o First design layout, no function activated, it's only a model git-svn-id: http://piwigo.org/svn/trunk@1091 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/admin.tpl2
-rw-r--r--template/yoga/admin/notification_by_mail.tpl60
2 files changed, 61 insertions, 1 deletions
diff --git a/template/yoga/admin.tpl b/template/yoga/admin.tpl
index ca789c1d0..785e312d9 100644
--- a/template/yoga/admin.tpl
+++ b/template/yoga/admin.tpl
@@ -18,7 +18,7 @@
<li><a href="{U_HISTORY}">{lang:history}</a></li>
<li><a href="{U_CAT_UPDATE}">{lang:update}</a></li>
<li><a href="{U_MAINTENANCE}">{lang:Maintenance}</a></li>
- <li><a href="{U_MAILTOUSERS}">{lang:nbm_item_notification}</a></li>
+ <li><a href="{U_NOTIFICATION_BY_MAIL}">{lang:nbm_item_notification}</a></li>
</ul>
</dd>
diff --git a/template/yoga/admin/notification_by_mail.tpl b/template/yoga/admin/notification_by_mail.tpl
new file mode 100644
index 000000000..36bff3cf3
--- /dev/null
+++ b/template/yoga/admin/notification_by_mail.tpl
@@ -0,0 +1,60 @@
+<!-- $Id: notification_by_mail.tpl Ruben ARNAUD -->
+<div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
+ </ul>
+ <h2>{lang:nbm_Send mail to users} [{U_TABSHEET_TITLE}]</h2>
+ <h3>
+ <p style="text-align:center;">
+ <a href="{U_PARAM_MODE}">{lang:nbm_param_mode}</a> |
+ <a href="{U_SUBSCRIBE_MODE}">{lang:nbm_subscribe_mode}</a> |
+ <a href="{U_SEND_MODE}">{lang:nbm_send_mode}</a>
+ </p>
+ </h3>
+</div>
+
+<form method="post" name="notification_by_mail" action="{F_ACTION}">
+
+ <!-- BEGIN param -->
+ <fieldset>
+ <legend><strong>{lang:nbm_title_param}</strong></legend>
+
+ <table>
+ <tr>
+ <td><label for="send_detailed_content">{lang:nbm_send_detailed_content} </label></td>
+ <td><input type="checkbox" name="send_detailed_content" id="send_detailed_content" value="true" {param.SEND_DETAILED_CONTENT}/></td>
+ </tr>
+ <tr>
+ <td><label for="complementary_mail_content">{lang:nbm_complementary_mail_content} </label></td>
+ <td><textarea cols="50" rows="5" name="complementary_mail_content" id="complementary_mail_content">{param.COMPLEMENTARY_MAIL_CONTENT}</textarea></td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <p>
+ <input type="submit" value="{lang:Submit}" name="param_submit" {TAG_INPUT_ENABLED} />
+ <input type="reset" value="{lang:Reset}" name="param_reset" />
+ </p>
+ <!-- END param -->
+
+ <!-- BEGIN subscribe -->
+ <fieldset>
+ <legend><strong>{lang:nbm_title_subscribe}</strong></legend>
+ <legend><center><i>{lang:nbm_warning_subscribe_unsubcribe}</i></center></legend>
+ {DOUBLE_SELECT}
+ </fieldset>
+ <!-- END subscribe -->
+
+ <!-- BEGIN send -->
+ <fieldset>
+ <legend><strong>{lang:nbm_title_send}</strong></legend>
+ {DOUBLE_SELECT}
+ </fieldset>
+
+ <p>
+ <input type="submit" value="{lang:nbm_send_submit}" name="sene_submit" {TAG_INPUT_ENABLED} />
+ <input type="reset" value="{lang:Reset}" name="send_reset" />
+ </p>
+ <!-- END send -->
+
+</form>