tweak notice/warning/etc display

This commit is contained in:
Andrew Dolgov 2013-04-18 16:18:20 +04:00
parent bbffc43e4f
commit 6d9426feae
3 changed files with 5 additions and 5 deletions

View file

@ -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) {

View file

@ -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 {

View file

@ -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;
}