summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/favorform.php6
-rw-r--r--lib/htmloutputter.php2
2 files changed, 3 insertions, 5 deletions
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');
}
/**