From f17df2e6be37f0d7a25e7e594fb0116785b46e6d Mon Sep 17 00:00:00 2001 From: sarven Date: Thu, 15 Jan 2009 23:59:43 +0000 Subject: notice_favorite class submit doesn't need a paragraph wrapper --- lib/favorform.php | 6 +++--- lib/htmloutputter.php | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/favorform.php b/lib/favorform.php index 4f4fd72a9..8b01483b2 100644 --- a/lib/favorform.php +++ b/lib/favorform.php @@ -125,7 +125,7 @@ class FavorForm extends Form function formActions() { $this->out->submit('favor-submit-' . $this->notice->id, - _('Make a favorite')); + _('Favorite')); } /** @@ -136,6 +136,6 @@ class FavorForm extends Form function formClass() { - return 'favor'; + return 'notice_favorite'; } -} \ No newline at end of file +} diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index 75a995bef..eb8a612e4 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -324,13 +324,11 @@ class HTMLOutputter extends XMLOutputter function submit($id, $label, $cls='submit', $name=null) { - $this->elementStart('p'); $this->element('input', array('type' => 'submit', 'id' => $id, 'name' => ($name) ? $name : $id, 'class' => $cls, 'value' => $label)); - $this->elementEnd('p'); } /** -- cgit v1.2.3-54-g00ecf