mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
bugfix: added missing class info.
This commit is contained in:
@@ -24,20 +24,20 @@ else
|
|||||||
|
|
||||||
if ($parm == '')
|
if ($parm == '')
|
||||||
{ /* unordered list */
|
{ /* unordered list */
|
||||||
$listtext = "<ul>";
|
$listtext = "<ul class='bbcode'>";
|
||||||
$trailer = "</ul>";
|
$trailer = "</ul>";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$type = $tp -> toAttribute($parm);
|
$type = $tp -> toAttribute($parm);
|
||||||
$listtext = "\n<ol style='list-style-type: $type'>";
|
$listtext = "\n<ol class='bbcode' style='list-style-type: $type'>";
|
||||||
$trailer = "</ol>";
|
$trailer = "</ol>";
|
||||||
}
|
}
|
||||||
foreach($listitems as $item)
|
foreach($listitems as $item)
|
||||||
{
|
{
|
||||||
if($item && $item != E_NL)
|
if($item && $item != E_NL)
|
||||||
{
|
{
|
||||||
$listtext .= "<li>$item</li>";
|
$listtext .= "<li class='bbcode'>$item</li>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $listtext.$trailer;
|
return $listtext.$trailer;
|
||||||
|
Reference in New Issue
Block a user