summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-27 10:13:29 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-27 10:13:29 +0000
commited4760018fe8a60ab89e4bab58fde04faa4ccd0e (patch)
treecd55f19f1be08def278488f5d661111359b38346 /templates
parent1958ddd8e1e74ef00849c78782656c0ba2995f07 (diff)
downloadsemanticscuttle-ed4760018fe8a60ab89e4bab58fde04faa4ccd0e.tar.gz
semanticscuttle-ed4760018fe8a60ab89e4bab58fde04faa4ccd0e.tar.bz2
Minor fix: improve import from Netscape files (now takes description into account)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@177 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates')
-rw-r--r--templates/top.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/top.inc.php b/templates/top.inc.php
index 633e3f8..b886e76 100644
--- a/templates/top.inc.php
+++ b/templates/top.inc.php
@@ -63,10 +63,10 @@ if(!isset($_GET['popup'])) {
if (isset($subtitle)) {
echo '<h2>'. $subtitle ."</h2>\n";
}
-if (isset($error)) {
+if (isset($error) && $msg!='') {
echo '<p class="error">'. $error ."</p>\n";
}
-if (isset($msg)) {
+if (isset($msg) && $msg!='') {
echo '<p class="success">'. $msg ."</p>\n";
}
?> \ No newline at end of file