]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added @title to input submit (reusing $label value until we really
authorsarven <csarven@plantard.controlezvous.ca>
Sat, 17 Jan 2009 20:57:48 +0000 (20:57 +0000)
committersarven <csarven@plantard.controlezvous.ca>
Sat, 17 Jan 2009 20:57:48 +0000 (20:57 +0000)
need to make it custom)

lib/favorform.php
lib/htmloutputter.php
lib/noticelist.php

index 977f191838d201c6782fe8e65c8b05f31238a589..519b305b6fcffa59aed5df30537ccea4d4141eb2 100644 (file)
@@ -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'));
     }
     
     /**
index 71f17604ba989ac142cd0122224e14418e29f021..f83998bc278e3920ae75846f6de07aa936c299f1 100644 (file)
@@ -319,7 +319,8 @@ class HTMLOutputter extends XMLOutputter
                                       'id' => $id,
                                       'name' => ($name) ? $name : $id,
                                       'class' => $cls,
-                                      'value' => $label));
+                                      'value' => $label,
+                                      'title' => $label));
     }
 
     /**
index 1283e43e4a0ace99c9659e77598b6025bf28a0b0..9c433f81a0a4f218f627452ffb2fc14e5e80c9b5 100644 (file)
@@ -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');
         }