changed git call from https to git readonly
[atutor.git] / mods / wiki / plugins / appearance / listpages_tbl.php
1 <?php
2
3  # this plugin prints out tables instead of <ul> lists for all the
4  # internally generated pages
5  # of course you should customize THIS!
6
7
8  $ewiki_plugins["list_pages"][] = "ewiki_list_pages_fancy1";
9
10
11  function ewiki_list_pages_fancy1($lines) {
12
13     $cell_attr = 'bgcolor="#999999"';
14
15     $o = '<table border="0" cellpadding="2" cellspacing="2" width="90%">' . "\n";
16     $o .= "<tr><td $cell_attr>" . implode("</td></tr>\n<tr><td $cell_attr>", $lines) . "</td></tr>\n";
17     $o .= "</table>\n";
18     return($o);
19  }
20
21
22 ?>