summaryrefslogtreecommitdiff
path: root/lib/favorform.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/favorform.php')
-rw-r--r--lib/favorform.php18
1 files changed, 15 insertions, 3 deletions
diff --git a/lib/favorform.php b/lib/favorform.php
index 4f4fd72a9..977f19183 100644
--- a/lib/favorform.php
+++ b/lib/favorform.php
@@ -103,6 +103,18 @@ class FavorForm extends Form
common_session_token());
}
+
+ /**
+ * Legend of the Form
+ *
+ * @return void
+ */
+ function formLegend()
+ {
+ $this->out->element('legend', null, _('Delete this notice'));
+ }
+
+
/**
* Data elements
*
@@ -125,7 +137,7 @@ class FavorForm extends Form
function formActions()
{
$this->out->submit('favor-submit-' . $this->notice->id,
- _('Make a favorite'));
+ _('Favorite'));
}
/**
@@ -136,6 +148,6 @@ class FavorForm extends Form
function formClass()
{
- return 'favor';
+ return 'notice_favorite';
}
-} \ No newline at end of file
+}