rendons mail_* compatible register_globals a OFF + DESACTIVATION DES MAILS TEMPORAIRE (NE MARCHE PAS) See #1227
This commit is contained in:
parent
bedb8ecabe
commit
bcd8212d5a
|
@ -74,11 +74,14 @@ if (!empty($dst_mail)) $pop=0;
|
|||
</td></tr>
|
||||
|
||||
<tr><td><label for="alias"><?php __("Redirections<br />Other recipients:"); ?></label></td><td>(<?php __("one email per line"); ?>)<br /><textarea class="int" cols="32" rows="5" name="alias" id="alias"><?php echo $alias; echo ((empty($alias) && !empty($dst_mail))?"":"\n").$dst_mail; ?></textarea></td></tr>
|
||||
|
||||
<!--
|
||||
<tr><td>
|
||||
<?php echo __("Is it a temporary mail account?"); ?><br/>
|
||||
</td><td>
|
||||
<?php include_once("trash_dateselect.php"); ?>
|
||||
</td></tr>
|
||||
-->
|
||||
<tr class="trbtn"><td colspan="2">
|
||||
<input type="hidden" name="many" value="<?php echo intval($many); ?>" />
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Create this email address"); ?>" />
|
||||
|
|
|
@ -40,7 +40,6 @@ $fields = array (
|
|||
);
|
||||
getFields($fields);
|
||||
|
||||
|
||||
if ($pass != $passconf) {
|
||||
$error = _("Passwords do not match");
|
||||
include("mail_add.php");
|
||||
|
|
|
@ -33,6 +33,18 @@ $error_edit="";
|
|||
$trash=new m_trash();
|
||||
$trash->getfromform();
|
||||
|
||||
|
||||
$fields = array (
|
||||
"domain" => array ("request", "string", ""),
|
||||
"email" => array ("request", "string", ""),
|
||||
"pop" => array ("request", "integer", 0),
|
||||
"pass" => array ("request", "string", ""),
|
||||
"passconf" => array ("request", "string", ""),
|
||||
"alias" => array ("request", "string", ""),
|
||||
);
|
||||
getFields($fields);
|
||||
|
||||
|
||||
if ($pass != $passconf) {
|
||||
$error = _("Passwords do not match");
|
||||
include ("mail_edit.php");
|
||||
|
|
|
@ -86,12 +86,13 @@ echo "<div class=\"warningmsg\">"._("WARNING: turning POP/IMAP off will DELETE t
|
|||
</td></tr>
|
||||
|
||||
<tr><td><label for="alias"><?php __("Redirections<br />Other recipients:"); ?></label></td><td>(<?php __("one email per line"); ?>)<br /><textarea class="int" cols="32" rows="5" name="alias" id="alias"><?php echo $alias; ?></textarea></td></tr>
|
||||
<!--
|
||||
<tr><td>
|
||||
<?php echo __("Is it a temporary mail account?"); ?><br/>
|
||||
</td><td>
|
||||
<?php include_once("trash_dateselect.php"); ?>
|
||||
</td></tr>
|
||||
|
||||
-->
|
||||
<tr class="trbtn"><td colspan="2">
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Change this email address"); ?>" />
|
||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='mail_list.php?domain=<?php echo urlencode($domain); ?>'"/>
|
||||
|
|
Loading…
Reference in New Issue