From: Florent Bruneau Date: Sun, 7 Nov 2010 19:22:41 +0000 (+0100) Subject: emails_bounces_re is obsolete. X-Git-Tag: xorg/1.1.0~268 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=4d7f53be6a183078d737a5262b79abd06f0440f6;p=platal.git emails_bounces_re is obsolete. Signed-off-by: Florent Bruneau --- diff --git a/modules/admin.php b/modules/admin.php index 1271882..9b1ce09 100644 --- a/modules/admin.php +++ b/modules/admin.php @@ -127,23 +127,6 @@ class AdminModule extends PLModule $page->assign_by_ref('mails', $sql); } - function handler_postfix_regexpsbounces(&$page, $new = null) { - $page->changeTpl('admin/emails_bounces_re.tpl'); - $page->setTitle('Administration - Postfix : Regexps Bounces'); - $page->assign('new', $new); - - if (Post::has('submit')) { - foreach (Env::v('lvl') as $id=>$val) { - XDB::query( - "REPLACE INTO emails_bounces_re (id,pos,lvl,re,text) VALUES ({?}, {?}, {?}, {?}, {?})", - $id, $_POST['pos'][$id], $_POST['lvl'][$id], $_POST['re'][$id], $_POST['text'][$id] - ); - } - } - - $page->assign('bre', XDB::iterator("SELECT * FROM emails_bounces_re ORDER BY pos")); - } - // {{{ logger view /** Retrieves the available days for a given year and month. diff --git a/templates/admin/emails_bounces_re.tpl b/templates/admin/emails_bounces_re.tpl deleted file mode 100644 index 282cfd7..0000000 --- a/templates/admin/emails_bounces_re.tpl +++ /dev/null @@ -1,97 +0,0 @@ -{**************************************************************************} -{* *} -{* Copyright (C) 2003-2010 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 *} -{* *} -{**************************************************************************} - - -

Regexps pour les détections de bounces

- -

-Rappel sur les niveaux : -

- - - -
- - - - - - {if $new} - - - - - - - - - {else} - - - - {/if} - {iterate from=$bre item=re} - - - - - - - - - {/iterate} - - - -
Position/NiveauRegexp/Raison
- - - -
- - - - - -
- nouveau -
- - - -
- - - - -
-
- -
-
- - -{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} diff --git a/templates/admin/index.tpl b/templates/admin/index.tpl index 48e621e..c7d3da5 100644 --- a/templates/admin/index.tpl +++ b/templates/admin/index.tpl @@ -32,8 +32,6 @@ Whitelist   |   Retardés -   |   - Regexps Bounces