diff options
author | INOPIAE <inopiae@cacert.org> | 2013-07-21 15:03:27 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-07-21 15:03:27 +0200 |
commit | fed7fea0cb2eb44ccdced91e251a4f10431f5401 (patch) | |
tree | 945a25270d8dace41757cbd0ea9da91745d8c125 /pages/account/18.php | |
parent | 6fea4507451cbf0253cd611fa20bc4902d46eeb2 (diff) | |
download | cacert-devel-fed7fea0cb2eb44ccdced91e251a4f10431f5401.tar.gz cacert-devel-fed7fea0cb2eb44ccdced91e251a4f10431f5401.tar.xz cacert-devel-fed7fea0cb2eb44ccdced91e251a4f10431f5401.zip |
bug 1010: typo fixing
Diffstat (limited to 'pages/account/18.php')
-rw-r--r-- | pages/account/18.php | 14 |
1 files changed, 7 insertions, 7 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> |