mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Fixes #1132 - Usersettings signature wrapper issue and textarea size.
This commit is contained in:
@@ -220,12 +220,12 @@ $USERSETTINGS_WRAPPER['edit']['USERCLASSES'] = "<div class='form-group'>
|
|||||||
";
|
";
|
||||||
|
|
||||||
$USERSETTINGS_WRAPPER['edit']['AVATAR_UPLOAD'] = "<div class='form-group'>
|
$USERSETTINGS_WRAPPER['edit']['AVATAR_UPLOAD'] = "<div class='form-group'>
|
||||||
<label for='customtitle' 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 class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
$USERSETTINGS_WRAPPER['edit']['PHOTO_UPLOAD'] = "<div class='form-group'>
|
$USERSETTINGS_WRAPPER['edit']['PHOTO_UPLOAD'] = "<div class='form-group'>
|
||||||
<label for='customtitle' 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 class='col-sm-9'>{---}</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
@@ -238,7 +238,7 @@ $USERSETTINGS_WRAPPER['edit']['SIGNATURE'] = "<div class='form-group'>
|
|||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
|
|
||||||
|
// $USERSETTINGS_WRAPPER['edit']['USEREXTENDED_ALL'] = "<div class='form-group'>{---}</div>";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -251,6 +251,7 @@ $USERSETTINGS_TEMPLATE['edit'] = "
|
|||||||
<div>
|
<div>
|
||||||
|
|
||||||
{USERNAME}
|
{USERNAME}
|
||||||
|
|
||||||
{LOGINNAME}
|
{LOGINNAME}
|
||||||
|
|
||||||
|
|
||||||
@@ -271,7 +272,7 @@ $USERSETTINGS_TEMPLATE['edit'] = "
|
|||||||
{CUSTOMTITLE}
|
{CUSTOMTITLE}
|
||||||
|
|
||||||
{PASSWORD1}
|
{PASSWORD1}
|
||||||
{PASSWORD_LEN}
|
|
||||||
{PASSWORD2}
|
{PASSWORD2}
|
||||||
|
|
||||||
|
|
||||||
@@ -292,11 +293,11 @@ $USERSETTINGS_TEMPLATE['edit'] = "
|
|||||||
{AVATAR_UPLOAD}
|
{AVATAR_UPLOAD}
|
||||||
{PHOTO_UPLOAD}
|
{PHOTO_UPLOAD}
|
||||||
|
|
||||||
|
|
||||||
{USERCLASSES}
|
{USERCLASSES}
|
||||||
{USEREXTENDED_ALL=tabs}
|
{USEREXTENDED_ALL=tabs}
|
||||||
|
|
||||||
|
{SIGNATURE}
|
||||||
{SIGNATURE=cols=58&rows=4}
|
|
||||||
{SIGNATURE_HELP}
|
{SIGNATURE_HELP}
|
||||||
|
|
||||||
<div class='form-group'>
|
<div class='form-group'>
|
||||||
|
@@ -1333,7 +1333,8 @@ class e_form
|
|||||||
|
|
||||||
case 'small':
|
case 'small':
|
||||||
$rows = '7';
|
$rows = '7';
|
||||||
$height = "style='height:250px'"; // inline required for wysiwyg
|
$height = "style='height:230px'"; // inline required for wysiwyg
|
||||||
|
$size = "input-block-level";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'medium':
|
case 'medium':
|
||||||
|
@@ -719,7 +719,7 @@ class e_parse_shortcode
|
|||||||
|
|
||||||
// former $sc_style - do it once here and not on every doCode loop - performance
|
// former $sc_style - do it once here and not on every doCode loop - performance
|
||||||
|
|
||||||
$this->sc_style = e107::scStyle(); //FIXME - BC Problems and conflicts. - XXX Commenting this out will fix #3 below.
|
$this->sc_style = e107::scStyle(); //FIXME - BC Problems and conflicts.
|
||||||
|
|
||||||
/* --------- BUG TEST Scenario --------------
|
/* --------- BUG TEST Scenario --------------
|
||||||
* Front-end Theme: Bootstrap
|
* Front-end Theme: Bootstrap
|
||||||
@@ -756,8 +756,13 @@ class e_parse_shortcode
|
|||||||
// Do it only once per parsing cylcle and not on every doCode() loop - performance
|
// Do it only once per parsing cylcle and not on every doCode() loop - performance
|
||||||
if(method_exists($this->addedCodes, 'wrapper'))
|
if(method_exists($this->addedCodes, 'wrapper'))
|
||||||
{
|
{
|
||||||
$this->wrappers = e107::templateWrapper($this->addedCodes->wrapper());
|
$tmpWrap = e107::templateWrapper($this->addedCodes->wrapper());
|
||||||
|
if(!empty($tmpWrap)) // FIX for #3 above.
|
||||||
|
{
|
||||||
|
$this->wrappers = array_merge($this->wrappers,$tmpWrap);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
$classname = get_class($extraCodes);
|
$classname = get_class($extraCodes);
|
||||||
|
Reference in New Issue
Block a user