Fix logout time field
authorJamie Cameron <jcameron@webmin.com>
Sat, 14 Mar 2009 17:19:52 +0000 (17:19 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sat, 14 Mar 2009 17:19:52 +0000 (17:19 +0000)
usermin/edit_session.cgi
webmin/edit_session.cgi
webmin/lang/en

index d6e1984..f5bbe2f 100755 (executable)
@@ -55,7 +55,7 @@ printf "<input type=radio name=session value=1 %s> %s<br>\n",
        $miniserv{'session'} ? "checked" : "", $text{'session_enable'};
 printf "&nbsp;&nbsp;&nbsp;<input type=checkbox name=logouttime_on value=1 %s>\n",
        $miniserv{'logouttime'} ? "checked" : "";
-print &text('session_logout',
+print &text('session_logouttime',
        "<input name=logouttime value='$miniserv{'logouttime'}' size=10>"),"<br>\n";
 #printf "&nbsp;&nbsp;&nbsp;<input type=checkbox name=locking value=1 %s>\n",
 #      $gconfig{'locking'} ? "checked" : "";
index db46860..3827cc3 100755 (executable)
@@ -56,7 +56,7 @@ printf "<input type=radio name=session value=1 %s> %s<br>\n",
        $miniserv{'session'} ? "checked" : "", $text{'session_enable'};
 printf "&nbsp;&nbsp;&nbsp;<input type=checkbox name=logouttime_on value=1 %s>\n",
        $miniserv{'logouttime'} ? "checked" : "";
-print text('session_logout',
+print text('session_logouttime',
        "<input name=logouttime value='$miniserv{'logouttime'}' size=10>"),"<br>\n";
 #printf "&nbsp;&nbsp;&nbsp;<input type=checkbox name=locking value=1 %s>\n",
 #      $gconfig{'locking'} ? "checked" : "";
index 5848e01..2e76b3c 100644 (file)
@@ -520,7 +520,7 @@ session_disable=Disable session authentication
 session_enable=Enable session authentication
 session_localoff=Always require username and password
 session_localon=Allow login without password for matching users from localhost
-session_logout=Auto-logout after $1 minutes of inactivity
+session_logouttime=Auto-logout after $1 minutes of inactivity
 session_locking=Enable locking in Webmin
 session_err=Failed to save authentication
 session_elogouttime=Missing or invalid logout time