From 2f2a9139d6edfff397138b6a8a2f4d690b2144ea Mon Sep 17 00:00:00 2001 From: dsa Date: Sun, 21 Jan 2007 23:01:21 +0000 Subject: Removed the My Packages button and moved the buttons to a new line. --- web/lib/pkgfuncs.inc | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'web') 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 "\n"; # In case of wanting to put a custom message - # Added by: dsa $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 "Happily breaking the lang files ;oD" (Joking) print "\n"; print " ".__("Status"); @@ -839,21 +837,28 @@ function pkg_search_page($SID="") { $PP == 100 ? print " selected> 100\n" : print "> 100\n"; print " \n"; print "\n"; + + # Added to break put the buttons in a new line + print"
"; print "\n"; + /* + * Commented the My Packages button because there is no need for it + * cause we already have a link. + * if ($SID) { print "\n"; - } + }*/ print "\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 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 $user = $users[$row["MaintainerUID"]]["Username"]; print "".$users[$row["MaintainerUID"]]["Username"].""; } else { -- cgit v1.2.3-54-g00ecf
 \n"; - print " \n"; print " \n"; print " \n"; print " \n"; - print " \n"; print "