Commit 937cda9c authored by Dario Giovannetti's avatar Dario Giovannetti Committed by Lukas Fleischer
Browse files

HTML/DOM fixes


Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent 5b0f1f39
......@@ -314,12 +314,12 @@ function package_details($id=0, $SID="", $dbh=NULL) {
$results = db_query($q, $dbh);
if (!$results) {
print __("Error retrieving package details.") . "<br />\n";
print "<p>" . __("Error retrieving package details.") . "</p>\n";
}
else {
$row = mysql_fetch_assoc($results);
if (empty($row)) {
print __("Package details could not be found.") . "<br />\n";
print "<p>" . __("Package details could not be found.") . "</p>\n";
}
else {
......
......@@ -39,7 +39,7 @@ while (list($indx, $carr) = each($comments)) { ?>
$count = package_comments_count(isset($_GET['ID']) ? $_GET['ID'] : pkgid_from_name($_GET['N']));
if ($count > 10 && !isset($_GET['comments'])) {
echo '<div class="pgbox">';
echo '<a href="'. $_SERVER['REQUEST_URI'] . '&comments=all">'. __('Show all %s comments', $count) . '</a>';
echo '<a href="'. $_SERVER['REQUEST_URI'] . '&amp;comments=all">'. __('Show all %s comments', $count) . '</a>';
echo '</div>';
}
?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment