Revision: 8037
          http://sourceforge.net/p/ipcop/svn/8037
Author:   owes
Date:     2016-01-04 08:06:53 +0000 (Mon, 04 Jan 2016)
Log Message:
-----------
Fix button text. Today summary does not exist, jump to yesterday.

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

Modified: ipcop/trunk/html/cgi-bin/logsummary.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/logsummary.cgi     2016-01-04 08:03:32 UTC (rev 
8036)
+++ ipcop/trunk/html/cgi-bin/logsummary.cgi     2016-01-04 08:06:53 UTC (rev 
8037)
@@ -88,8 +88,8 @@
     $cgiparams{'MONTH'} = $temp_then[4];
     $cgiparams{'DAY'}   = $temp_then[3];
 }
-# There is a comma in FR button string
-elsif (&Header::cleanhtml($cgiparams{'ACTION'},"y") eq $Lang::tr{'day today'}) 
{
+# There may be a comma in button string
+elsif (&Header::cleanhtml($cgiparams{'ACTION'},"y") eq $Lang::tr{'day 
yesterday'}) {
     @temp_then = &General::calculatedate($now[5]+1900, $now[4], $now[3], -1);
     $cgiparams{'YEAR'}  = $temp_then[5]+1900;
     $cgiparams{'MONTH'} = $temp_then[4];
@@ -193,7 +193,7 @@
     </td>
     <td width='45%'  align='center'>
         <input type='submit' name='ACTION' title='$Lang::tr{'day before'}' 
value='&lt;&lt;' />
-        <input type='submit' name='ACTION' value='$Lang::tr{'day today'}' />
+        <input type='submit' name='ACTION' value='$Lang::tr{'day yesterday'}' 
/>
         <input type='submit' name='ACTION' title='$Lang::tr{'day after'}' 
value='&gt;&gt;' />
         <input type='submit' name='ACTION' value='$Lang::tr{'update'}' />
         <input type='submit' name='ACTION' value='$Lang::tr{'export'}' />

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

Reply via email to