summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-12-08 17:57:57 +0100
committerINOPIAE <inopiae@cacert.org>2013-12-08 17:57:57 +0100
commitf4d79dbdd94f941d62e4186365f694d38cddf96b (patch)
tree4f87f4f822ae490223d830877573c16cecd815ca /pages
parent145fb8d63bb580d114dd1d1ab7186f35e23faa93 (diff)
downloadcacert-devel-f4d79dbdd94f941d62e4186365f694d38cddf96b.tar.gz
cacert-devel-f4d79dbdd94f941d62e4186365f694d38cddf96b.tar.xz
cacert-devel-f4d79dbdd94f941d62e4186365f694d38cddf96b.zip
bug 1138: added call for account history from account details
Diffstat (limited to 'pages')
-rw-r--r--pages/account/13.php3
-rw-r--r--pages/account/59.php4
2 files changed, 5 insertions, 2 deletions
diff --git a/pages/account/13.php b/pages/account/13.php
index 1c1cfc6..7aa95f1 100644
--- a/pages/account/13.php
+++ b/pages/account/13.php
@@ -123,6 +123,9 @@
</tr>
<? } ?>
<tr>
+ <td colspan="2" class="title"><a href="account.php?id=59&amp;userid=<?=$_SESSION['profile']['id']?>"><?=_('Show account history')?></a></td>
+ </tr>
+ <tr>
<td colspan="2" class="title"><a href="account.php?id=13&amp;showdetails=<?=!$showdetails?>"><?=_("View secret question & answers and OTP phrases")?></a></td>
</tr>
<? if($showdetails){ ?>
diff --git a/pages/account/59.php b/pages/account/59.php
index ef131b8..f9aadab 100644
--- a/pages/account/59.php
+++ b/pages/account/59.php
@@ -18,7 +18,7 @@
include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php");
$colspandefault=2;
-$userid = intval($_REQUEST['userid']);
+//$userid = intval($_REQUEST['userid']);
$res =get_user_data($userid);
if(mysql_num_rows($res) <= 0)
@@ -38,7 +38,7 @@ $name = $fname." ".$mname." ".$lname." ".$suffix;
$email = $row['email'];
$alerts =get_alerts($userid);
-$support=0;
+
?>
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">