1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Removed some confusion concerning the 'cookie_name' (which is also used when 'sessions' are used).

This commit is contained in:
Cameron 2015-05-23 13:50:40 -07:00
parent cfcce0ed03
commit b3b1da47a7
2 changed files with 14 additions and 13 deletions

View File

@ -1973,7 +1973,7 @@ $text .= "
$text .= "
<tr>
<td><label for='disallowmultilogin'>".PRFLAN_129.":</label></td>
<td><label for='disallowmultilogin'>".PRFLAN_129."</label></td>
<td>
".$frm->radio_switch('disallowMultiLogin', $pref['disallowMultiLogin'], LAN_YES, LAN_NO)."
<div class='smalltext field-help'>".PRFLAN_130."</div>
@ -1981,17 +1981,18 @@ $text .= "
</tr>
<tr>
<td><label for='user-tracking-cookie'>".PRFLAN_48.":</label></td>
<td class='form-inline'>
".$frm->radio('user_tracking', array('cookie' => PRFLAN_49, 'session' => PRFLAN_50), $pref['user_tracking'])." ".PRFLAN_55.": ".$frm->text('cookie_name', $pref['cookie_name'], 20)."
</td>
<td><label for='user-tracking-cookie'>".PRFLAN_48."</label></td>
<td >
<div class='form-inline'>
".$frm->radio('user_tracking', array('cookie' => PRFLAN_49, 'session' => PRFLAN_50), $pref['user_tracking'])."
</div></td>
</tr>
<tr>
<td><label for='cookie-name'>".PRFLAN_55."</label></td>
<td >".$frm->text('cookie_name', $pref['cookie_name'], 20)."
<div class='field-help'>Should be unique to this website.</div></td></tr>
<tr>
<td><label for='passwordencoding'>".PRFLAN_188.":</label></td>
@ -2017,13 +2018,13 @@ $text .= "
</tr>
<tr>
<td><label for='antiflood1'>".PRFLAN_35.":</label></td>
<td><label for='antiflood1'>".PRFLAN_35."</label></td>
<td>
".$frm->radio_switch('antiflood1', $pref['antiflood1'])."
</td>
</tr>
<tr>
<td><label for='antiflood-timeout'>".PRFLAN_36.":</label></td>
<td><label for='antiflood-timeout'>".PRFLAN_36."</label></td>
<td>
".$frm->number('antiflood_timeout', $pref['antiflood_timeout'], 3)."
<div class='smalltext field-help'>".PRFLAN_38."</div>
@ -2062,7 +2063,7 @@ $text .= "
</td>
</tr>
<tr>
<td><label for='adminpwordchange'>".PRFLAN_139.":</label></td>
<td><label for='adminpwordchange'>".PRFLAN_139."</label></td>
<td>
".$frm->radio_switch('adminpwordchange', $pref['adminpwordchange'])."
</td>

View File

@ -54,7 +54,7 @@ define("PRFLAN_49", "Cookies");
define("PRFLAN_50", "Sessions");
define("PRFLAN_52", "Save Changes");
define("PRFLAN_53", "Site Preferences");
define("PRFLAN_55", "Cookie name (if cookies selected)");
define("PRFLAN_55", "Cookie/Session name");
define("PRFLAN_56", "Timezone");
define("PRFLAN_58", "Restrict website to members only");
define("PRFLAN_59", "ticking will restrict all areas apart from the front page and signup page to members only");