1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 02:00:14 +02:00

Removed some LAN constant usage from core templates.

This commit is contained in:
Cameron
2021-02-23 12:58:51 -08:00
parent 76af210666
commit f30caaf18b
18 changed files with 178 additions and 233 deletions

View File

@@ -22,54 +22,54 @@ if (!defined('e107_INIT')) { exit; }
// e107 v2. bootstrap3 compatible template.
$USERSETTINGS_WRAPPER['edit']['USERNAME'] = "<div class='form-group'>
<label for='username' class='col-sm-3 control-label'>".LAN_USER_01."</label>
<label for='username' class='col-sm-3 control-label'>{LAN=USER_01}</label>
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['LOGINNAME'] = "<div class='form-group'>
<label for='loginname' class='col-sm-3 control-label'>".LAN_USER_81."</label>
<label for='loginname' class='col-sm-3 control-label'>{LAN=USER_81}</label>
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['PASSWORD1'] = "<div class='form-group'>
<label for='password1' class='col-sm-3 control-label'>".LAN_USET_24."</label>
<label for='password1' class='col-sm-3 control-label'>{LAN=USET_24}</label>
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['PASSWORD2'] = "<div class='form-group'>
<label for='password2' class='col-sm-3 control-label'>".LAN_USET_25."</label>
<label for='password2' class='col-sm-3 control-label'>{LAN=USET_25}</label>
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['REALNAME'] = "<div class='form-group'>
<label for='realname' class='col-sm-3 control-label'>".LAN_USER_63."{REQUIRED=realname}</label>
<label for='realname' class='col-sm-3 control-label'>{LAN=USER_63}{REQUIRED=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.":{REQUIRED=customtitle}</label>
<label for='customtitle' class='col-sm-3 control-label'>{LAN=USER_04}:{REQUIRED=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.":{REQUIRED=class}</label>
<label class='col-sm-3 control-label'>{LAN=USER_76}:{REQUIRED=class}</label>
<div class='col-sm-9 checkbox'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['AVATAR_UPLOAD'] = "<div class='form-group'>
<label for='avatar' class='col-sm-3 control-label'>".LAN_USET_26."</label>
<label for='avatar' class='col-sm-3 control-label'>{LAN=USET_26}</label>
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['PHOTO_UPLOAD'] = "<div class='form-group'>
<label for='photo' class='col-sm-3 control-label'>".LAN_USER_06."</label>
<label for='photo' class='col-sm-3 control-label'>{LAN=USER_06}</label>
<div class='col-sm-9'>{---}</div>
</div>
";
@@ -77,7 +77,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."{REQUIRED=signature}</label>
<label for='signature' class='col-sm-3 control-label'>{LAN=USER_71}{REQUIRED=signature}</label>
<div class='col-sm-9'>{---}</div>
</div>
";
@@ -96,7 +96,7 @@ $USERSETTINGS_TEMPLATE['edit'] = "
{USERNAME}
{LOGINNAME}
<div class='form-group'>
<label for='email' class='col-sm-3 control-label'>".LAN_USER_60."{REQUIRED=email}</label>
<label for='email' class='col-sm-3 control-label'>{LAN=USER_60}{REQUIRED=email}</label>
<div class='col-sm-9'>
{EMAIL}
</div>
@@ -111,14 +111,14 @@ $USERSETTINGS_TEMPLATE['edit'] = "
{PASSWORD2}
<div class='form-group'>
<label for='hideemail' class='col-sm-3 control-label'>".LAN_USER_83."</label>
<label for='hideemail' class='col-sm-3 control-label'>{LAN=USER_83}</label>
<div class='col-sm-9'>
{HIDEEMAIL=radio}
</div>
</div>
<div class='form-group'>
<label class='col-sm-3 control-label'>".LAN_USER_07."{REQUIRED=image}</label>
<label class='col-sm-3 control-label'>{LAN=USER_07}{REQUIRED=image}</label>
<div class='col-sm-9'>
{AVATAR_REMOTE}
</div>