mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
c34bebf428
commit
7f9e498e48
14 changed files with 170 additions and 154 deletions
|
@ -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>
|
||||
|
|
|
@ -161,6 +161,9 @@ th.header {
|
|||
border-bottom: #666 1px solid;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
fieldset {
|
||||
border: none;
|
||||
}
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
|
|
|
@ -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> ';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue