From efcca46f26247ee69b33cb1effb0d34077817a80 Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 28 Jun 2004 10:39:12 +0000 Subject: working on action box for packages --- web/lang/pkgs_po.inc | 25 +++++++++++++++++++++++++ web/lib/aur.inc | 5 +++-- web/lib/pkgs.inc | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 2 deletions(-) (limited to 'web') diff --git a/web/lang/pkgs_po.inc b/web/lang/pkgs_po.inc index 20acf85..cd96ecb 100644 --- a/web/lang/pkgs_po.inc +++ b/web/lang/pkgs_po.inc @@ -91,4 +91,29 @@ $_t["en"]["Out-of-date"] = "Out-of-date"; # $_t["fr"]["Out-of-date"] = "--> Traduction française ici. <--"; # $_t["de"]["Out-of-date"] = "--> Deutsche Übersetzung hier. <--"; +$_t["en"]["Flag Out-of-date"] = "Flag Out-of-date"; +# $_t["es"]["Flag Out-of-date"] = "--> Traducción española aquí. <--"; +# $_t["fr"]["Flag Out-of-date"] = "--> Traduction française ici. <--"; +# $_t["de"]["Flag Out-of-date"] = "--> Deutsche Übersetzung hier. <--"; + +$_t["en"]["Actions"] = "Actions"; +# $_t["es"]["Actions"] = "--> Traducción española aquí. <--"; +# $_t["fr"]["Actions"] = "--> Traduction française ici. <--"; +# $_t["de"]["Actions"] = "--> Deutsche Übersetzung hier. <--"; + +$_t["en"]["Adopt Packages"] = "Adopt Packages"; +# $_t["es"]["Adopt Packages"] = "--> Traducción española aquí. <--"; +# $_t["fr"]["Adopt Packages"] = "--> Traduction française ici. <--"; +# $_t["de"]["Adopt Packages"] = "--> Deutsche Übersetzung hier. <--"; + +$_t["en"]["Disown Packages"] = "Disown Packages"; +# $_t["es"]["Disown Packages"] = "--> Traducción española aquí. <--"; +# $_t["fr"]["Disown Packages"] = "--> Traduction française ici. <--"; +# $_t["de"]["Disown Packages"] = "--> Deutsche Übersetzung hier. <--"; + +$_t["en"]["Vote"] = "Vote"; +# $_t["es"]["Vote"] = "--> Traducción española aquí. <--"; +# $_t["fr"]["Vote"] = "--> Traduction française ici. <--"; +# $_t["de"]["Vote"] = "--> Deutsche Übersetzung hier. <--"; + ?> \ No newline at end of file diff --git a/web/lib/aur.inc b/web/lib/aur.inc index 9407a40..fd923c7 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -406,13 +406,14 @@ function html_footer($ver="") { print " \n"; print " \n"; print "\n"; - print "

\n"; if ($ver) { + print "

\n"; print "\n"; print "\n"; print "
".$ver."
\n"; + print "

\n"; } - print "

\n"; + print "
\n"; print "\n"; return; } diff --git a/web/lib/pkgs.inc b/web/lib/pkgs.inc index dfcebb9..b4c4788 100644 --- a/web/lib/pkgs.inc +++ b/web/lib/pkgs.inc @@ -181,6 +181,41 @@ function pkg_search_page($SID="",$L="",$C="",$K="",$SB="",$M=0,$O=0,$PP=25) { # name will be a link that goes to 'details'. There should also be # a column for 'manage/edit' + if ($SID) { + print "
\n"; + print "
\n"; + print "\n"; + print "\n"; + print " \n"; + print "\n"; + print "\n"; + print " \n"; + print "\n"; + print "
\n"; + print " ".__("Actions")."\n"; + print "
\n"; + print "\n"; + print "\n"; + print "\n"; + print " \n"; + print " \n"; + print " \n"; + print " \n"; + print "\n"; + print "
"; + print ""; + print ""; + print ""; + print "
\n"; + print "
\n"; + print "
\n"; + print "
\n"; + print "
\n"; + } # query to pull out package info # -- cgit v1.2.3-70-g09d2