Revision: 7054
http://ipcop.svn.sourceforge.net/ipcop/?rev=7054&view=rev
Author: dotzball
Date: 2013-06-01 11:16:54 +0000 (Sat, 01 Jun 2013)
Log Message:
-----------
Always show all error messages in updates webgui, not only the last one.
Modified Paths:
--------------
ipcop/trunk/html/cgi-bin/updates.cgi
Modified: ipcop/trunk/html/cgi-bin/updates.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/updates.cgi 2013-06-01 11:15:10 UTC (rev
7053)
+++ ipcop/trunk/html/cgi-bin/updates.cgi 2013-06-01 11:16:54 UTC (rev
7054)
@@ -145,13 +145,13 @@
&General::log("installpackage", $Lang::tr{'successfully refreshed
updates list'});
}
elsif ($return == 1) {
- $errormessage = $Lang::tr{'connection is down'};
+ $errormessage .= "$Lang::tr{'connection is down'}<br />";
}
elsif ($return == 2) {
- $errormessage = $Lang::tr{'could not open available updates file'};
+ $errormessage .= "$Lang::tr{'could not open available updates
file'}<br />";
}
else {
- $errormessage = $Lang::tr{'could not download the available updates
list'};
+ $errormessage .= "$Lang::tr{'could not download the available updates
list'}<br />";
}
}
elsif ($uploadsettings{'ACTION'} eq "$Lang::tr{'clear cache'} (squid)") {
@@ -166,12 +166,12 @@
# Read-in the XML list files installed/ready to install
$installed = eval { XMLin('/var/ipcop/patches/installed.xml') };
if ($@) {
- $errormessage = $Lang::tr{'could not open installed updates file'};
+ $errormessage .= "$Lang::tr{'could not open installed updates file'}<br
/>";
}
$available = eval { XMLin('/var/ipcop/patches/available.xml') };
if ($@) {
- $errormessage = $Lang::tr{'could not open available updates file'};
+ $errormessage .= "$Lang::tr{'could not open available updates file'}<br
/>";
$available->{"latest"} = ${General::version};
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn