aboutsummaryrefslogtreecommitdiffstats
path: root/admin/album_notification.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-01-29 11:47:30 +0100
committerplegall <plg@piwigo.org>2016-01-29 11:47:30 +0100
commit77888174cff00f8bdf8b0a4c04aca64b3fdcc5f4 (patch)
tree2c1736b57df65d1e61521662f22f65a079fa61a7 /admin/album_notification.php
parentbc7316639f9208089ed3ab3debf313aca8ff986a (diff)
fixes #411, auth keys details on notification forms
Diffstat (limited to 'admin/album_notification.php')
-rw-r--r--admin/album_notification.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/admin/album_notification.php b/admin/album_notification.php
index 492d555fd..fb2a1b027 100644
--- a/admin/album_notification.php
+++ b/admin/album_notification.php
@@ -205,6 +205,19 @@ $template->assign(
)
);
+if ($conf['auth_key_duration'] > 0)
+{
+ $template->assign(
+ 'auth_key_duration',
+ time_since(
+ strtotime('now -'.$conf['auth_key_duration'].' second'),
+ 'second',
+ null,
+ false
+ )
+ );
+}
+
// +-----------------------------------------------------------------------+
// | form construction |
// +-----------------------------------------------------------------------+