mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
HTML/DOM fixes
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
5b0f1f39db
commit
937cda9ccb
2 changed files with 3 additions and 3 deletions
|
@ -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'] . '&comments=all">'. __('Show all %s comments', $count) . '</a>';
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue