mirror of
https://github.com/e107inc/e107.git
synced 2025-07-27 18:00:30 +02:00
Bootstrap5 styling
This commit is contained in:
@@ -20,68 +20,68 @@ if (!defined('e107_INIT')) { exit; }
|
|||||||
// e107 v2. bootstrap4 compatible template.
|
// e107 v2. bootstrap4 compatible template.
|
||||||
$USERSETTINGS_WRAPPER = array();
|
$USERSETTINGS_WRAPPER = array();
|
||||||
|
|
||||||
$USERSETTINGS_WRAPPER['edit']['USERNAME'] = "<div class='form-group row'>
|
$USERSETTINGS_WRAPPER['edit']['USERNAME'] = "<div class='form-group row mb-3'>
|
||||||
<label for='username' class='col-sm-3 col-form-label'>".LAN_USER_01."</label>
|
<label for='username' class='col-sm-3 col-form-label form-label'>".LAN_USER_01."</label>
|
||||||
<div class='col-sm-9'>{---}</div>
|
<div class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
|
|
||||||
|
|
||||||
$USERSETTINGS_WRAPPER['edit']['LOGINNAME'] = "<div class='form-group row'>
|
$USERSETTINGS_WRAPPER['edit']['LOGINNAME'] = "<div class='form-group row mb-3'>
|
||||||
<label for='loginname' class='col-sm-3 col-form-label'>".LAN_USER_81."</label>
|
<label for='loginname' class='col-sm-3 col-form-label form-label'>".LAN_USER_81."</label>
|
||||||
<div class='col-sm-9'>{---}</div>
|
<div class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
|
|
||||||
$USERSETTINGS_WRAPPER['edit']['PASSWORD1'] = "<div class='form-group row'>
|
$USERSETTINGS_WRAPPER['edit']['PASSWORD1'] = "<div class='form-group row mb-3'>
|
||||||
<label for='password1' class='col-sm-3 col-form-label'>".LAN_USET_24."</label>
|
<label for='password1' class='col-sm-3 col-form-label form-label'>".LAN_USET_24."</label>
|
||||||
<div class='col-sm-9'>{---}</div>
|
<div class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
$USERSETTINGS_WRAPPER['edit']['PASSWORD2'] = "<div class='form-group row'>
|
$USERSETTINGS_WRAPPER['edit']['PASSWORD2'] = "<div class='form-group row mb-3'>
|
||||||
<label for='password2' class='col-sm-3 col-form-label'>".LAN_USET_25."</label>
|
<label for='password2' class='col-sm-3 col-form-label form-label'>".LAN_USET_25."</label>
|
||||||
<div class='col-sm-9'>{---}</div>
|
<div class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
|
|
||||||
$USERSETTINGS_WRAPPER['edit']['REALNAME'] = "<div class='form-group row'>
|
$USERSETTINGS_WRAPPER['edit']['REALNAME'] = "<div class='form-group row mb-3'>
|
||||||
<label for='realname' class='col-sm-3 col-form-label'>".LAN_USER_63."{REQUIRED=realname}</label>
|
<label for='realname' class='col-sm-3 col-form-label form-label'>".LAN_USER_63."{REQUIRED=realname}</label>
|
||||||
<div class='col-sm-9'>{---}</div>
|
<div class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
|
|
||||||
$USERSETTINGS_WRAPPER['edit']['CUSTOMTITLE'] = "<div class='form-group row'>
|
$USERSETTINGS_WRAPPER['edit']['CUSTOMTITLE'] = "<div class='form-group row mb-3'>
|
||||||
<label for='customtitle' class='col-sm-3 col-form-label'>".LAN_USER_04.':'."{REQUIRED=customtitle}</label>
|
<label for='customtitle' class='col-sm-3 col-form-label form-label'>".LAN_USER_04.':'."{REQUIRED=customtitle}</label>
|
||||||
<div class='col-sm-9'>{---}</div>
|
<div class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
|
|
||||||
$USERSETTINGS_WRAPPER['edit']['USERCLASSES'] = "<div class='form-group row'>
|
$USERSETTINGS_WRAPPER['edit']['USERCLASSES'] = "<div class='form-group row mb-3'>
|
||||||
<label class='col-sm-3'>".LAN_USER_76.":"."{REQUIRED=class}</label>
|
<label class='col-sm-3'>".LAN_USER_76.":"."{REQUIRED=class}</label>
|
||||||
<div class='col-sm-9'>{---}</div>
|
<div class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
|
|
||||||
$USERSETTINGS_WRAPPER['edit']['AVATAR_UPLOAD'] = "<div class='form-group row'>
|
$USERSETTINGS_WRAPPER['edit']['AVATAR_UPLOAD'] = "<div class='form-group row mb-3'>
|
||||||
<label for='avatar' class='col-sm-3 col-form-label'>".LAN_USET_26."</label>
|
<label for='avatar' class='col-sm-3 col-form-label form-label'>".LAN_USET_26."</label>
|
||||||
<div class='col-sm-9'>{---}</div>
|
<div class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
$USERSETTINGS_WRAPPER['edit']['PHOTO_UPLOAD'] = "<div class='form-group row'>
|
$USERSETTINGS_WRAPPER['edit']['PHOTO_UPLOAD'] = "<div class='form-group row mb-3'>
|
||||||
<label for='photo' class='col-sm-3 col-form-label'>".LAN_USER_06."</label>
|
<label for='photo' class='col-sm-3 col-form-label form-label'>".LAN_USER_06."</label>
|
||||||
<div class='col-sm-9'>{---}</div>
|
<div class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$USERSETTINGS_WRAPPER['edit']['SIGNATURE'] = "<div class='form-group row'>
|
$USERSETTINGS_WRAPPER['edit']['SIGNATURE'] = "<div class='form-group row mb-3'>
|
||||||
<label for='signature' class='col-sm-3 col-form-label'>".LAN_USER_71."{REQUIRED=signature}</label>
|
<label for='signature' class='col-sm-3 col-form-label form-label'>".LAN_USER_71."{REQUIRED=signature}</label>
|
||||||
<div class='col-sm-9'>{---}</div>
|
<div class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
|
|
||||||
// $USERSETTINGS_WRAPPER['edit']['USEREXTENDED_ALL'] = "<div class='form-group row'>{---}</div>";
|
// $USERSETTINGS_WRAPPER['edit']['USEREXTENDED_ALL'] = "<div class='form-group row mb-3'>{---}</div>";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -100,8 +100,8 @@ $USERSETTINGS_TEMPLATE['edit'] = "
|
|||||||
{LOGINNAME}
|
{LOGINNAME}
|
||||||
|
|
||||||
|
|
||||||
<div class='form-group row'>
|
<div class='form-group row mb-3'>
|
||||||
<label for='email' class='col-sm-3 col-form-label'>".LAN_USER_60."{REQUIRED=email}</label>
|
<label for='email' class='col-sm-3 col-form-label form-label'>".LAN_USER_60."{REQUIRED=email}</label>
|
||||||
<div class='col-sm-9'>
|
<div class='col-sm-9'>
|
||||||
{EMAIL}
|
{EMAIL}
|
||||||
</div>
|
</div>
|
||||||
@@ -116,15 +116,15 @@ $USERSETTINGS_TEMPLATE['edit'] = "
|
|||||||
{PASSWORD2}
|
{PASSWORD2}
|
||||||
|
|
||||||
|
|
||||||
<div class='form-group row'>
|
<div class='form-group row mb-3'>
|
||||||
<label for='hideemail' class='col-sm-3'>".LAN_USER_83."</label>
|
<label for='hideemail' class='col-sm-3'>".LAN_USER_83."</label>
|
||||||
<div class='col-sm-9'>
|
<div class='col-sm-9'>
|
||||||
{HIDEEMAIL=radio}
|
{HIDEEMAIL=radio}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form-group row'>
|
<div class='form-group row mb-3'>
|
||||||
<label class='col-sm-3 col-form-label'>".LAN_USER_07."{REQUIRED=image}</label>
|
<label class='col-sm-3 col-form-label form-label'>".LAN_USER_07."{REQUIRED=image}</label>
|
||||||
<div class='col-sm-9'>
|
<div class='col-sm-9'>
|
||||||
{AVATAR_REMOTE}
|
{AVATAR_REMOTE}
|
||||||
</div>
|
</div>
|
||||||
@@ -140,7 +140,7 @@ $USERSETTINGS_TEMPLATE['edit'] = "
|
|||||||
{SIGNATURE}
|
{SIGNATURE}
|
||||||
{SIGNATURE_HELP}
|
{SIGNATURE_HELP}
|
||||||
|
|
||||||
<div class='form-group row'>
|
<div class='form-group row mb-3'>
|
||||||
<div class='offset-sm-3 col-sm-9'>
|
<div class='offset-sm-3 col-sm-9'>
|
||||||
{UPDATESETTINGSBUTTON}
|
{UPDATESETTINGSBUTTON}
|
||||||
{DELETEACCOUNTBUTTON}
|
{DELETEACCOUNTBUTTON}
|
||||||
@@ -151,8 +151,8 @@ $USERSETTINGS_TEMPLATE['edit'] = "
|
|||||||
";
|
";
|
||||||
|
|
||||||
$USERSETTINGS_TEMPLATE['extended-category'] = "<h3>{CATNAME}</h3>";
|
$USERSETTINGS_TEMPLATE['extended-category'] = "<h3>{CATNAME}</h3>";
|
||||||
$USERSETTINGS_TEMPLATE['extended-field'] = "<div class='form-group row'>
|
$USERSETTINGS_TEMPLATE['extended-field'] = "<div class='form-group row mb-3'>
|
||||||
<label class='col-sm-3 col-form-label'>{FIELDNAME} {REQUIRED}</label>
|
<label class='col-sm-3 col-form-label form-label'>{FIELDNAME} {REQUIRED}</label>
|
||||||
<div class='col-sm-9'>
|
<div class='col-sm-9'>
|
||||||
{FIELDVAL} {HIDEFIELD}
|
{FIELDVAL} {HIDEFIELD}
|
||||||
</div>
|
</div>
|
||||||
|
@@ -3624,7 +3624,7 @@ var_dump($select_options);*/
|
|||||||
|
|
||||||
foreach($value as $k=>$v)
|
foreach($value as $k=>$v)
|
||||||
{
|
{
|
||||||
$text .= '<li>'.$v.'</li>';
|
$text .= '<li class="dropdown-item">'.$v.'</li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$text .= '
|
$text .= '
|
||||||
|
Reference in New Issue
Block a user