This patch simply add header and footer to voters.php for visual coherence amd 
easy access to the rest of the webpage.

Regards.
From 67efc90afb4fe6fcf906fa938a7d538f5a807019 Mon Sep 17 00:00:00 2001
From: Manuel Tortosa <[email protected]>
Date: Wed, 29 Sep 2010 14:05:47 +0200
Subject: [PATCH 3/3] Simple re-work of voters.php

---
 web/html/voters.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/web/html/voters.php b/web/html/voters.php
index a3b2469..0dbfdb6 100644
--- a/web/html/voters.php
+++ b/web/html/voters.php
@@ -17,6 +17,7 @@ $pkgid = $_GET['ID'];
 $votes = getvotes($pkgid);
 $account = account_from_sid($SID);
 
+html_header();
 if ($account == 'Trusted User' || $account == 'Developer') {
 ?>
 <html>
@@ -32,6 +33,8 @@ if ($account == 'Trusted User' || $account == 'Developer') {
 <?php echo $username ?></a><br />
 <?php
 	}
+echo '<br /><br /><br />';
+html_footer(AUR_VERSION);
 ?>
 </body>
 </html>
-- 
1.7.1

Reply via email to