First commit of tag changes. bug-1444
[cacert-devel.git] / pages / account / 28.php
1 <?php /*
2 LibreSSL - CAcert web application
3 Copyright (C) 2004-2008 CAcert Inc.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; version 2 of the License.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */ ?>
18 <?php $query = "select * from `orginfo` where `id`='".intval($_REQUEST['orgid'])."'";
19 $row = mysql_fetch_assoc(mysql_query($query));
20 ?>
21 <form method="post" action="account.php">
22 <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
23 <tr>
24 <td colspan="2" class="title"><?php printf(_("New Domain for %s"), sanitizeHTML($row['O'])); ?></td>
25 </tr>
26 <tr>
27 <td class="DataTD"><?php echo _("Domain")?>:</td>
28 <td class="DataTD"><input type="text" name="domainname" value="<?php echo array_key_exists('domain',$_SESSION['_config'])?sanitizeHTML($_SESSION['_config']['domain']):""?>"></td>
29 </tr>
30 <tr>
31 <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?php echo _("Add")?>"></td>
32 </tr>
33 </table>
34 <input type="hidden" name="oldid" value="<?php echo intval($id)?>">
35 <input type="hidden" name="orgid" value="<?php echo intval($_REQUEST['orgid'])?>">
36
37 </form>