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

removed varset() because it was useless together with getPref()

This commit is contained in:
Achim Ennenbach 2018-07-05 11:56:27 +02:00
parent 81b9f2b4cb
commit 409bf06b04

View File

@ -46,7 +46,7 @@ $sc_style['PASSWORD_LEN']['pre'] = "<br /><span class='smalltext'> (".LAN_USE
$sc_style['PASSWORD_LEN']['post'] = " ".LAN_USER_79.")</span>";
$sc_style['USERCLASSES']['pre'] = "<tr>
<td style='width:40%;vertical-align:top' class='forumheader3'>".LAN_USER_76.":".req(varset(e107::getPref('signup_option_class')))."
<td style='width:40%;vertical-align:top' class='forumheader3'>".LAN_USER_76.":".req(e107::getPref('signup_option_class'))."
<br /><span class='smalltext'>".LAN_USER_73."</span>
</td>
<td style='width:60%' class='forumheader2'>";
@ -77,7 +77,7 @@ $sc_style['LOGINNAME']['pre'] = "<tr>
$sc_style['LOGINNAME']['post'] = "</td></tr>\n";
$sc_style['SIGNATURE']['pre'] = "<tr><td style='width:40%;vertical-align:top' class='forumheader3'>".LAN_USER_71.req(varset(e107::getPref('signup_option_signature')))."</td>
$sc_style['SIGNATURE']['pre'] = "<tr><td style='width:40%;vertical-align:top' class='forumheader3'>".LAN_USER_71.req(e107::getPref('signup_option_signature'))."</td>
<td style='width:60%' class='forumheader2'>";
//$sc_style['SIGNATURE']['pre'] = "<tr><td style='width:40%;vertical-align:top' class='forumheader3'></td>
@ -125,7 +125,7 @@ $USERSETTINGS_EDIT = "
{LOGINNAME}
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_60.req(!varset(e107::getPref('disable_emailcheck')))."</td>
<td style='width:40%' class='forumheader3'>".LAN_USER_60.req(!e107::getPref('disable_emailcheck'))."</td>
<td style='width:60%' class='forumheader2'>
{EMAIL}
</td>
@ -149,7 +149,7 @@ $USERSETTINGS_EDIT = "
</tr>
<tr>
<td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_USER_07.req(varset(e107::getPref('signup_option_image')))."</td>
<td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_USER_07.req(e107::getPref('signup_option_image'))."</td>
<td style='width:60%' class='forumheader2'>
{AVATAR_REMOTE}
</td>
@ -204,19 +204,19 @@ $USERSETTINGS_WRAPPER['edit']['PASSWORD2'] = "<div class='form-group'>
";
$USERSETTINGS_WRAPPER['edit']['REALNAME'] = "<div class='form-group'>
<label for='realname' class='col-sm-3 control-label'>".LAN_USER_63.req(varset(e107::getPref('signup_option_realname')))."</label>
<label for='realname' class='col-sm-3 control-label'>".LAN_USER_63.req(e107::getPref('signup_option_realname'))."</label>
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['CUSTOMTITLE'] = "<div class='form-group'>
<label for='customtitle' class='col-sm-3 control-label'>".LAN_USER_04.':'.req(varset(e107::getPref('signup_option_customtitle')))."</label>
<label for='customtitle' class='col-sm-3 control-label'>".LAN_USER_04.':'.req(e107::getPref('signup_option_customtitle'))."</label>
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['USERCLASSES'] = "<div class='form-group'>
<label class='col-sm-3 control-label'>".LAN_USER_76.":".req(varset(e107::getPref('signup_option_class')))."</label>
<label class='col-sm-3 control-label'>".LAN_USER_76.":".req(e107::getPref('signup_option_class'))."</label>
<div class='col-sm-9'>{---}</div>
</div>
";
@ -235,7 +235,7 @@ $USERSETTINGS_WRAPPER['edit']['PHOTO_UPLOAD'] = "<div class='form-group'>
$USERSETTINGS_WRAPPER['edit']['SIGNATURE'] = "<div class='form-group'>
<label for='signature' class='col-sm-3 control-label'>".LAN_USER_71.req(varset(e107::getPref('signup_option_signature')))."</label>
<label for='signature' class='col-sm-3 control-label'>".LAN_USER_71.req(e107::getPref('signup_option_signature'))."</label>
<div class='col-sm-9'>{---}</div>
</div>
";
@ -258,7 +258,7 @@ $USERSETTINGS_TEMPLATE['edit'] = "
<div class='form-group'>
<label for='email' class='col-sm-3 control-label'>".LAN_USER_60.req(!varset(e107::getPref('disable_emailcheck')))."</label>
<label for='email' class='col-sm-3 control-label'>".LAN_USER_60.req(!e107::getPref('disable_emailcheck'))."</label>
<div class='col-sm-9'>
{EMAIL}
</div>
@ -281,7 +281,7 @@ $USERSETTINGS_TEMPLATE['edit'] = "
</div>
<div class='form-group'>
<label class='col-sm-3 control-label'>".LAN_USER_07.req(varset(e107::getPref('signup_option_image')))."</label>
<label class='col-sm-3 control-label'>".LAN_USER_07.req(e107::getPref('signup_option_image'))."</label>
<div class='col-sm-9'>
{AVATAR_REMOTE}
</div>