1
0
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:
CaMer0n
2007-09-09 06:57:27 +00:00
parent 041284d2e3
commit bc7a325c53

View File

@@ -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;