summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorandre-hub <[email protected]>2011-01-15 22:40:47 +0100
committerAndrew Dolgov <[email protected]>2011-01-16 11:04:05 +0300
commit08ac193a414a72fab13934fac0303714a5a38d40 (patch)
tree2f7377cfb57a4c5f880aca083f92e6f0b212d65c /functions.php
parent69de6b46b2eba1a02808fcb420745e985e97dbbb (diff)
small fixes
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 7c5a306af..4737e60ee 100644
--- a/functions.php
+++ b/functions.php
@@ -4436,13 +4436,13 @@
<img src=\"".theme_image($link, "images/sign_excl.png")."\">$msg</div>";
}
- function format_notice($msg) {
+ function format_notice($msg, $id = "") {
global $link;
return "<div class=\"notice\" id=\"$id\">
<img src=\"".theme_image($link, "images/sign_info.png")."\">$msg</div>";
}
- function format_error($msg) {
+ function format_error($msg, $id = "") {
global $link;
return "<div class=\"error\" id=\"$id\">
<img src=\"".theme_image($link, "images/sign_excl.png")."\">$msg</div>";