[aur-dev] [PATCH 1/2] voters.php: Use "<ul></ul>" for the list of voters

Lukas Fleischer archlinux at cryptocrack.de
Wed Jul 18 02:09:50 EDT 2012


Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
 web/html/voters.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/web/html/voters.php b/web/html/voters.php
index c7c59a2..0ec77ec 100644
--- a/web/html/voters.php
+++ b/web/html/voters.php
@@ -17,11 +17,11 @@ if ($atype == 'Trusted User' || $atype== 'Developer'):
 <div class="box">
 	<h2>Votes for <a href="<?php echo get_pkg_uri(pkgname_from_id($pkgid)); ?>"><?php echo pkgname_from_id($pkgid) ?></a></h2>
 	<div class="boxbody">
-
-<?php
-	while (list($indx, $row) = each($votes)): ?>
-		<a href="<?php echo get_uri('/account/'); ?>?Action=AccountInfo&ID=<?php echo $row['UsersID'] ?>"><?php echo htmlspecialchars($row['Username']) ?></a><br />
-	<?php endwhile; ?>
+		<ul>
+			<?php while (list($indx, $row) = each($votes)): ?>
+			<li><a href="<?php echo get_uri('/account/'); ?>?Action=AccountInfo&ID=<?php echo $row['UsersID'] ?>"><?php echo htmlspecialchars($row['Username']) ?></a></li>
+			<?php endwhile; ?>
+		</ul>
 	</div>
 </div>
 
-- 
1.7.11.2



More information about the aur-dev mailing list