Revision: 7694 http://sourceforge.net/p/ipcop/svn/7694 Author: owes Date: 2014-10-29 18:18:52 +0000 (Wed, 29 Oct 2014) Log Message: ----------- Do not use the global information message about update, and avoid information duplication.
Modified Paths: -------------- ipcop/trunk/html/cgi-bin/updates.cgi ipcop/trunk/updates/2.1.8/ROOTFILES.i486-2.1.8 Modified: ipcop/trunk/html/cgi-bin/updates.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/updates.cgi 2014-10-29 16:03:57 UTC (rev 7693) +++ ipcop/trunk/html/cgi-bin/updates.cgi 2014-10-29 18:18:52 UTC (rev 7694) @@ -202,7 +202,9 @@ } else { # Only look for patches if patches/available.xml exists, otherwise we duplicate the message - $patchmessage = &General::ispatchavailable(); + if (&General::ispatchavailable() ne '') { + $patchmessage = $Lang::tr{'there are updates available'} + } } &Header::openpage($Lang::tr{'updates'}, 1, ''); @@ -268,7 +270,7 @@ $showfreespace = 1; print <<END <table width='100%' border='0'><tr> - <td><b>$Lang::tr{'there are updates available'}</b></td> + <td> </td> <td width='20%'><form method='post' action='$ENV{'SCRIPT_NAME'}'> <input type='submit' name='ACTION' value='$Lang::tr{'refresh update list'}' /> </form></td> Modified: ipcop/trunk/updates/2.1.8/ROOTFILES.i486-2.1.8 =================================================================== --- ipcop/trunk/updates/2.1.8/ROOTFILES.i486-2.1.8 2014-10-29 16:03:57 UTC (rev 7693) +++ ipcop/trunk/updates/2.1.8/ROOTFILES.i486-2.1.8 2014-10-29 18:18:52 UTC (rev 7694) @@ -1,4 +1,5 @@ ## please place IPCop files first, then packages sorted by alphabetical order +/home/httpd/cgi-bin/updates.cgi ## ## acpid-2.0.23 /usr/sbin/acpid This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn