tweak notice/warning/etc display

master
Andrew Dolgov 11 years ago
parent bbffc43e4f
commit 6d9426feae

@ -2925,19 +2925,19 @@
function format_warning($msg, $id = "") {
global $link;
return "<div class=\"warning\" id=\"$id\">
<img src=\"images/sign_excl.svg\"><div class='inner'>$msg</div></div>";
<img src=\"images/sign_excl.svg\">$msg</div>";
}
function format_notice($msg, $id = "") {
global $link;
return "<div class=\"notice\" id=\"$id\">
<img src=\"images/sign_info.svg\"><div class='inner'>$msg</div></div>";
<img src=\"images/sign_info.svg\">$msg</div>";
}
function format_error($msg, $id = "") {
global $link;
return "<div class=\"error\" id=\"$id\">
<img src=\"images/sign_excl.svg\"><div class='inner'>$msg</div></div>";
<img src=\"images/sign_excl.svg\">$msg</div>";
}
function print_notice($msg) {

@ -287,8 +287,8 @@ div.error {
div.warning img, div.notice img, div.error img {
margin-right : 4px;
float : left;
vertical-align : middle;
display : table-cell;
}
ul.nomarks {

@ -73,7 +73,7 @@ div.error {
div.warning img, div.notice img, div.error img {
margin-right : 4px;
float : left;
display : table-cell;
vertical-align : middle;
}

Loading…
Cancel
Save