From: sarven Date: Sun, 18 Jan 2009 21:34:57 +0000 (+0000) Subject: Disfavor markup/style X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6b23a9ed2f35e487847fe80b588eb3a967aaecb8;p=quix0rs-gnu-social.git Disfavor markup/style --- diff --git a/lib/disfavorform.php b/lib/disfavorform.php index f339f215a9..45a9ddb1d4 100644 --- a/lib/disfavorform.php +++ b/lib/disfavorform.php @@ -103,6 +103,18 @@ class DisfavorForm extends Form common_session_token()); } + + /** + * Legend of the Form + * + * @return void + */ + function formLegend() + { + $this->out->element('legend', null, _('Disfavor this notice')); + } + + /** * Data elements * diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 76e52ffc9c..0041baf448 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -860,15 +860,18 @@ padding-left:16px; .notice-options form input.submit { cursor:pointer; -padding:2px 0 2px 10px; +width:16px; +padding:2px 0; } .notice-options .notice_delete dt, -.notice-options .form_favor legend { +.notice-options .form_favor legend, +.notice-options .form_disfavor legend { display:none; } .notice-options .notice_delete fieldset, -.notice-options .form_favor fieldset { +.notice-options .form_favor fieldset, +.notice-options .form_disfavor fieldset { border:0; padding:0; }