diff --git a/inc/config.class.php b/inc/config.class.php index 8d61634..5e5b415 100644 --- a/inc/config.class.php +++ b/inc/config.class.php @@ -107,6 +107,7 @@ static function showConfigForm() { echo "\n"; echo "".__('One-Time Secret')." - ".__('Lifetime','onetimesecret').""; + echo "".__("Password lifetime", "onetimesecret").""; $one_day_in_sec=86400; diff --git a/inc/link.class.php b/inc/link.class.php index 45f5b1e..32c38f1 100644 --- a/inc/link.class.php +++ b/inc/link.class.php @@ -88,6 +88,7 @@ static function showForm($ID, $params=[]) { echo ""; echo "\n"; + echo "".__("Password lifetime","onetimesecret").""; $one_day_in_sec=86400; $one_minute_in_sec=60; @@ -104,6 +105,7 @@ static function showForm($ID, $params=[]) { Dropdown::showFromArray('lifetime', $possible_values,['value' => $config->fields["lifetime"]]); + echo ""; echo "".__('Optional parameter','onetimesecret').""; @@ -134,4 +136,4 @@ function getEmpty() { } -} \ No newline at end of file +}