diff options
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/addvote.php | 16 | ||||
-rw-r--r-- | web/html/css/containers.css | 3 | ||||
-rw-r--r-- | web/html/tu.php | 2 | ||||
-rw-r--r-- | web/html/voters.php | 2 |
4 files changed, 15 insertions, 8 deletions
diff --git a/web/html/addvote.php b/web/html/addvote.php index 192b396b..5936d563 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> diff --git a/web/html/css/containers.css b/web/html/css/containers.css index db5bd0a1..237950f5 100644 --- a/web/html/css/containers.css +++ b/web/html/css/containers.css @@ -161,6 +161,9 @@ th.header { border-bottom: #666 1px solid; vertical-align: bottom; } +fieldset { + border: none; +} input, textarea, select { diff --git a/web/html/tu.php b/web/html/tu.php index 65f00c0b..941e6eda 100644 --- a/web/html/tu.php +++ b/web/html/tu.php @@ -47,7 +47,7 @@ if ($atype == "Trusted User" OR $atype == "Developer") { $result = db_query($qwhoVoted,$dbh); if (mysql_num_rows($result) > 0) { while ($who = mysql_fetch_assoc($result)) { - $whovoted.= '<a href="account.php?Action=AccountInfo&ID='.$who['UserID'].'">'.$who['Username'].'</a> '; + $whovoted.= '<a href="account.php?Action=AccountInfo&ID='.$who['UserID'].'">'.$who['Username'].'</a> '; } } diff --git a/web/html/voters.php b/web/html/voters.php index a3b24690..f4d72f40 100644 --- a/web/html/voters.php +++ b/web/html/voters.php @@ -28,7 +28,7 @@ if ($account == 'Trusted User' || $account == 'Developer') { $uid = $row['UsersID']; $username = $row['Username']; ?> -<a href="account.php?Action=AccountInfo&ID=<?php echo $uid ?>"> +<a href="account.php?Action=AccountInfo&ID=<?php echo $uid ?>"> <?php echo $username ?></a><br /> <?php } |