diff options
author | Paul Mattal <paul@mattal.com> | 2007-10-11 09:10:44 -0400 |
---|---|---|
committer | Paul Mattal <paul@mattal.com> | 2007-10-11 09:28:00 -0400 |
commit | 593b69a98dd1a945b10dbc0bd9425ac7a9342030 (patch) | |
tree | 4c33850285e7f2af58daf2f89a6bd362eba30ea8 /web/lib | |
parent | 783895de7319942ded3708a51a2aed4bfc7ddfda (diff) | |
download | aurweb-593b69a98dd1a945b10dbc0bd9425ac7a9342030.tar.xz |
Revert "Move "Add Comment" button to Actions bar."
This reverts commit 9b4472ef2fb91e91539def70f905cfe1ec6a8a3a.
We have decided to put the button by itself on the bottom, so
it does not get lost. This might be reconsidered in later UI
revamping.
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/pkgfuncs.inc | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index c5e1719..300593b 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -462,15 +462,7 @@ function package_details($id=0, $SID="") { echo "<div class=\"pgbox\">\n"; echo " <div class=\"pgboxtitle\"><span class=\"f3\">".__("Actions")."</span></div>\n"; echo " <div class=\"pgboxbody\">\n"; - - # Add Comment button - # - echo " <form action='/pkgedit.php' method='post' class='actions'>\n"; - echo " <input type='hidden' name='ID' value='".$row["ID"]."'>\n"; - echo " <input type='submit' class='button' name='add_Comment' value=\""; - echo __("Add Comment")."\">\n"; - echo " </form>\n"; - echo " <form action='/packages.php' method='post' class='actions'>\n"; + echo " <form action='/packages.php' method='post'>\n"; echo " <input type='hidden' name='IDs[".$row["ID"]."]' value='1'>\n"; echo " <input type='hidden' name='ID' value='".$row["ID"]."'>\n"; # Voting Button @@ -531,11 +523,13 @@ function package_details($id=0, $SID="") { echo "<input type='submit' class='button' name='do_Delete'"; echo " value='".__("Delete Packages")."'>\n"; } + echo " </form>\n"; echo " </div>\n"; echo "</div>\n"; echo "\n<br />\n\n"; } + # Comments # echo "<div class=\"pgbox\">\n"; @@ -591,6 +585,15 @@ function package_details($id=0, $SID="") { } } + echo " <tr>\n"; + echo " <td colspan='2'>\n"; + echo " <form action='/pkgedit.php' method='post'>\n"; + echo " <input type='hidden' name='ID' value='".$row["ID"]."'>\n"; + echo " <input type='submit' class='button' name='add_Comment' value=\""; + echo __("Add Comment")."\">\n"; + echo " </form>\n"; + echo " </td>\n"; + echo " </tr>\n"; echo " </table>\n"; echo " </div>\n"; echo "</div>\n"; |