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

Fixes #1132 - Usersettings signature wrapper issue and textarea size.

This commit is contained in:
Cameron
2015-07-20 12:11:49 -07:00
parent 385275344c
commit 0ffc92cde4
3 changed files with 23 additions and 16 deletions

View File

@@ -220,12 +220,12 @@ $USERSETTINGS_WRAPPER['edit']['USERCLASSES'] = "<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>
";
$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>
";
@@ -238,7 +238,7 @@ $USERSETTINGS_WRAPPER['edit']['SIGNATURE'] = "<div class='form-group'>
</div>
";
// $USERSETTINGS_WRAPPER['edit']['USEREXTENDED_ALL'] = "<div class='form-group'>{---}</div>";
@@ -251,6 +251,7 @@ $USERSETTINGS_TEMPLATE['edit'] = "
<div>
{USERNAME}
{LOGINNAME}
@@ -271,7 +272,7 @@ $USERSETTINGS_TEMPLATE['edit'] = "
{CUSTOMTITLE}
{PASSWORD1}
{PASSWORD_LEN}
{PASSWORD2}
@@ -292,11 +293,11 @@ $USERSETTINGS_TEMPLATE['edit'] = "
{AVATAR_UPLOAD}
{PHOTO_UPLOAD}
{USERCLASSES}
{USEREXTENDED_ALL=tabs}
{SIGNATURE=cols=58&rows=4}
{SIGNATURE}
{SIGNATURE_HELP}
<div class='form-group'>

View File

@@ -1333,7 +1333,8 @@ class e_form
case 'small':
$rows = '7';
$height = "style='height:250px'"; // inline required for wysiwyg
$height = "style='height:230px'"; // inline required for wysiwyg
$size = "input-block-level";
break;
case 'medium':

View File

@@ -719,7 +719,7 @@ class e_parse_shortcode
// 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 --------------
* 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
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);