summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-13 12:26:24 +0000
committerSarven Capadisli <csarven@status.net>2009-11-13 12:26:24 +0000
commit1bac324072a2d8d53b7e8c038d781b0af21eb99e (patch)
treef3805561881e00cf4dbfcab08cf5de0b85cec058 /lib/action.php
parent12d3c44480465b494010f6f1e56d831cf3567f06 (diff)
Moved class="pagination" to child element and removed element
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/action.php b/lib/action.php
index 80f398fbd..b5cf3240c 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -1048,8 +1048,7 @@ class Action extends HTMLOutputter // lawsuit
{
// Does a little before-after block for next/prev page
if ($have_before || $have_after) {
- $this->elementStart('div', array('class' => 'pagination'));
- $this->elementStart('dl', null);
+ $this->elementStart('dl', 'pagination');
$this->element('dt', null, _('Pagination'));
$this->elementStart('dd', null);
$this->elementStart('ul', array('class' => 'nav'));
@@ -1074,7 +1073,6 @@ class Action extends HTMLOutputter // lawsuit
$this->elementEnd('ul');
$this->elementEnd('dd');
$this->elementEnd('dl');
- $this->elementEnd('div');
}
}