Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -1518,7 +1518,7 @@ |
1519 | 1519 | // Add a warning in, if we're editing an existing page and that |
1520 | 1520 | // page appears to not have been created with this form. |
1521 | 1521 | if ( $this->mPageTitle->exists() && ( $existing_page_content != '' ) && ! $source_page_matches_this_form ) { |
1522 | | - $form_text = "\t" . '<div class="warningMessage">' . wfMsg( 'sf_formedit_formwarning', $this->mPageTitle->getFullURL() ) . "</div>\n" . $form_text; |
| 1522 | + $form_text = "\t" . '<div class="warningbox">' . wfMsg( 'sf_formedit_formwarning', $this->mPageTitle->getFullURL() ) . "</div>\n" . $form_text; |
1523 | 1523 | } |
1524 | 1524 | |
1525 | 1525 | // add form bottom, if no custom "standard inputs" have been defined |
Index: trunk/extensions/SemanticForms/skins/SemanticForms.css |
— | — | @@ -80,13 +80,12 @@ |
81 | 81 | width: auto; |
82 | 82 | background: #eeeeee; |
83 | 83 | } |
84 | | -div.warningMessage { |
| 84 | +#sfForm div.warningbox { |
85 | 85 | border: 2px solid red; |
86 | 86 | padding: 5px 10px 5px 10px; |
87 | 87 | margin: 25px; |
88 | 88 | width: auto; |
89 | | - font-weight: bold; |
90 | | - color: black; |
| 89 | + float:none; |
91 | 90 | } |
92 | 91 | span.errorMessage { |
93 | 92 | color: red; |