summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-07-20 09:20:03 +0200
committerINOPIAE <inopiae@cacert.org>2013-07-20 09:20:03 +0200
commit6fea4507451cbf0253cd611fa20bc4902d46eeb2 (patch)
tree66fe7ffbfa85e32e82c8c0a72d02c1a7ba804060
parentc1ffb425abb17cd7c639c7a31a53d79e2b7484bb (diff)
downloadcacert-devel-6fea4507451cbf0253cd611fa20bc4902d46eeb2.tar.gz
cacert-devel-6fea4507451cbf0253cd611fa20bc4902d46eeb2.tar.xz
cacert-devel-6fea4507451cbf0253cd611fa20bc4902d46eeb2.zip
bug 1010: added and removed some blanks
-rw-r--r--pages/account/18.php14
-rw-r--r--pages/account/22.php12
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>