diff options
author | INOPIAE <inopiae@cacert.org> | 2013-07-20 09:20:03 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-07-20 09:20:03 +0200 |
commit | 6fea4507451cbf0253cd611fa20bc4902d46eeb2 (patch) | |
tree | 66fe7ffbfa85e32e82c8c0a72d02c1a7ba804060 /pages/account | |
parent | c1ffb425abb17cd7c639c7a31a53d79e2b7484bb (diff) | |
download | cacert-devel-6fea4507451cbf0253cd611fa20bc4902d46eeb2.tar.gz cacert-devel-6fea4507451cbf0253cd611fa20bc4902d46eeb2.tar.xz cacert-devel-6fea4507451cbf0253cd611fa20bc4902d46eeb2.zip |
bug 1010: added and removed some blanks
Diffstat (limited to 'pages/account')
-rw-r--r-- | pages/account/18.php | 14 | ||||
-rw-r--r-- | pages/account/22.php | 12 |
2 files changed, 13 insertions, 13 deletions
diff --git a/pages/account/18.php b/pages/account/18.php index d3831b9..d61fa0b 100644 --- a/pages/account/18.php +++ b/pages/account/18.php @@ -32,7 +32,7 @@ $status = array_key_exists('status',$_SESSION['_config']) ? intval($_SESSION['_c <td class="DataTD"><?=_("Organisation")?></td> <td colspan="8" class="DataTD" > <select name="orgfilterid"> - <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $orgfilterid? " selected" : "" ,_("All")) ?> + <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $orgfilterid ? "selected" : "" ,_("All")) ?> <? $query = "select `orginfo`.`O`, `orginfo`.`id` from `org`, `orginfo` where `org`.`memid`='".intval($_SESSION['profile']['id'])."' and `orginfo`.`id` = `org`.`orgid` @@ -40,7 +40,7 @@ $status = array_key_exists('status',$_SESSION['_config']) ? intval($_SESSION['_c $reso = mysql_query($query); if(mysql_num_rows($reso) >= 1){ while($row = mysql_fetch_assoc($reso)){ - printf("<option value='%d' %s>%s</option>",$row['id'], $row['id'] == $orgfilterid? " selected" : "" , $row['O']); + printf("<option value='%d' %s>%s</option>",$row['id'], $row['id'] == $orgfilterid ? "selected" : "" , $row['O']); } }?> </select> @@ -50,9 +50,9 @@ $status = array_key_exists('status',$_SESSION['_config']) ? intval($_SESSION['_c <td class="DataTD"><?=_("Sorting")?></td> <td colspan="8" class="DataTD" > <select name="sorting"> - <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $sorting? " selected" : "" ,_("expire date (desc)")) ?> - <?=sprintf("<option value='%d' %s>%s</option>",1, 1 == $sorting ? " selected" : "" ,_("OU, expire date (desc)")) ?> - <?=sprintf("<option value='%d' %s>%s</option>",2, 2 == $sorting ? " selected" : "" ,_("Common name, expire date (desc)")) ?> + <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $sorting ? "selected" : "" ,_("expire date (desc)")) ?> + <?=sprintf("<option value='%d' %s>%s</option>",1, 1 == $sorting ? "selected" : "" ,_("OU, expire date (desc)")) ?> + <?=sprintf("<option value='%d' %s>%s</option>",2, 2 == $sorting ? "selected" : "" ,_("Common name, expire date (desc)")) ?> </select> </td> </tr> @@ -60,8 +60,8 @@ $status = array_key_exists('status',$_SESSION['_config']) ? intval($_SESSION['_c <td class="DataTD"><?=_("Certificate status")?></td> <td colspan="8" class="DataTD" > <select name="status"> - <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $status? " selected" : "" ,_("Currrent/Active")) ?> - <?=sprintf("<option value='%d' %s>%s</option>",1, 1 == $status ? " selected" : "" ,_("All")) ?> + <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $status ? "selected" : "" ,_("Currrent/Active")) ?> + <?=sprintf("<option value='%d' %s>%s</option>",1, 1 == $status ? "selected" : "" ,_("All")) ?> </select> </td> </tr> diff --git a/pages/account/22.php b/pages/account/22.php index 1edb6e7..47f7dee 100644 --- a/pages/account/22.php +++ b/pages/account/22.php @@ -31,7 +31,7 @@ $status = array_key_exists('dstatus',$_SESSION['_config']) ? intval($_SESSION['_ <td class="DataTD"><?=_("Organisation")?></td> <td colspan="7" class="DataTD" > <select name="dorgfilterid"> - <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $orgfilterid? " selected" : "" ,_("All")) ?> + <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $orgfilterid ? "selected" : "" ,_("All")) ?> <? $query = "select `orginfo`.`O`, `orginfo`.`id` from `org`, `orginfo` where `org`.`memid`='".intval($_SESSION['profile']['id'])."' and `orginfo`.`id` = `org`.`orgid` @@ -39,7 +39,7 @@ $status = array_key_exists('dstatus',$_SESSION['_config']) ? intval($_SESSION['_ $reso = mysql_query($query); if(mysql_num_rows($reso) >= 1){ while($row = mysql_fetch_assoc($reso)){ - printf("<option value='%d' %s>%s</option>",$row['id'], $row['id'] == $orgfilterid? " selected" : "" , $row['O']); + printf("<option value='%d' %s>%s</option>",$row['id'], $row['id'] == $orgfilterid ? "selected" : "" , $row['O']); } }?> </select> @@ -49,8 +49,8 @@ $status = array_key_exists('dstatus',$_SESSION['_config']) ? intval($_SESSION['_ <td class="DataTD"><?=_("Sorting")?></td> <td colspan="7" class="DataTD" > <select name="dsorting"> - <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $sorting? " selected" : "" ,_("expire date (desc)")) ?> - <?=sprintf("<option value='%d' %s>%s</option>",1, 1 == $sorting ? " selected" : "" ,_("Common name, expire date (desc)")) ?> + <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $sorting ? "selected" : "" ,_("expire date (desc)")) ?> + <?=sprintf("<option value='%d' %s>%s</option>",1, 1 == $sorting ? "selected" : "" ,_("Common name, expire date (desc)")) ?> </select> </td> </tr> @@ -58,8 +58,8 @@ $status = array_key_exists('dstatus',$_SESSION['_config']) ? intval($_SESSION['_ <td class="DataTD"><?=_("Certificate status")?></td> <td colspan="7" class="DataTD" > <select name="dstatus"> - <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $status? " selected" : "" ,_("Currrent/Active")) ?> - <?=sprintf("<option value='%d' %s>%s</option>",1, 1 == $status ? " selected" : "" ,_("All")) ?> + <?=sprintf("<option value='%d' %s>%s</option>",0, 0 == $status ? "selected" : "" ,_("Currrent/Active")) ?> + <?=sprintf("<option value='%d' %s>%s</option>",1, 1 == $status ? "selected" : "" ,_("All")) ?> </select> </td> </tr> |