summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-07-21 15:03:27 +0200
committerINOPIAE <inopiae@cacert.org>2013-07-21 15:03:27 +0200
commitfed7fea0cb2eb44ccdced91e251a4f10431f5401 (patch)
tree945a25270d8dace41757cbd0ea9da91745d8c125
parent6fea4507451cbf0253cd611fa20bc4902d46eeb2 (diff)
downloadcacert-devel-fed7fea0cb2eb44ccdced91e251a4f10431f5401.tar.gz
cacert-devel-fed7fea0cb2eb44ccdced91e251a4f10431f5401.tar.xz
cacert-devel-fed7fea0cb2eb44ccdced91e251a4f10431f5401.zip
bug 1010: typo fixing
-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 d61fa0b..8f9055c 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 47f7dee..464f0ac 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>