summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-11-16 00:17:09 +0100
committerMichael Tänzer <neo@nhng.de>2011-11-16 00:17:09 +0100
commita0c88febfdb15e11ff12d5ad8984eb3bbb02b58a (patch)
tree6c5ddbbf05be6e289bb2db70287661828f7b475d /pages
parent0c71f697bf7a7de87fc7f601dbd620672bdc7958 (diff)
downloadcacert-devel-a0c88febfdb15e11ff12d5ad8984eb3bbb02b58a.tar.gz
cacert-devel-a0c88febfdb15e11ff12d5ad8984eb3bbb02b58a.tar.xz
cacert-devel-a0c88febfdb15e11ff12d5ad8984eb3bbb02b58a.zip
bug 789: Remove non-relevant parts and fix some minor things.
- get rid of $_SESSION['_config']['domid'] (do it via REQUEST) - use "cancel" instead of process Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'pages')
-rwxr-xr-xpages/account/29.php3
-rw-r--r--pages/account/30.php1
2 files changed, 3 insertions, 1 deletions
diff --git a/pages/account/29.php b/pages/account/29.php
index bc930f6..4229b3b 100755
--- a/pages/account/29.php
+++ b/pages/account/29.php
@@ -35,11 +35,12 @@
<td class="DataTD"><input type="text" name="domainname" value="<?=sanitizeHTML($_SESSION['_config']['domain'])?>"></td>
</tr>
<tr>
- <td class="DataTD"><input type="submit" name="process" value="<?=_("Cancel")?>"></td>
+ <td class="DataTD"><input type="submit" name="cancel" value="<?=_("Cancel")?>"></td>
<td class="DataTD"><input type="submit" name="process" value="<?=_("Update")?>"></td>
</tr>
</table>
<input type="hidden" name="oldid" value="<?=intval($id)?>">
<input type="hidden" name="orgid" value="<?=intval($_REQUEST['orgid'])?>">
+<input type="hidden" name="domid" value="<?=intval($_REQUEST['domid'])?>">
</form>
diff --git a/pages/account/30.php b/pages/account/30.php
index 30c86f3..0c7d337 100644
--- a/pages/account/30.php
+++ b/pages/account/30.php
@@ -41,5 +41,6 @@
<input type="hidden" name="oldid" value="<?=intval($id)?>">
<input type="hidden" name="orgid" value="<?=intval($_REQUEST['orgid'])?>">
<input type="hidden" name="domain" value="<?=sanitizeHTML($row['domain'])?>">
+<input type="hidden" name="domid" value="<?=intval($_REQUEST['domid'])?>">
</form>