summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-05-29 02:38:38 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-05-29 02:38:38 +0000
commitb8de7935568e631bc99aec6120f2bc4090f50fec (patch)
treea7cabffea6029e63856f40714531ded64b9879f2 /lib
parenta456ceb47c5019acd8d8766be274eda955a58125 (diff)
Changed ul to ol and added xoxo for notice lists.
Diffstat (limited to 'lib')
-rw-r--r--lib/noticelist.php4
-rw-r--r--lib/noticesection.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 50a95cfcb..0e80a9778 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -86,7 +86,7 @@ class NoticeList extends Widget
{
$this->out->elementStart('div', array('id' =>'notices_primary'));
$this->out->element('h2', null, _('Notices'));
- $this->out->elementStart('ul', array('class' => 'notices'));
+ $this->out->elementStart('ol', array('class' => 'notices xoxo'));
$cnt = 0;
@@ -101,7 +101,7 @@ class NoticeList extends Widget
$item->show();
}
- $this->out->elementEnd('ul');
+ $this->out->elementEnd('ol');
$this->out->elementEnd('div');
return $cnt;
diff --git a/lib/noticesection.php b/lib/noticesection.php
index 37aafdaf6..ca1432686 100644
--- a/lib/noticesection.php
+++ b/lib/noticesection.php
@@ -52,12 +52,12 @@ class NoticeSection extends Section
{
$notices = $this->getNotices();
$cnt = 0;
- $this->out->elementStart('ul', 'notices');
+ $this->out->elementStart('ol', 'notices xoxo');
while ($notices->fetch() && ++$cnt <= NOTICES_PER_SECTION) {
$this->showNotice($notices);
}
- $this->out->elementEnd('ul');
+ $this->out->elementEnd('ol');
return ($cnt > NOTICES_PER_SECTION);
}