summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-01-23 21:49:41 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-01-23 21:49:41 +0100
commitf82f3dd2473b15563c77db71866653cb0e59ffe2 (patch)
treeaa089c24618555fbe12e1e88f738ac2c505baf32
parent46da96ff042b1c83038eb7f369620e6f0778dd5c (diff)
downloadaur-f82f3dd2473b15563c77db71866653cb0e59ffe2.tar.gz
aur-f82f3dd2473b15563c77db71866653cb0e59ffe2.tar.xz
Fix a few xhtml validation errors.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rw-r--r--web/template/header.php5
-rw-r--r--web/template/pkg_search_form.php2
-rw-r--r--web/template/pkg_search_results.php4
3 files changed, 5 insertions, 6 deletions
diff --git a/web/template/header.php b/web/template/header.php
index 6bd344b1..94e7109b 100644
--- a/web/template/header.php
+++ b/web/template/header.php
@@ -12,7 +12,7 @@
<link rel='alternate' type='application/rss+xml' title='Newest Packages RSS' href='rss2.php' />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
- <body bgcolor='white'>
+ <body>
<div id="head_container">
<div id="title">
<div id="logo"><h1 id="archtitle"><a href="http://www.archlinux.org/" title="Arch Linux (Home)">Arch Linux</a></h1></div>
@@ -60,7 +60,7 @@ if (isset($_COOKIE["AURSID"])) {
?>
<li><a href="http://archlinux.org/mailman/listinfo/aur-general">
<?php print __("Discussion"); ?></a></li>
- <li><a href="http://bugs.archlinux.org/index.php?tasks=all&project=2"><?php print __("Bugs"); ?></a></li>
+ <li><a href="http://bugs.archlinux.org/index.php?tasks=all&amp;project=2"><?php print __("Bugs"); ?></a></li>
<li><a href="packages.php"><?php print __("Packages"); ?></a></li>
<li><a href="account.php"><?php print __("Accounts"); ?></a></li>
<li><a href="index.php">AUR <?php print __("Home"); ?></a></li>
@@ -83,7 +83,6 @@ foreach ($SUPPORTED_LANGS as $lang => $lang_name) {
</ul>
</span>
<?php include("login_form.php"); ?>
- </div>
</div>
<div id="maincontent">
<!-- Start of main content -->
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php
index 46242ff7..8c385ecb 100644
--- a/web/template/pkg_search_form.php
+++ b/web/template/pkg_search_form.php
@@ -2,7 +2,7 @@
<div class='pgbox'>
<form action='packages.php' method='get'>
-<div class='pgboxtitle' align='right'>
+<div class='pgboxtitle'>
<span class='f3'><?php print __("Search Criteria"); ?></span>
<input type='text' name='K' size='30' value="<?php print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); ?>" maxlength='35' />
<input type='submit' style='width:80px' class='button' name='do_Search' value='<?php print __("Go"); ?>' />
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index f4b293b6..5688b0ba 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -1,6 +1,6 @@
<form action='packages.php?<?php print $_SERVER['QUERY_STRING'] ?>' method='post'>
<div class="pgbox">
- <div class="pgboxtitle" align='right'>
+ <div class="pgboxtitle">
<span class='f3'><?php print __("Package Listing") ?></span>
</div>
@@ -31,7 +31,7 @@
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Voted") ?></span></th>
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Notify") ?></span></th>
<?php endif; ?>
- <th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Description") ?></a></span></th>
+ <th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Description") ?></span></th>
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'>
<a href='?<?php print mkurl('SB=m&SO=' . $SO_next) ?>'><?php print __("Maintainer") ?></a>
</span></th>