diff options
Diffstat (limited to 'admin/themes')
-rw-r--r-- | admin/themes/default/template/album_notification.tpl | 7 | ||||
-rw-r--r-- | admin/themes/default/template/notification_by_mail.tpl | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/admin/themes/default/template/album_notification.tpl b/admin/themes/default/template/album_notification.tpl index 8573cf16e..1b3aa73bd 100644 --- a/admin/themes/default/template/album_notification.tpl +++ b/admin/themes/default/template/album_notification.tpl @@ -101,6 +101,13 @@ span.errors { <textarea cols="50" rows="5" name="mail_content" id="mail_content" class="description">{$MAIL_CONTENT}</textarea> </p> +{if isset($auth_key_duration)} + <p> + {'Each email sent will contain its own automatic authentication key on links, valid for %s.'|translate:$auth_key_duration} + <br>{'For security reason, authentication keys do not work for administrators.'|translate} + </p> +{/if} + <p class="actionButtons"> <input class="submit" type="submit" value="{'Send'|@translate}" name="submitEmail"> <span class="errors" style="display:none">✘ {'No recipient selected'|translate}</span> diff --git a/admin/themes/default/template/notification_by_mail.tpl b/admin/themes/default/template/notification_by_mail.tpl index 0be49bdd1..95506616c 100644 --- a/admin/themes/default/template/notification_by_mail.tpl +++ b/admin/themes/default/template/notification_by_mail.tpl @@ -127,6 +127,16 @@ jQuery(document).ready(function(){ </table> </fieldset> +{if isset($auth_key_duration)} + <fieldset> + <legend>{'Informations'|@translate}</legend> + <p> + {'Each email sent will contain its own automatic authentication key on links, valid for %s.'|translate:$auth_key_duration} + <br>{'For security reason, authentication keys do not work for administrators.'|translate} + </p> + </fieldset> +{/if} + <p> <input type="submit" value="{'Send'|@translate}" name="send_submit"> </p> |