projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New empty language empty.po file
[fa-stable.git]
/
includes
/
ui
/
ui_msgs.inc
diff --git
a/includes/ui/ui_msgs.inc
b/includes/ui/ui_msgs.inc
index 09bb82bcd2218881f308fbf059566a9a589f0901..58e3df3078fcce5743f655970b2edc8e65d879e3 100644
(file)
--- a/
includes/ui/ui_msgs.inc
+++ b/
includes/ui/ui_msgs.inc
@@
-11,8
+11,6
@@
***********************************************************************/
function display_error($msg, $center=true)
{
***********************************************************************/
function display_error($msg, $center=true)
{
- global $go_debug;
-
trigger_error($msg, E_USER_ERROR);
}
trigger_error($msg, E_USER_ERROR);
}
@@
-31,6
+29,11
@@
function display_notification_centered($msg)
display_notification($msg, true);
}
display_notification($msg, true);
}
+function display_caption($msg)
+{
+ echo "<caption>$msg</caption>\n";
+}
+
function display_heading($msg)
{
echo "<center><span class='headingtext'>$msg</span></center>\n";
function display_heading($msg)
{
echo "<center><span class='headingtext'>$msg</span></center>\n";
@@
-66,4
+69,3
@@
function stock_item_heading($stock_id)
}
}
}
}
-?>
\ No newline at end of file