summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-07-24 08:00:07 +0200
committerINOPIAE <inopiae@cacert.org>2013-07-24 08:00:07 +0200
commit05db193912845057c2355b42583ecb1d4385758c (patch)
treeff2a7fa2206564f6ea32da70caf81a17a4edbd99 /pages
parenta82f507306a9eba8a9f5dff82d2091dbd29edf71 (diff)
downloadcacert-devel-05db193912845057c2355b42583ecb1d4385758c.tar.gz
cacert-devel-05db193912845057c2355b42583ecb1d4385758c.tar.xz
cacert-devel-05db193912845057c2355b42583ecb1d4385758c.zip
bug 1195: Removed the change ability for pages/account/6.php, small typo fix for HTML in pages/account/5.php
Diffstat (limited to 'pages')
-rw-r--r--pages/account/5.php2
-rw-r--r--pages/account/6.php19
2 files changed, 2 insertions, 19 deletions
diff --git a/pages/account/5.php b/pages/account/5.php
index 9607850..b6117c1 100644
--- a/pages/account/5.php
+++ b/pages/account/5.php
@@ -91,7 +91,7 @@
<td class="DataTD"><?=$row['revoke']?></td>
<td class="DataTD"><?=$row['expires']?></td>
<td class="DataTD">
- <input type="checkbox" name="disablelogin_<?=$row['id']?>" value="1" <?=$row['disablelogin']?"":"checked='checked'"?>/>
+ <input type="checkbox" name="disablelogin_<?=$row['id']?>" value="1" <?=$row['disablelogin']?"":'checked="checked"'?>/>
<input type="hidden" name="cert_<?=$row['id']?>" value="1" />
</td>
<td class="DataTD"><input name="comment_<?=$row['id']?>" type="text" value="<?=htmlspecialchars($row['description'])?>" /></td>
diff --git a/pages/account/6.php b/pages/account/6.php
index ae72730..0bfb3c1 100644
--- a/pages/account/6.php
+++ b/pages/account/6.php
@@ -145,7 +145,6 @@
<p><?=_("Your certificate:")?></p>
<pre><?=$cert?></pre>
-<form method="post" action="account.php">
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
<tr>
<td colspan="2" class="title"><?=_("Information about the certificte")?></td>
@@ -162,15 +161,6 @@
if($row['revoked'] == 0)
$row['revoke'] = _("Not Revoked");
?>
- <tr>
- <td class="DataTD"><?=_("Renew/Revoke/Delete")?></td>
-<? if($verified != _("Pending") && $verified != _("Revoked")) { ?>
- <td class="DataTD"><input type="checkbox" name="revokeid[<?=$row['id']?>]" ></td>
-<? } else if($verified != _("Revoked")) { ?>
- <td class="DataTD"><input type="checkbox" name="delid[<?=$row['id']?>]"></td>
-<? } else { ?>
- <td class="DataTD">&nbsp;</td>
-<? } ?>
</tr>
<tr>
<td class="DataTD"><?=_("Status")?></td>
@@ -200,16 +190,9 @@
</tr>
<tr>
<td class="DataTD"><?=_("Comment")?></td>
- <td class="DataTD"><input type="text" name="description" maxlength="100" size=100 value="<?=htmlspecialchars($row['description'])?>"></td>
- </tr>
- <tr>
- <td class="DataTD" colspan="2"><input type="submit" name="change" value="<?=_("Change settings")?>"> </td>
+ <td class="DataTD"><?=htmlspecialchars($row['description'])?></td>
</tr>
</table>
-<input type="hidden" name="oldid" value="6">
-<input type="hidden" name="certid" value="<?=$certid?>">
-</form>
-
<?
showfooter();
exit;