Revision: 10229
http://sourceforge.net/p/phpwiki/code/10229
Author: vargenau
Date: 2021-01-06 18:34:30 +0000 (Wed, 06 Jan 2021)
Log Message:
-----------
lib/plugin/DebugGroupInfo.php: no <h1> needed; use list
Modified Paths:
--------------
trunk/lib/plugin/DebugGroupInfo.php
Modified: trunk/lib/plugin/DebugGroupInfo.php
===================================================================
--- trunk/lib/plugin/DebugGroupInfo.php 2021-01-05 18:39:04 UTC (rev 10228)
+++ trunk/lib/plugin/DebugGroupInfo.php 2021-01-06 18:34:30 UTC (rev 10229)
@@ -51,7 +51,7 @@
$args = $this->getArgs($argstr, $request);
extract($args);
- $output = HTML(HTML::h1("Group Info"));
+ $output = HTML();
$group = WikiGroup::getGroup();
$allGroups = $group->getAllGroupsIn();
@@ -61,10 +61,11 @@
$output->pushContent(HTML::h2($g . " - members: " .
sizeof($members) . " - isMember: " . ($group->isMember($g) ? "yes" : "no")
));
+ $list = HTML::ul();
foreach ($members as $m) {
- $output->pushContent($m);
- $output->pushContent(HTML::br());
+ $list->pushContent(HTML::li($m));
}
+ $output->pushContent($list);
}
$output->pushContent(HTML::p("--- the end ---"));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|