From d06163269bd88ee7fd5e48fd7d43a8b249ffd2d8 Mon Sep 17 00:00:00 2001 From: tardo Date: Tue, 2 Oct 2007 14:47:51 -0400 Subject: Move "Add Comment" button to Actions bar. The lonely button now gains some friends. Signed-off-by: tardo --- web/html/css/containers.css | 4 ++++ web/lib/pkgfuncs.inc | 21 +++++++++------------ 2 files changed, 13 insertions(+), 12 deletions(-) (limited to 'web') diff --git a/web/html/css/containers.css b/web/html/css/containers.css index e42bd5a1..63eb4b4c 100644 --- a/web/html/css/containers.css +++ b/web/html/css/containers.css @@ -212,3 +212,7 @@ font-size: 12px; } + form.actions + { + display: inline; + } diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 300593b7..c5e1719c 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -462,7 +462,15 @@ function package_details($id=0, $SID="") { echo "
\n"; echo "
".__("Actions")."
\n"; echo "
\n"; - echo "
\n"; + + # Add Comment button + # + echo " \n"; + echo " \n"; + echo " \n"; + echo "
\n"; + echo "
\n"; echo " \n"; echo " \n"; # Voting Button @@ -523,13 +531,11 @@ function package_details($id=0, $SID="") { echo "\n"; } - echo "
\n"; echo "
\n"; echo "
\n"; echo "\n
\n\n"; } - # Comments # echo "
\n"; @@ -585,15 +591,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"; -- cgit v1.2.3-24-g4f1b