Ignore:
Timestamp:
09/08/09 07:29:38 (4 years ago)
Author:
nahuel
Message:

Merging blue desktop to trunk.

Location:
alternc/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk

  • alternc/trunk/bureau/admin/mail_add.php

    r798 r2559  
    3030*/ 
    3131require_once("../class/config.php"); 
     32include_once("head.php"); 
    3233 
    33 include("head.php"); 
     34$fields = array ( 
     35        "domain"    => array ("request", "string", ""), 
     36        "many"      => array ("request", "integer", 0), 
     37); 
     38getFields($fields); 
     39 
    3440?> 
    35 </head> 
    36 <body> 
    3741<h3><?php printf(_("Add a mail to the domain %s"),"http://$domain"); ?> : </h3> 
    3842<?php 
    3943if ($error) { 
    4044  echo "<p class=\"error\">$error</p>"; 
    41 }  
     45} 
    4246 
    4347?> 
    44 <form action="mail_doadd.php" method="post"> 
     48<form action="mail_doadd.php" name="main" id="main" method="post"> 
    4549<table border="1" cellspacing="0" cellpadding="4"> 
    46 <input type="hidden" name="many" value="<?php echo intval($many); ?>" /> 
    4750        <tr><td><input type="hidden" name="domain" value="<?php echo $domain ?>" /> 
    4851<label for="email"><?php __("Email address"); ?></label></td><td><input class="int" type="text" name="email" id="email" value="<?php echo $email ?>" size="20" maxlength="32" />@<?php echo $domain ?></td></tr> 
     
    5154        <tr><td><label for="passconf"><?php __("Confirm password"); ?></label></td><td><input class="int" type="password" name="passconf" id="passconf" value="<?php echo $pass; ?>" size="20" maxlength="32" /></td></tr> 
    5255        <tr><td><label for="alias"><?php __("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> 
    53         <tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create this mailbox"); ?>" /></td></tr> 
     56        <tr><td colspan="2"><input type="hidden" name="many" value="<?php echo intval($many); ?>" /><input type="submit" class="inb" name="submit" value="<?php __("Create this mailbox"); ?>" /></td></tr> 
    5457</table> 
    5558</form> 
     
    5760<?php __("help_mail_add"); ?> 
    5861</small></p> 
    59  
    60 </body> 
    61 </html> 
     62<script type="text/javascript"> 
     63document.forms['main'].email.focus(); 
     64</script> 
     65<?php include_once("foot.php"); 
Note: See TracChangeset for help on using the changeset viewer.