3 # this was the original page list generation code using <ul> and <li> tags,
4 # which however annoyed some people and has therefor been replaced in the
5 # core, and is now banned into this plugin
8 $ewiki_plugins["list_pages"][0] = "ewiki_list_pages_ul";
11 function ewiki_list_pages_ul($lines=array(), $list_tag="ul") {
13 $o = "<" . $list_tag . ">\n";
14 $o .= "<li>" . implode("</li>\n<li>", $lines) . "</li>\n";
15 $o .= "</" . $list_tag . ">\n";