Date: Sat, 25 May 2019 17:10:52 +0000 (UTC) From: Wolfram Schneider <wosch@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r53060 - head/en_US.ISO8859-1/htdocs/cgi Message-ID: <201905251710.x4PHAq6n063935@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wosch Date: Sat May 25 17:10:52 2019 New Revision: 53060 URL: https://svnweb.freebsd.org/changeset/doc/53060 Log: the default architecture is 'All Architectures' Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi ============================================================================== --- head/en_US.ISO8859-1/htdocs/cgi/man.cgi Sat May 25 16:56:43 2019 (r53059) +++ head/en_US.ISO8859-1/htdocs/cgi/man.cgi Sat May 25 17:10:52 2019 (r53060) @@ -785,7 +785,7 @@ my %no_html_output = map { $_ => 1 } @no_html_output; my %valid_arch = map { $_ => 1 } qw/aarch64 acorn26 acorn32 algor alpha amd64 amiga arc arm arm26 arm32 arm64 armish atari aviion bebox cats cesfic cobalt dreamcast evbarm evbmips evbppc evbsh3 evbsh5 hp300 hp700 hpcarm hpcmips hpcsh hppa hppa64 i386 ibmnws landisk loongson luna68k luna88k mac68k macppc mipsco mmeye mvme68k mvme88k mvmeppc netwinder news68k newsmips next68k ofppc palm pc532 pegasos playstation2 pmax pmppc powerpc prep sandpoint sbmips sgi sgimips shark socppc sparc sparc64 sun2 sun3 sun3x tahoe vax walnut wgrisc x68k zaurus/; -my $default_arch = 'amd64'; +my $default_arch = ''; my %arch_names = ('default' => 'All Architectures'); my %arch = ( @@ -1848,6 +1848,8 @@ ETX } foreach (@arch) { + next if $_ eq ""; + my $selected = $_ eq $a ? ' selected="selected"' : ""; my $arch_name = exists $arch_names{$_} ? $arch_names{$_} : $_; print qq{<option $selected value="$_">$arch_name</option>\n};
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905251710.x4PHAq6n063935>