bug 1010: Minor clean-ups bug-1010
authorMichael Tänzer <neo@nhng.de>
Wed, 30 Oct 2013 01:59:48 +0000 (02:59 +0100)
committerMichael Tänzer <neo@nhng.de>
Wed, 30 Oct 2013 01:59:48 +0000 (02:59 +0100)
- Fix HTML
- Correct spelling
- Improve translatability of variable string

Signed-off-by: Michael Tänzer <neo@nhng.de>
pages/account/18.php
pages/account/22.php

index 8f9055c..9ab13b2 100644 (file)
@@ -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>
index 464f0ac..0413da0 100644 (file)
@@ -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>