summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Giovannetti <dariogiova@gmail.com>2012-05-21 16:53:52 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-05-31 12:01:23 +0200
commit937cda9ccb5437ff956c04ef8cdb948f19c0d7a4 (patch)
tree38ceac528028d26db8240f854b07748d218aaa3f
parent5b0f1f39dba251e5ae29df432587da7ce0098c87 (diff)
downloadaurweb-937cda9ccb5437ff956c04ef8cdb948f19c0d7a4.tar.xz
HTML/DOM fixes
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--web/lib/pkgfuncs.inc.php4
-rw-r--r--web/template/pkg_comments.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index 7b71ef4..ef9d461 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -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 {
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index ac6e1de..bd26a3e 100644
--- a/web/template/pkg_comments.php
+++ b/web/template/pkg_comments.php
@@ -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>';
}
?>