diff options
author | INOPIAE <inopiae@cacert.org> | 2012-11-11 21:44:40 +0100 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2012-11-11 21:44:40 +0100 |
commit | e8bdb071a9c4bc1bffc1cf06b789fa5b37a8dbe9 (patch) | |
tree | 21456bc5b75eccdde954f061175a65b7b7d2ca25 | |
parent | e1aa7c811eb931546e295cae5c700e0853a4fde0 (diff) | |
download | cacert-devel-bug-977.tar.gz cacert-devel-bug-977.tar.xz cacert-devel-bug-977.zip |
bug 977:Changed layout if no result foundbug-977
-rw-r--r-- | pages/account/49.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pages/account/49.php b/pages/account/49.php index a5345e6..0218fa0 100644 --- a/pages/account/49.php +++ b/pages/account/49.php @@ -58,7 +58,11 @@ $row = mysql_fetch_assoc($res); $_GET['userid'] = intval($row['id']); } else { - printf(_("No personal domains found matching %s"), sanitizeHTML($domain)); + ?><table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"> + <tr> + <td colspan="5" class="title"><?printf(_("No personal domains found matching %s"), sanitizeHTML($domain));?></td> + </tr> + </table><br><br><? } $query = "select `orgid`,`domain`,`id` from `orgdomains` where `domain` like '$domainsearch' or `id`='$domain' limit 100"; @@ -90,7 +94,11 @@ $row = mysql_fetch_assoc($res); $_GET['userid'] = intval($row['id']); } else { - printf(_("No organisational domains found matching %s"), sanitizeHTML($domain)); + ?><table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"> + <tr> + <td colspan="5" class="title"><?printf(_("No organisational domains found matching %s"), sanitizeHTML($domain));?></td> + </tr> + </table><br><br><? } } |