From: x2000habouzit Date: Sun, 24 Oct 2004 12:54:44 +0000 (+0000) Subject: debugging X-Git-Tag: xorg/old~1196 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=dfc68f231fe3aad00f23c5851ce8798796c5a8b9;p=platal.git debugging --- diff --git a/htdocs/listes/moderate.php b/htdocs/listes/moderate.php index bd0d60f..78c799c 100644 --- a/htdocs/listes/moderate.php +++ b/htdocs/listes/moderate.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: moderate.php,v 1.8 2004-10-16 14:03:03 x2000habouzit Exp $ + $Id: moderate.php,v 1.9 2004-10-24 12:54:44 x2000habouzit Exp $ ***************************************************************************/ if(empty($_REQUEST['liste'])) header('Location: index.php'); @@ -52,7 +52,7 @@ if(isset($_POST['mid'])) { include_once('diogenes.mailer.inc.php'); $mid = $_POST['mid']; if(isset($_POST['mok'])) { - if $client->handle_request('polytechnique.org', $liste,$mid,1,''); /** 1 = APPROVE **/ + $client->handle_request('polytechnique.org', $liste,$mid,1,''); /** 1 = APPROVE **/ } elseif(isset($_POST['mno'])) { $reason = stripslashes($_POST['reason']); if($client->handle_request('polytechnique.org', $liste,$mid,2,$reason)) { /** 2 = REJECT **/ diff --git a/templates/listes/moderate.tpl b/templates/listes/moderate.tpl index 16cf921..0542fec 100644 --- a/templates/listes/moderate.tpl +++ b/templates/listes/moderate.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: moderate.tpl,v 1.12 2004-10-23 21:33:40 x2000habouzit Exp $ + $Id: moderate.tpl,v 1.13 2004-10-24 12:54:44 x2000habouzit Exp $ ***************************************************************************} {dynamic} @@ -87,7 +87,7 @@ {foreach from=$mails item=m} {$m.sender} - {$m.subj|qpd} + {$m.subj} {$m.size}o {$m.stamp|date_format:"%H:%M:%S
%d %b %Y"} diff --git a/templates/listes/moderate_mail.tpl b/templates/listes/moderate_mail.tpl index 4d4515a..56d4193 100644 --- a/templates/listes/moderate_mail.tpl +++ b/templates/listes/moderate_mail.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: moderate_mail.tpl,v 1.6 2004-10-15 07:30:40 x2000habouzit Exp $ + $Id: moderate_mail.tpl,v 1.7 2004-10-24 12:54:44 x2000habouzit Exp $ ***************************************************************************} {dynamic} @@ -92,6 +92,7 @@ Rejeter efface le mail sans autre forme de procès, et c'est à utiliser UNIQUEMENT pour les virus et les courriers indésirables + {/if}