diff --git a/.gitattributes b/.gitattributes index 6eab8526..22d91c16 100644 --- a/.gitattributes +++ b/.gitattributes @@ -213,6 +213,7 @@ bureau/admin/images/quota.png -text bureau/admin/images/row-down.png -text bureau/admin/images/row-down.png2 -text bureau/admin/images/schedule.png -text +bureau/admin/images/search.png -text bureau/admin/images/stat.png -text bureau/admin/index.php -text bureau/admin/ip_main.php -text @@ -245,6 +246,7 @@ bureau/admin/logs_list.php -text bureau/admin/mail_add.php -text bureau/admin/mail_alias_create.inc.php -text bureau/admin/mail_alias_doedit.php -text +bureau/admin/mail_del.php -text bureau/admin/mail_doadd.php -text bureau/admin/mail_doedit.php -text bureau/admin/mail_edit.inc.php -text diff --git a/bureau/admin/images/search.png b/bureau/admin/images/search.png new file mode 100644 index 00000000..f8d3782e Binary files /dev/null and b/bureau/admin/images/search.png differ diff --git a/bureau/admin/mail_del.php b/bureau/admin/mail_del.php new file mode 100644 index 00000000..af0accf7 --- /dev/null +++ b/bureau/admin/mail_del.php @@ -0,0 +1,88 @@ + array ("request", "array", ""), + "domain" => array ("request", "string", ""), + "confirm" => array("request", "string", "n"), +); +getFields($fields); + +if (!is_array($d)) { + $d[]=$d; +} + +reset($d); + +include_once ("head.php"); + +if ($confirm=="y") { + +while (list($key,$val)=each($d)) { + if (!$mail->del_mail($val)) { + $error.=sprintf(_("The email address %s does not exist!")."
",$val); + } else { + $error.=sprintf(_("The email address %s has been deleted!")."
",$val); + } +} +include("mail_list.php"); + exit(); +} + +?> + + +

:

+
+
+

+
+

+ + + +"; + echo $val."
"; +} + +?> +

+

+" /> - "/> +

+ +

+NOT be able to get it back!"); ?> +

+ +
+ + + diff --git a/bureau/admin/mail_list.php b/bureau/admin/mail_list.php index 13a43fa2..338d4b8b 100644 --- a/bureau/admin/mail_list.php +++ b/bureau/admin/mail_list.php @@ -107,7 +107,7 @@ while (list($key,$val)=each($mails_list)){ - " /> + " />
"><?php __(" />