bug 1137: Consistent behaviour when adding colons
authorBenny Baumann <BenBE@geshi.org>
Fri, 18 Jan 2013 00:42:23 +0000 (01:42 +0100)
committerBenny Baumann <BenBE@geshi.org>
Fri, 18 Jan 2013 00:42:23 +0000 (01:42 +0100)
includes/wot.inc.php

index 01c8fb5..72a4d40 100644 (file)
@@ -585,7 +585,7 @@ function AssureMethodLine($text,$methods,$remark)
        {
 ?>
        <tr>
-               <td class="DataTD"><?=$text?></td>
+               <td class="DataTD"><?=$text.(empty($text)?'':':')?></td>
                <td class="DataTD">
                        <select name="method">
 <?
@@ -609,7 +609,7 @@ function AssureInboxLine($type,$field,$value,$description)
 {
 ?>
        <tr>
-               <td class="DataTD"><?=$field?>:</td>
+               <td class="DataTD"><?=$field.(empty($field)?'':':')?>:</td>
                <td class="DataTD"><input type="text" name="<?=$type?>" value="<?=$value?>"><?=$description?></td>
        </tr>
 <?