summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-10-30 02:59:48 +0100
committerMichael Tänzer <neo@nhng.de>2013-10-30 02:59:48 +0100
commit8fea7a3007d7062148ce8af0e0793ce8e2db778e (patch)
tree4a683243e009d0c5747bcc54d2c7953064e03136
parent68ce9e7bc7789dfa174ae9e28b12f08d24abc377 (diff)
downloadcacert-devel-bug-1010.tar.gz
cacert-devel-bug-1010.tar.xz
cacert-devel-bug-1010.zip
bug 1010: Minor clean-upsbug-1010
- Fix HTML - Correct spelling - Improve translatability of variable string Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--pages/account/18.php7
-rw-r--r--pages/account/22.php8
2 files changed, 9 insertions, 6 deletions
diff --git a/pages/account/18.php b/pages/account/18.php
index 8f9055c..9ab13b2 100644
--- a/pages/account/18.php
+++ b/pages/account/18.php
@@ -60,15 +60,16 @@ $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>',0, 0 == $status ? " selected" : "" ,_("Current/Active")) ?>
<?=sprintf('<option value="%d"%s>%s</option>',1, 1 == $status ? " selected" : "" ,_("All")) ?>
</select>
</td>
</tr>
<tr>
- <td class="DataTD" colspan="9"><input type="submit" name="reset" value="<?=_("Reset")?>" />&#160;&#160;&#160;&#160;
+ <td class="DataTD" colspan="9"><input type="submit" name="reset" value="<?=_("Reset")?>" />&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" name="filter" value="<?=_("Apply filter/sort")?>" /></td>
</tr>
+ <tr>
<td colspan="9" class="DataTD"> </td>
</tr>
@@ -122,7 +123,7 @@ $status = array_key_exists('status',$_SESSION['_config']) ? intval($_SESSION['_c
<td colspan="9" class="title"></td>
</tr>
<tr>
- <td colspan="9" class="title"><?=_("Certificates for ").$orgname?> </td>
+ <td colspan="9" class="title"><? printf(_("Certificates for %s"), $orgname)?> </td>
</tr>
<tr>
<td class="DataTD"><?=_("OU/Department")?></td>
diff --git a/pages/account/22.php b/pages/account/22.php
index 464f0ac..0413da0 100644
--- a/pages/account/22.php
+++ b/pages/account/22.php
@@ -22,6 +22,7 @@ $status = array_key_exists('dstatus',$_SESSION['_config']) ? intval($_SESSION['_
?>
<form method="post" action="account.php">
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
+ <tr>
<td colspan="8" class="title"><?=_("Organisation Server Certificates")?> </td>
</tr>
<tr>
@@ -58,15 +59,16 @@ $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>',0, 0 == $status ? " selected" : "" ,_("Current/Active")) ?>
<?=sprintf('<option value="%d"%s>%s</option>',1, 1 == $status ? " selected" : "" ,_("All")) ?>
</select>
</td>
</tr>
<tr>
- <td class="DataTD" colspan="8"><input type="submit" name="reset" value="<?=_("Reset")?>" />&#160;&#160;&#160;&#160;
+ <td class="DataTD" colspan="8"><input type="submit" name="reset" value="<?=_("Reset")?>" />&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" name="filter" value="<?=_("Apply filter/sort")?>" /></td>
</tr>
+ <tr>
<td colspan="9" class="DataTD"> </td>
</tr>
@@ -122,7 +124,7 @@ $status = array_key_exists('dstatus',$_SESSION['_config']) ? intval($_SESSION['_
<td colspan="9" class="title"></td>
</tr>
<tr>
- <td colspan="9" class="title"><?=_("Certificates for ").$orgname?> </td>
+ <td colspan="9" class="title"><? printf(_("Certificates for %s"), $orgname)?> </td>
</tr>
<tr>
<td class="DataTD"><?=_("Renew/Revoke/Delete")?></td>