summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-02-20 01:06:44 +0100
committerINOPIAE <inopiae@cacert.org>2013-02-20 01:06:44 +0100
commit8ca984ac01b7450b895e19014f6becf449a255ce (patch)
treef112568819429408197b99f3f971bb195e363f26 /pages
parenta47ba846e04fd7dfde751332bfff39c5ceb17775 (diff)
downloadcacert-devel-8ca984ac01b7450b895e19014f6becf449a255ce.tar.gz
cacert-devel-8ca984ac01b7450b895e19014f6becf449a255ce.tar.xz
cacert-devel-8ca984ac01b7450b895e19014f6becf449a255ce.zip
bug 1008: changed text indentation
Diffstat (limited to 'pages')
-rw-r--r--pages/account/58.php52
1 files changed, 26 insertions, 26 deletions
diff --git a/pages/account/58.php b/pages/account/58.php
index a277876..d7f82c1 100644
--- a/pages/account/58.php
+++ b/pages/account/58.php
@@ -27,35 +27,35 @@ if ($_SESSION['profile']['admin'] != 1 || !array_key_exists('userid',$_REQUEST)
} else {
if ($row = mysql_fetch_assoc($res)){
$username=sanitizeHTML($row['fname']).' '.sanitizeHTML($row['mname']).' '.sanitizeHTML($row['lname']);
- $query = "select `orginfo`.`o`, `org`.`masteracc`
- FROM `orginfo`, `org`
- WHERE `orginfo`.`id` = `org`.`orgid`
- AND `users`.`id`='$user_id' order by `orginfo`.`o`";
- $res1 = mysql_query($query);?>
- <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"><?
- if (mysql_num_rows($res1) <= 0) {?>
- <tr>
- <td colspan="2" class="title"><?=sprintf(_('%s is not listed as Organisation Administrator'), $username)?></td>
- </tr>
- <?}else{?>
- <tr>
- <td colspan="2" class="title"><?=sprintf(_('%s is listed as Organisation Administrator for:'), $username)?></td>
- </tr>
- <tr>
- <td class="DataTD"><b><?=_('Organisation')?></b></td>
- <td class="DataTD"><b><?=_('Masteraccount')?></b></td>
- </tr><?
- while($drow = mysql_fetch_assoc($res)){?>
+ $query = "select `orginfo`.`o`, `org`.`masteracc`
+ FROM `orginfo`, `org`
+ WHERE `orginfo`.`id` = `org`.`orgid`
+ AND `users`.`id`='$user_id' order by `orginfo`.`o`";
+ $res1 = mysql_query($query);?>
+ <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"><?
+ if (mysql_num_rows($res1) <= 0) {?>
<tr>
- <td class="DataTD"><?=$drow['o']?></td>
- <td class="DataTD"><?=$drow['masteracc'] ? _("Yes") : _("No") ?></td>
+ <td colspan="2" class="title"><?=sprintf(_('%s is not listed as Organisation Administrator'), $username)?></td>
</tr>
- <?}
- }
- ?></table>
-<? }else{
- echo _("I'm sorry, the user you were looking for seems to have disappeared! Bad things are a foot!");
+ <?}else{?>
+ <tr>
+ <td colspan="2" class="title"><?=sprintf(_('%s is listed as Organisation Administrator for:'), $username)?></td>
+ </tr>
+ <tr>
+ <td class="DataTD"><b><?=_('Organisation')?></b></td>
+ <td class="DataTD"><b><?=_('Masteraccount')?></b></td>
+ </tr><?
+ while($drow = mysql_fetch_assoc($res)){?>
+ <tr>
+ <td class="DataTD"><?=$drow['o']?></td>
+ <td class="DataTD"><?=$drow['masteracc'] ? _("Yes") : _("No") ?></td>
+ </tr>
+ <?}
}
+ ?></table>
+<? }else{
+ echo _("I'm sorry, the user you were looking for seems to have disappeared! Bad things are a foot!");
}
+ }
}
?>