On Wed 29 Sep 2010 14:08 +0200, Manuel Tortosa wrote:
This patch simply add header and footer to voters.php for visual coherence amd easy access to the rest of the webpage.
Well, I made voters.php as something really simple and not meant to be used often. If you really wanted to theme it like the rest of the site you should be aware that html_header() prints its own <html> and <body> tags, so you should remove those from voters.php to produce valid markup. Likewise with html_footer(). You should still encapsulate the whole page from header to footer within this condition: if ($account == 'Trusted User' || $account == 'Developer') { You can also put the list in a div with the pgbox class like most everything else is in. But yeah this isn't really meant to be used often. I only wrote it by request of some TUs who needed to investigate a suspicion of vote rigging, and in that case it's much easier to parse a simple page than one with all the added fluff too.