summaryrefslogtreecommitdiff
path: root/actions
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 /actions
parenta456ceb47c5019acd8d8766be274eda955a58125 (diff)
Changed ul to ol and added xoxo for notice lists.
Diffstat (limited to 'actions')
-rw-r--r--actions/conversation.php10
-rw-r--r--actions/shownotice.php4
2 files changed, 7 insertions, 7 deletions
diff --git a/actions/conversation.php b/actions/conversation.php
index ef189016a..0d7cb9a87 100644
--- a/actions/conversation.php
+++ b/actions/conversation.php
@@ -179,14 +179,14 @@ class ConversationTree extends NoticeList
$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'));
if (array_key_exists('root', $this->tree)) {
$rootid = $this->tree['root'][0];
$this->showNoticePlus($rootid);
}
- $this->out->elementEnd('ul');
+ $this->out->elementEnd('ol');
$this->out->elementEnd('div');
return $cnt;
@@ -215,13 +215,13 @@ class ConversationTree extends NoticeList
if (array_key_exists($id, $this->tree)) {
$children = $this->tree[$id];
- $this->out->elementStart('ul', array('class' => 'notices'));
+ $this->out->elementStart('ol', array('class' => 'notices'));
foreach ($children as $child) {
$this->showNoticePlus($child);
}
- $this->out->elementEnd('ul');
+ $this->out->elementEnd('ol');
}
$this->out->elementEnd('li');
@@ -295,4 +295,4 @@ class ConversationTreeItem extends NoticeListItem
{
return;
}
-} \ No newline at end of file
+}
diff --git a/actions/shownotice.php b/actions/shownotice.php
index 2c469c9de..34c8a8e94 100644
--- a/actions/shownotice.php
+++ b/actions/shownotice.php
@@ -208,10 +208,10 @@ class ShownoticeAction extends Action
function showContent()
{
- $this->elementStart('ul', array('class' => 'notices'));
+ $this->elementStart('ol', array('class' => 'notices xoxo'));
$nli = new NoticeListItem($this->notice, $this);
$nli->show();
- $this->elementEnd('ul');
+ $this->elementEnd('ol');
}
/**