diff options
author | sarven <csarven@plantard.controlezvous.ca> | 2009-01-18 21:34:57 +0000 |
---|---|---|
committer | sarven <csarven@plantard.controlezvous.ca> | 2009-01-18 21:34:57 +0000 |
commit | 6b23a9ed2f35e487847fe80b588eb3a967aaecb8 (patch) | |
tree | 7c90195198db42ae22ac339842628b0127196f1b | |
parent | 7749228f52d914d4949cb5fa139cdd6ade4ead6e (diff) |
Disfavor markup/style
-rw-r--r-- | lib/disfavorform.php | 12 | ||||
-rw-r--r-- | theme/base/css/display.css | 9 |
2 files changed, 18 insertions, 3 deletions
diff --git a/lib/disfavorform.php b/lib/disfavorform.php index f339f215a..45a9ddb1d 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 76e52ffc9..0041baf44 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; } |