danf: curl-www/dlwiz index.cgi,1.22,1.23

[email protected]
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/dlwiz
In directory labb:/tmp/cvs-serv5359

Modified Files:
	index.cgi 
Log Message:
Exclude hidden entries in the wizard


Index: index.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/dlwiz/index.cgi,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- index.cgi	14 Aug 2008 22:28:40 -0000	1.22
+++ index.cgi	14 Aug 2008 23:15:26 -0000	1.23
@@ -519,7 +519,8 @@
     for $e (@all) {
         if(($$e{'os'} eq $pick_os) &&
            (($pick_type eq "*") || ($$e{'type'} eq $pick_type)) &&
-           ($$e{'flav'} eq $pick_flav)) {
+           ($$e{'flav'} eq $pick_flav) &&
+           ($$e{'hide'} ne "Yes")) {
             my $v = $$e{'osver'};
             $ver{"$v"}++;
         }
@@ -607,7 +608,8 @@
         if( ($$e{'os'} eq $pick_os) &&
             (($pick_type eq "*") || ($$e{'type'} eq $pick_type)) &&
             (($pick_flav eq "*") || ($$e{'flav'} eq $pick_flav)) &&
-            (($pick_ver eq "*") || ($$e{'osver'} eq $pick_ver))) {
+            (($pick_ver eq "*") || ($$e{'osver'} eq $pick_ver)) &&
+            ($$e{'hide'} ne "Yes")) {
             my $c = $$e{'cpu'};
             $cpu{$c}++;
         }
@@ -824,7 +826,8 @@
             (($pick_type eq "*") || ($$e{'type'} eq $pick_type)) &&
             (($pick_flav eq "*") || ($$e{'flav'} eq $pick_flav)) &&
             (($pick_ver eq "*") || ($$e{'osver'} eq $pick_ver)) &&
-            ($$e{'cpu'} eq $pick_cpu)) {
+            ($$e{'cpu'} eq $pick_cpu) &&
+            ($$e{'hide'} ne "Yes")) {
 
             push @match, $e;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.