1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +02:00

bugfix: added missing class info.

This commit is contained in:
CaMer0n 2007-09-09 06:57:27 +00:00
parent 041284d2e3
commit bc7a325c53

View File

@ -24,20 +24,20 @@ else
if ($parm == '')
{ /* unordered list */
$listtext = "<ul>";
$listtext = "<ul class='bbcode'>";
$trailer = "</ul>";
}
else
{
$type = $tp -> toAttribute($parm);
$listtext = "\n<ol style='list-style-type: $type'>";
$listtext = "\n<ol class='bbcode' style='list-style-type: $type'>";
$trailer = "</ol>";
}
foreach($listitems as $item)
{
if($item && $item != E_NL)
{
$listtext .= "<li>$item</li>";
$listtext .= "<li class='bbcode'>$item</li>";
}
}
return $listtext.$trailer;