1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 21:32:09 +02:00

Membersonly enhancement.(option to redirect to login page or membersonly splash page). User Login page minor HTML cleanup. PHP Notice removal.

This commit is contained in:
Cameron
2016-03-22 11:42:05 -07:00
parent 6616b52ae9
commit 0b27b3d760
12 changed files with 422 additions and 35 deletions

View File

@@ -944,7 +944,7 @@ $text .= "
</tr>";
*/
$membersOnlyRedirectOptions = array( 'login'=>PRFLAN_264, 'splash'=>PRFLAN_265);
$text .= "
@@ -956,9 +956,16 @@ $text .= "
$text .= $frm->radio_switch('membersonly_enabled', $pref['membersonly_enabled'],'', '', 'class=e-expandit')."
<div class='field-help'>".PRFLAN_59."</div>
<div class='e-expandit-container {$memDisp}' style='padding-top:10px'>".
<div class='e-expandit-container {$memDisp}' style='padding-top:10px'>
<div class='form-group clearfix'>
".
$frm->select('membersonly_redirect',$membersOnlyRedirectOptions,$pref['membersonly_redirect'], array('size'=>'xxlarge'))."
<div class='field-help'>".PRFLAN_266."</div>
</div>
<div class='form-group clearfix'>".
$frm->textarea('membersonly_exceptions', $pref['membersonly_exceptions'], 3, 1, 'placeholder='.PRFLAN_206)."
<div class='field-help'>".PRFLAN_207."</div>
<div class='field-help'>".PRFLAN_207."</div></div>
</div>
</td>
</tr>