Revision: 6467
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6467&view=rev
Author:   owes
Date:     2012-03-10 22:57:06 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
Move display of blacklist age to different position.

Modified Paths:
--------------
    ipcop/trunk/html/cgi-bin/urlfilter.cgi

Modified: ipcop/trunk/html/cgi-bin/urlfilter.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/urlfilter.cgi      2012-03-10 22:12:22 UTC (rev 
6466)
+++ ipcop/trunk/html/cgi-bin/urlfilter.cgi      2012-03-10 22:57:06 UTC (rev 
6467)
@@ -76,7 +76,6 @@
 my $buttontext     = '';
 my $source_name    = '';
 my $source_url     = '';
-my $blacklistage   = 0;
 
 my @categories         = ();
 my @filtergroups       = ();
@@ -1206,6 +1205,8 @@
 
     &Header::openbox('100%', 'left', "$Lang::tr{'settings'}:");
     my $sactive = &General::isrunning('squidguard', 'nosize');
+    my $blacklistage = &General::ageupdate('blacklist.last');
+
     print <<END
 <table width='100%'>
 <tr>
@@ -1213,6 +1214,12 @@
     $sactive
     <td>&nbsp;</td>
     <td>&nbsp;</td>
+END
+    ;
+    if ($blacklistage != -1) {
+        print "</tr><tr><td colspan='4'>$Lang::tr{'blacklist is old1'} 
<b>$blacklistage</b> $Lang::tr{'updates is old3'}</td>";
+    }
+    print <<END
 </tr><tr>
     <td colspan='4' class='base'><hr /></td>
 </tr><tr>
@@ -1531,11 +1538,6 @@
     <td colspan='4' class='base'><b>$Lang::tr{'blacklist update'}</b>
 END
 ;
-    $blacklistage = &General::ageupdate('blacklist.last');
-    if ($blacklistage != -1) {
-        print
-"&nbsp; <b>[</b> <small><i>$Lang::tr{'urlfilter blacklist age 1'} 
<b>$blacklistage</b> $Lang::tr{'urlfilter blacklist age 2'}</i></small> 
<b>]</b>";
-    }
 
     $updatesettings{'ENABLE_AUTOUPDATE'} = 'off';
     $updatesettings{'CHECKUPDATES'}      = 'off';

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to