summaryrefslogtreecommitdiff
path: root/lib/noticeform.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-03-25 18:16:20 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-03-25 18:16:20 +0000
commita13bfa5848705d23353783f195b67c088a72a8cb (patch)
treed844cbed772caf0418f4e84326e964c0e7f8a91d /lib/noticeform.php
parent66a2f4c64b8cf9949503f992ce8571244e213bab (diff)
Ticket http://laconi.ca/trac/ticket/1274
Minimised form_notice markup by removing unordered lists. There is a minor CSS rule reassignment done by changing the selectors. There is no visual change in the final result.
Diffstat (limited to 'lib/noticeform.php')
-rw-r--r--lib/noticeform.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/noticeform.php b/lib/noticeform.php
index 0c991c969..606b5d028 100644
--- a/lib/noticeform.php
+++ b/lib/noticeform.php
@@ -134,9 +134,6 @@ class NoticeForm extends Form
function formData()
{
-
- $this->out->elementStart('ul', 'form_data');
- $this->out->elementStart('li', array('id' => 'notice_text'));
$this->out->element('label', array('for' => 'notice_data-text'),
sprintf(_('What\'s up, %s?'), $this->user->nickname));
// XXX: vary by defined max size
@@ -145,8 +142,6 @@ class NoticeForm extends Form
'rows' => 4,
'name' => 'status_textarea'),
($this->content) ? $this->content : '');
- $this->out->elementEnd('li');
- $this->out->elementEnd('ul');
$this->out->elementStart('dl', 'form_note');
$this->out->element('dt', null, _('Available characters'));
@@ -168,14 +163,10 @@ class NoticeForm extends Form
function formActions()
{
- $this->out->elementStart('ul', 'form_actions');
- $this->out->elementStart('li', array('id' => 'notice_submit'));
$this->out->element('input', array('id' => 'notice_action-submit',
'class' => 'submit',
'name' => 'status_submit',
'type' => 'submit',
'value' => _('Send')));
- $this->out->elementEnd('li');
- $this->out->elementEnd('ul');
}
}