source: bureau/admin/mail_add.php @ 603

Revision 603, 2.8 KB checked in by anarcat, 8 years ago (diff)

[project @ alternc: changeset 2005-04-01 16:05:26 by benjamin]
Ajout du bouton "ajouter plusieurs emails"

Original author: benjamin
Date: 2005-04-01 16:05:26

Line 
1<?php
2/*
3 $Id: mail_add.php,v 1.5 2005/04/01 16:05:26 benjamin Exp $
4 ----------------------------------------------------------------------
5 AlternC - Web Hosting System
6 Copyright (C) 2002 by the AlternC Development Team.
7 http://alternc.org/
8 ----------------------------------------------------------------------
9 Based on:
10 Valentin Lacambre's web hosting softwares: http://altern.org/
11 ----------------------------------------------------------------------
12 LICENSE
13
14 This program is free software; you can redistribute it and/or
15 modify it under the terms of the GNU General Public License (GPL)
16 as published by the Free Software Foundation; either version 2
17 of the License, or (at your option) any later version.
18
19 This program is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 GNU General Public License for more details.
23
24 To read the license please visit http://www.gnu.org/copyleft/gpl.html
25 ----------------------------------------------------------------------
26 Original Author of file: Benjamin Sonntag, Franck Missoum
27 Purpose of file: Ask for the values required to create a mail account
28         or a mail alias
29 ----------------------------------------------------------------------
30*/
31require_once("../class/config.php");
32
33include("head.php");
34?>
35</head>
36<body>
37<h3><?php printf(_("Add a mail to the domain %s"),"http://$domain"); ?> : </h3>
38<?php
39if ($error) {
40  echo "<p class=\"error\">$error</p>";
41} 
42
43?>
44<form action="mail_doadd.php" method="post">
45<table border="1" cellspacing="0" cellpadding="4">
46<input type="hidden" name="many" value="<?php echo intval($many); ?>" />
47        <tr><td><input type="hidden" name="domain" value="<?php echo $domain ?>" />
48<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>
49        <tr><td><label for="ispop"><?php __("Is it a POP account?"); ?></label></td><td><input id="ispop" class="inc" type="checkbox" name="pop" value="1" <?php if ($pop=="1") echo "checked=\"checked\""; ?> /></td></tr>
50        <tr><td><label for="pass"><?php __("POP password"); ?></label></td><td><input class="int" type="text" name="pass" id="pass" value="<?php echo $pass; ?>" size="20" maxlength="32" /></td></tr>
51        <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>
52        <tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create this mailbox"); ?>" /></td></tr>
53</table>
54</form>
55<p><small>
56<?php __("help_mail_add"); ?>
57</small></p>
58
59</body>
60</html>
Note: See TracBrowser for help on using the repository browser.