summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordsa <dsa>2007-01-21 23:01:21 +0000
committerdsa <dsa>2007-01-21 23:01:21 +0000
commit2f2a9139d6edfff397138b6a8a2f4d690b2144ea (patch)
treedaff8c10864920f24d51648c4c703e9ed45c8015
parent0397ae8ff947b51cbef901fa28b77dfa59a9dc14 (diff)
downloadaurweb-2f2a9139d6edfff397138b6a8a2f4d690b2144ea.tar.xz
Removed the My Packages button and moved the buttons to a new line.
-rw-r--r--web/lib/pkgfuncs.inc17
1 files changed, 10 insertions, 7 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 8ce26e3..aba92f1 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -335,7 +335,6 @@ function package_details($id=0, $SID="") {
print "</tr>\n";
# In case of wanting to put a custom message
- # Added by: dsa <dsandrade@gmail.com>
$msg = __("unknown");
$license = $row["License"] == "" ? $msg : $row["License"];
@@ -746,7 +745,6 @@ function pkg_search_page($SID="") {
# Added the code below to handle the safe package flag.
# So we can search for then for 'all' packages, 'safe'
# packages and 'unsafe' packages.
- # Added by: dsa <dsandrade@gmail.com> "Happily breaking the lang files ;oD" (Joking)
print "<td align='right'>\n";
print " <span class='f5'><span class='blue'>".__("Status");
@@ -839,21 +837,28 @@ function pkg_search_page($SID="") {
$PP == 100 ? print " selected> 100\n" : print "> 100\n";
print " </select>\n";
print "</td>\n";
+
+ # Added to break put the buttons in a new line
+ print"</tr></table><center><table><tr>";
print "<td align='right' valign='bottom'>&nbsp;\n";
- print " <input type='submit' class='button' name='do_Search'";
+ print " <input type='submit' style='width:80px' class='button' name='do_Search'";
print " value='".__("Go")."'>\n";
print "</td>\n";
+ /*
+ * Commented the My Packages button because there is no need for it
+ * cause we already have a link.
+ *
if ($SID) {
print "<td align='right' valign='bottom'>&nbsp;\n";
print " <input type='submit' class='button' name='do_MyPackages'";
print " value='".__("My Packages")."'>\n";
print "</td>\n";
- }
+ }*/
print "<td align='right' valign='bottom'>&nbsp;\n";
- print " <input type='submit' class='button' name='do_Orphans'";
+ print " <input type='submit' style='width:80px' class='button' name='do_Orphans'";
print " value='".__("Orphans")."'>\n";
print "</td>\n";
@@ -952,7 +957,6 @@ function pkg_search_page($SID="") {
# Added the code below to handle the safe package flag.
# So we can search for then for 'all' packages, 'safe'
# packages and 'unsafe' packages.
- # Added by: dsa <dsandrade@gmail.com>
if ($_REQUEST["PaS"] <> "all") {
# Flagged Safe
if ($_REQUEST["PaS"] == "fs")
@@ -1186,7 +1190,6 @@ function pkg_search_page($SID="") {
if (isset($users[$row["MaintainerUID"]])) {
# Add a link to the user packages, e.g, if you click on the Solve the sorting problem, so we can force the
# maintainer name, you will be redirected to a page with the user packages.
- # Added by: dsa <dsandrade@gmail.com>
$user = $users[$row["MaintainerUID"]]["Username"];
print "<a href='packages.php?K=".$user."&SeB=m'>".$users[$row["MaintainerUID"]]["Username"]."</a>";
} else {