summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-17 20:57:48 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-17 20:57:48 +0000
commit5a81b6d04ea7e2f7c5e5799ada8a611ec9406317 (patch)
tree2253241668b3bf8e11915f181a12f134b114ae88
parente93807d0e47266805fcf26738a11f23b5e689d18 (diff)
Added @title to input submit (reusing $label value until we really
need to make it custom)
-rw-r--r--lib/favorform.php4
-rw-r--r--lib/htmloutputter.php3
-rw-r--r--lib/noticelist.php4
3 files changed, 6 insertions, 5 deletions
diff --git a/lib/favorform.php b/lib/favorform.php
index 977f19183..519b305b6 100644
--- a/lib/favorform.php
+++ b/lib/favorform.php
@@ -111,7 +111,7 @@ class FavorForm extends Form
*/
function formLegend()
{
- $this->out->element('legend', null, _('Delete this notice'));
+ $this->out->element('legend', null, _('Favor this notice'));
}
@@ -137,7 +137,7 @@ class FavorForm extends Form
function formActions()
{
$this->out->submit('favor-submit-' . $this->notice->id,
- _('Favorite'));
+ _('Favor this notice'));
}
/**
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php
index 71f17604b..f83998bc2 100644
--- a/lib/htmloutputter.php
+++ b/lib/htmloutputter.php
@@ -319,7 +319,8 @@ class HTMLOutputter extends XMLOutputter
'id' => $id,
'name' => ($name) ? $name : $id,
'class' => $cls,
- 'value' => $label));
+ 'value' => $label,
+ 'title' => $label));
}
/**
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 1283e43e4..9c433f81a 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -442,7 +442,7 @@ class NoticeListItem extends Widget
$this->out->element('dt', null, _('Reply to this notice'));
$this->out->elementStart('dd');
$this->out->element('a', array('href' => $reply_url,
- 'title' => _('reply')), _('Reply'));
+ 'title' => _('Reply to this notice')), _('Reply'));
$this->out->elementEnd('dd');
$this->out->elementEnd('dl');
}
@@ -463,7 +463,7 @@ class NoticeListItem extends Widget
$this->out->element('dt', null, _('Delete this notice'));
$this->out->elementStart('dd');
$this->out->element('a', array('href' => $deleteurl,
- 'title' => _('delete')), _('Delete'));
+ 'title' => _('Delete this notice')), _('Delete'));
$this->out->elementEnd('dd');
$this->out->elementEnd('dl');
}