[aur-dev] [PATCH 1/6] pkg_details.php: Add missing XHTML close tags

canyonknight canyonknight at gmail.com
Thu Oct 18 17:12:24 EDT 2012


Signed-off-by: canyonknight <canyonknight at gmail.com>
---
 web/template/pkg_details.php | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index b286664..74f9257 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -117,6 +117,7 @@ if ($SID && ($uid == $row["MaintainerUID"] ||
 				<a href="<?= get_uri('/packages/'); ?>?C=<?= $row['CategoryID'] ?>"><?= $row['Category'] ?></a>
 <?php endif; ?>
 			</td>
+		</tr>
 		<tr>
 			<th><?= __('License') . ': ' ?></th>
 			<td><?= htmlspecialchars($license) ?></td>
@@ -138,6 +139,7 @@ if ($row["SubmitterUID"]):
 <?php else: ?>
 			<td>None</td>
 <?php endif; ?>
+		</tr>
 		<tr>
 			<th><?= __('Maintainer') .': ' ?></th>
 <?php
@@ -160,9 +162,9 @@ if ($row["MaintainerUID"]):
 			<th><?= __('Votes') . ': ' ?></th>
 <?php if ($atype == "Developer" || $atype == "Trusted User"): ?>
 <?php if ($USE_VIRTUAL_URLS): ?>
-			<td><a href="<?= get_pkg_uri($row['Name']); ?>voters/"><?= $votes ?></a>
+			<td><a href="<?= get_pkg_uri($row['Name']); ?>voters/"><?= $votes ?></a></td>
 <?php else: ?>
-			<td><a href="<?= get_uri('/voters/'); ?>?ID=<?= $pkgid ?>"><?= $votes ?></a>
+			<td><a href="<?= get_uri('/voters/'); ?>?ID=<?= $pkgid ?>"><?= $votes ?></a></td>
 <?php endif; ?>
 <?php else: ?>
 			<td><?= $votes ?></td>
-- 
1.7.12.3



More information about the aur-dev mailing list