mirror of
https://github.com/e107inc/e107.git
synced 2025-01-16 20:28:28 +01:00
Update bb_p.php
Tested on custom pages & news
This commit is contained in:
parent
30302dbbfc
commit
d01a0b6e83
@ -60,7 +60,8 @@ class bb_p extends e_bb_base
|
||||
|
||||
$parms = eHelper::scParams($parm);
|
||||
|
||||
$class = " ".e107::getBB()->getClass('p'); // consistent classes across all themes.
|
||||
$class = vartrue($parms['class']) ? ' class="'.eHelper::secureClassAttr($parms['class']).' ' : ' class="';
|
||||
$class .= e107::getBB()->getClass('p').'"'; // consistent classes across all themes.
|
||||
|
||||
$id = vartrue($parms['id']) ? ' id="'.eHelper::secureIdAttr($parms['id']).'"' : '';
|
||||
$style = vartrue($parms['style']) ? ' style="'.eHelper::secureStyleAttr($parms['style']).'"' : '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user