diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-03-11 18:54:44 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-03-11 19:00:50 +0100 |
commit | 7f9e498e48c4e5d056ee988a23dedb8ca98b11cd (patch) | |
tree | 2207b70001651eca6ac8f9500ec679e8edf98382 /web/html/addvote.php | |
parent | c34bebf42859019998c7ff3c03b570295ae83ebe (diff) | |
download | aurweb-7f9e498e48c4e5d056ee988a23dedb8ca98b11cd.tar.xz |
Fix broken XHTML.
Fix a lot of invalid XHTML in the templates and actions. There might
still be some legacy code left, but this should cover most of it.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/addvote.php')
-rw-r--r-- | web/html/addvote.php | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/web/html/addvote.php b/web/html/addvote.php index 192b396..5936d56 100644 --- a/web/html/addvote.php +++ b/web/html/addvote.php @@ -73,18 +73,22 @@ if ($atype == "Trusted User" OR $atype == "Developer") { <div class="pgboxtitle"><?php print __("Submit a proposal to vote on.") ?></div> <div class="pgboxbody"> <form action='addvote.php' method='post'> +<p> <b><?php print __('Applicant/TU') ?></b> -<input type='text' name='user' value='<?php if (!empty($_POST['user'])) { print htmlentities($_POST['user'], ENT_QUOTES); } ?>'> +<input type='text' name='user' value='<?php if (!empty($_POST['user'])) { print htmlentities($_POST['user'], ENT_QUOTES); } ?>' /> <?php print __("(empty if not applicable)") ?> -<br /> +</p> +<p> <b><?php print __('Length in days') ?></b> -<input type='text' name='length' value='<?php if (!empty($_POST['length'])) { print htmlentities($_POST['length'], ENT_QUOTES); } ?>'> +<input type='text' name='length' value='<?php if (!empty($_POST['length'])) { print htmlentities($_POST['length'], ENT_QUOTES); } ?>' /> <?php print __("(defaults to 7 if empty)") ?> -<br /> +</p> +<p> <b><?php print __('Proposal') ?></b><br /> <textarea name='agenda' rows='25' cols='80'><?php if (!empty($_POST['agenda'])) { print htmlentities($_POST['agenda']); } ?></textarea><br /> -<input type='hidden' name='addVote' value='1'> -<input type='submit' class='button' value='<?php print __('Submit'); ?>'> +<input type='hidden' name='addVote' value='1' /> +<input type='submit' class='button' value='<?php print __('Submit'); ?>' /> +</p> </form> </div> </div> |