|
From: <var...@us...> - 2015-02-12 12:10:34
|
Revision: 9535
http://sourceforge.net/p/phpwiki/code/9535
Author: vargenau
Date: 2015-02-12 12:10:32 +0000 (Thu, 12 Feb 2015)
Log Message:
-----------
Add <ul> for list
Modified Paths:
--------------
trunk/lib/plugin/RecentChanges.php
Modified: trunk/lib/plugin/RecentChanges.php
===================================================================
--- trunk/lib/plugin/RecentChanges.php 2015-02-12 11:45:34 UTC (rev 9534)
+++ trunk/lib/plugin/RecentChanges.php 2015-02-12 12:10:32 UTC (rev 9535)
@@ -797,7 +797,8 @@
{
include_once 'lib/InlineParser.php';
- $html = HTML(HTML::h2(false, $this->headline()));
+ $html = HTML::div();
+ $ul = HTML::ul();
$first = true;
while ($rev = $changes->next()) {
@@ -805,15 +806,18 @@
if (mayAccessPage('view', $rev->_pagename)) {
if ($link = $this->pageLink($rev)) // some entries may be empty
// (/Blog/.. interim pages)
- $html->pushContent(HTML::li($link));
+ $ul->pushContent(HTML::li($link));
if ($first)
$this->setValidators($rev);
$first = false;
}
}
- if ($first)
+ if ($first) {
$html->pushContent(HTML::p(array('class' => 'rc-empty'),
$this->empty_message()));
+ } else {
+ $html->pushContent($ul);
+ }
return $html;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|