mirror of
https://github.com/e107inc/e107.git
synced 2025-01-18 05:09:05 +01:00
Merge pull request #2523 from Jimmi08/patch-10
improved param $class in contact subject shordcode
This commit is contained in:
commit
d6091754b0
@ -147,10 +147,10 @@ class contact_shortcodes extends e_shortcode
|
||||
{
|
||||
$size = 'input-xxlarge';
|
||||
}
|
||||
|
||||
$class = (!empty($parm['class'])) ? $parm['class'] : 'tbox '.$size.' form-control';
|
||||
|
||||
|
||||
return "<textarea cols='{$cols}' id='contactBody' rows='{$rows}' title='".LANCONTACT_20."' name='body' ".$placeholder." required='required' class='tbox {$size} form-control'>".stripslashes(varset($_POST['body']))."</textarea>";
|
||||
return "<textarea cols='{$cols}' id='contactBody' rows='{$rows}' title='".LANCONTACT_20."' name='body' ".$placeholder." required='required' class='".$class."'>".stripslashes(varset($_POST['body']))."</textarea>";
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user