diff -r ea43ac1ff2ee -r f2a824ce5f18 plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Tue Aug 12 00:05:09 2008 -0400 +++ b/plugins/SpecialAdmin.php Tue Aug 12 00:06:35 2008 -0400 @@ -341,6 +341,15 @@ if ( in_array($_POST['lockout_policy'], array('disable', 'captcha', 'lockout')) ) setConfig('lockout_policy', $_POST['lockout_policy']); + // Session time + foreach ( array('session_short_time', 'session_remember_time') as $k ) + { + if ( strval(intval($_POST[$k])) === $_POST[$k] && intval($_POST[$k]) >= 0 ) + { + setConfig($k, $_POST[$k]); + } + } + // Avatar settings setConfig('avatar_enable', ( isset($_POST['avatar_enable']) ? '1' : '0' )); // for these next three values, set the config value if it's a valid integer; this is @@ -758,6 +767,36 @@ get('acpgc_field_email_smtp_password'); ?> + + + + + get('acpgc_heading_sessions'); ?> + + + + get('acpgc_hint_sessions_noelev'); ?> + + + + + get('acpgc_field_short_time'); ?>
+ get('acpgc_field_short_time_hint'); ?> + + + + + + + + + get('acpgc_field_long_time'); ?>
+ get('acpgc_field_long_time_hint'); ?> + + + + +