summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-04-11 22:15:51 +0200
committerMichael Tänzer <neo@nhng.de>2014-04-11 22:15:51 +0200
commit057e1deddd31a647b9120b82eaf81e8b0e4af903 (patch)
tree99bc93d75857662b74c1b5c2f38a2a2bb9a2150a
parent4bf67d371ec0af60c23a8e4d843533edc0ece003 (diff)
downloadcacert-devel-057e1deddd31a647b9120b82eaf81e8b0e4af903.tar.gz
cacert-devel-057e1deddd31a647b9120b82eaf81e8b0e4af903.tar.xz
cacert-devel-057e1deddd31a647b9120b82eaf81e8b0e4af903.zip
bug 1138: Inline $colspandefault because it make the code more complex and
isn't very useful Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--pages/account/59.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/pages/account/59.php b/pages/account/59.php
index 46e96be..d3ab2c8 100644
--- a/pages/account/59.php
+++ b/pages/account/59.php
@@ -18,7 +18,6 @@
include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php");
-$colspandefault=2;
$userid = intval($_REQUEST['userid']);
$res =get_user_data($userid);
@@ -77,10 +76,10 @@ if ($userid != $_SESSION['profile']['id']) {
?>
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
<tr>
- <td colspan="<?=$colspandefault ?>" class="title"><?=sprintf(_('Account history of %s'),$username)?></td>
+ <td colspan="2" class="title"><?=sprintf(_('Account history of %s'),$username)?></td>
</tr>
<tr>
- <td colspan="<?=$colspandefault ?>" class="title"><?=_('User actions')?></td>
+ <td colspan="2" class="title"><?=_('User actions')?></td>
</tr>
<tr>
<td class="DataTD"><?=_('User name')?></td>