drop mail stats
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Fri, 29 Apr 2005 18:07:46 +0000 (18:07 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:28:51 +0000 (23:28 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-616

ChangeLog
htdocs/stats/parselog.php [deleted file]
templates/stats/index.tpl
templates/stats/parselog.tpl [deleted file]

index aa9445d..ef30af8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@ New :
        * Search :
                - Last improvements (clean code for search now !).                                      -MC
 
+       * Stats :
+               - Drop mail stats pages (buggy and not accurate anymore).                       -MC
+
        * Polytechnique.net in now in plat/al !                                                                 -MC
 
 Bug/Wish :
diff --git a/htdocs/stats/parselog.php b/htdocs/stats/parselog.php
deleted file mode 100644 (file)
index b024ceb..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-/***************************************************************************
- *  Copyright (C) 2003-2004 Polytechnique.org                              *
- *  http://opensource.polytechnique.org/                                   *
- *                                                                         *
- *  This program is free software; you can redistribute it and/or modify   *
- *  it under the terms of the GNU General Public License as published by   *
- *  the Free Software Foundation; either version 2 of the License, or      *
- *  (at your option) any later version.                                    *
- *                                                                         *
- *  This program is distributed in the hope that it will be useful,        *
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of         *
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
- *  GNU General Public License for more details.                           *
- *                                                                         *
- *  You should have received a copy of the GNU General Public License      *
- *  along with this program; if not, write to the Free Software            *
- *  Foundation, Inc.,                                                      *
- *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
- ***************************************************************************/
-
-require_once("xorg.inc.php");
-new_skinned_page("stats/parselog.tpl",AUTH_COOKIE);
-
-$page->run();
-?>
index 1e06883..a4d5524 100644 (file)
@@ -31,7 +31,6 @@ Quelques statistiques sur l'utilisation des services de Polytechnique.org ainsi
 <li><a href="evolution_inscrits.php">Nombre d'inscrits au cours du temps</a></li>
 <li><a href="stats_promo.php">Nombre d'inscrits dans ta promotion</a></li>
 <li><a href="nb_by_promo.php">Nombre d'inscrits par promotion</a></li>
-<li><a href="parselog.php">Statistiques mail</a></li>
 </ul>
 
 {* vim:set et sw=2 sts=2 sws=2: *}
diff --git a/templates/stats/parselog.tpl b/templates/stats/parselog.tpl
deleted file mode 100644 (file)
index 2a6e740..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-{***************************************************************************
- *  Copyright (C) 2003-2004 Polytechnique.org                              *
- *  http://opensource.polytechnique.org/                                   *
- *                                                                         *
- *  This program is free software; you can redistribute it and/or modify   *
- *  it under the terms of the GNU General Public License as published by   *
- *  the Free Software Foundation; either version 2 of the License, or      *
- *  (at your option) any later version.                                    *
- *                                                                         *
- *  This program is distributed in the hope that it will be useful,        *
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of         *
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
- *  GNU General Public License for more details.                           *
- *                                                                         *
- *  You should have received a copy of the GNU General Public License      *
- *  along with this program; if not, write to the Free Software            *
- *  Foundation, Inc.,                                                      *
- *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
- ***************************************************************************}
-
-
-<h1>
-  Statistiques mail de polytechnique.org
-</h1>
-
-<p>
-<a href="?order=D">[Resultats classes par ordre des noms de domaines destinataires]</a><br />
-<a href="?order=N">[Resultats classes par nombre de mails achemines]</a><br />
-<a href="?order=R">[Resultats classes par nombre de mails retardes]</a><br />
-{perms level=admin}
-  <a href="?raw=true">[Resultats bruts]</a><br />
-{/perms}
-</p>
-
-{if $smarty.request.order}
-<table class="bicol" cellpadding="3" cellspacing="0" summary="Statistiques mails">
-  <tr>
-      <th>Domaine destinataire</th>
-      <th>Delai moyen</th>
-      <th>Delai maxi</th>
-      <th>Nombre de mails</th>
-      <th>Mails retardes</th>
-  </tr>
-{if $smarty.request.order eq "D"}  
-  {include file="stats/lastParselogD.tpl"}
-{elseif $smarty.request.order eq "R"}
-  {include file="stats/lastParselogR.tpl"}
-{elseif $smarty.request.order eq "N"}
-  {include file="stats/lastParselogN.tpl"}
-{/if}  
-</table>
-{/if}
-
-{perms level=admin}
-  {if $smarty.request.raw}
-    <pre>
-    {include file="stats/lastParselog.tpl" assign=content}
-    {$content|escape}
-    </pre>
-  {/if}
-{/perms}
-
-
-{* vim:set et sw=2 sts=2 sws=2: *}