From 8aec7ba941c26c8795eba71ac4bc3af9bd717d68 Mon Sep 17 00:00:00 2001 From: Paul Mattal Date: Wed, 3 Oct 2007 08:14:03 -0400 Subject: Move AddComment button to top of Comments table, from Sergej This moves the AddComment button to the top of the Comments table. A previous patch had placed it into the action bar, but this seems cleaner. --- web/lib/pkgfuncs.inc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index e2217f6..f8d7236 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -536,6 +536,15 @@ function package_details($id=0, $SID="") { echo "
".__("Comments")."
\n"; echo "
\n"; echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; $comments = package_comments($row["ID"]); if (!empty($comments)) { while (list($indx, $carr) = each($comments)) { @@ -576,15 +585,6 @@ function package_details($id=0, $SID="") { } } - echo " \n"; - echo " \n"; - echo " \n"; echo "
\n"; + echo "
\n"; + echo " \n"; + echo " \n"; + echo "
\n"; + echo "
\n"; - echo "
\n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo "
\n"; echo "
\n"; echo "\n"; -- cgit v1.2.3-70-g09d2