mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes #411, auth keys details on notification forms
This commit is contained in:
@@ -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 |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user