cosmetic fix around "Due"
authorcommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>
Fri, 29 May 2009 09:22:40 +0000 (09:22 +0000)
committercommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>
Fri, 29 May 2009 09:22:40 +0000 (09:22 +0000)
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@49 d4452222-2f33-11de-9270-010000000000

motion.php

index d07375f..4eba5b5 100644 (file)
@@ -195,7 +195,7 @@ BODY;
                                <option value="75" <?php if($motion['majority'] == 75) { echo(" selected=\"selected\""); } ?>>75%</option>
                                <option value="100" <?php if($motion['majority'] == 100) { echo(" selected=\"selected\""); } ?>>100%</option>
                        </td></tr>
-                       <tr><td rowspan="2">Due:</td><td><?php echo($motion['due'])?> UTC</td></tr>
+                       <tr><td rowspan="2">Due:</td><td><?php echo($motion['due'] ? $motion['due'].' UTC' : '(autofilled from option below)')?></td></tr>
                        <tr><td><select name="due">
                                <option value="+3 days">In 3 Days</option>
                                <option value="+7 days">In 1 Week</option>