cvs: docweb /scripts notes_stats_output.php /templates/all/www notes_stats.tpl.php

[email protected] ("Sean Coates")
Newsgroups php.doc.web
Message-ID <cvssean1122857503@cvsserver>
sean		Sun Jul 31 20:51:43 2005 EDT

  Modified files:              
    /docweb/scripts	notes_stats_output.php 
    /docweb/templates/all/www	notes_stats.tpl.php 
  Log:
  change 6 months cutoff to 1 year
  
http://cvs.php.net/diff.php/docweb/scripts/notes_stats_output.php?r1=1.5&r2=1.6&ty=u
Index: docweb/scripts/notes_stats_output.php
diff -u docweb/scripts/notes_stats_output.php:1.5 docweb/scripts/notes_stats_output.php:1.6
--- docweb/scripts/notes_stats_output.php:1.5	Sun Jul 31 20:36:48 2005
+++ docweb/scripts/notes_stats_output.php	Sun Jul 31 20:51:41 2005
@@ -16,7 +16,7 @@
 | Authors: Vincent Gevers <[email protected]>                            |
 |          Sean Coates <[email protected]>                                  |
 +----------------------------------------------------------------------+
-$Id: notes_stats_output.php,v 1.5 2005/08/01 00:36:48 sean Exp $
+$Id: notes_stats_output.php,v 1.6 2005/08/01 00:51:41 sean Exp $
 */
 
 // config comees from notes_stats.php
@@ -33,7 +33,7 @@
 // fetch/sort data
 $array = sqlite_fetch_all(sqlite_query($sqlite, 'SELECT * FROM notes'), SQLITE_ASSOC);
 sqlite_close($sqlite);
-$time  = time() - 60*60*24*180;
+$time  = time() - 60*60*24*365;
 
 foreach($array as $row) {
     @++$data[$row['who']][$row['action']];
http://cvs.php.net/diff.php/docweb/templates/all/www/notes_stats.tpl.php?r1=1.1&r2=1.2&ty=u
Index: docweb/templates/all/www/notes_stats.tpl.php
diff -u docweb/templates/all/www/notes_stats.tpl.php:1.1 docweb/templates/all/www/notes_stats.tpl.php:1.2
--- docweb/templates/all/www/notes_stats.tpl.php:1.1	Sun Jul 31 20:37:11 2005
+++ docweb/templates/all/www/notes_stats.tpl.php	Sun Jul 31 20:51:43 2005
@@ -31,7 +31,7 @@
       </table>
     </td>
     <td valign="top">
-      Last half year (with more than <?php echo $minact; ?> actions counted)
+      Last year (with more than <?php echo $minact; ?> actions counted)
       <table border='0'>
         <tr>
           <th colspan="5" align="center">Recent Editors stats</th>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.