From 98e7d4d4ab7998e2762d04431761502586678639 Mon Sep 17 00:00:00 2001 From: Dario Giovannetti Date: Mon, 21 May 2012 16:53:52 +0200 Subject: [PATCH] HTML/DOM fixes --- web/lib/pkgfuncs.inc.php | 4 ++-- web/template/pkg_comments.php | 2 +- 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.") . "
\n"; + print "

" . __("Error retrieving package details.") . "

\n"; } else { $row = mysql_fetch_assoc($results); if (empty($row)) { - print __("Package details could not be found.") . "
\n"; + print "

" . __("Package details could not be found.") . "

\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 '
'; - echo ''. __('Show all %s comments', $count) . ''; + echo ''. __('Show all %s comments', $count) . ''; echo '
'; } ?> -- 1.7.5.4