1
0
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:
sudakk 2019-10-28 21:59:32 +03:00 committed by GitHub
parent 30302dbbfc
commit d01a0b6e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']).'"' : '';