Author: phobos Date: 2011-06-08 11:37:46 +0000 (Wed, 08 Jun 2011) New Revision: 24812
Modified: website/trunk/include/foot.wmi Log: comment out careers in the footer, comment out the language switch cgi part too.
Modified: website/trunk/include/foot.wmi =================================================================== --- website/trunk/include/foot.wmi 2011-06-07 02:29:16 UTC (rev 24811) +++ website/trunk/include/foot.wmi 2011-06-08 11:37:46 UTC (rev 24812) @@ -57,7 +57,7 @@ <li><a href="<page getinvolved/mirrors>">Mirrors</a></li> <li><a href="<page docs/hidden-services>">Hidden Services</a></li> <li><a href="<page getinvolved/translation>">Translations</a></li> - <li><a href="<page getinvolved/open-positions>">Careers</a></li> +# <li><a href="<page getinvolved/open-positions>">Careers</a></li> </ul> </div> <!-- END COL --> @@ -84,44 +84,44 @@ <: }; :> </div>
-<!-- LANGUAGE SWITCH CGI - <div class="col wider"> - <h4>Languages</h4> - # this is a cgi trampoline to bounce us to the right page - # alternately, if the client supports javascript we can redirect that way - # noscript does not block onclick but clients may have disabled javascript completely - # - # for this to work we need to know the relative path from the document root - # to the current directory that wml is in. - <form action="$(DOCROOT)/cgi-bin/languageswitch.cgi"> - <select name="Language" id="lang"> - <:{ - #import "perl-globals.wmi"; - use Cwd; - use Cwd 'abs_path'; - use File::Spec; - my $urlbase = File::Spec->abs2rel(getcwd(),abs_path("$(DOCROOT)")); - my $LANGUAGES; - my $page = $WML_SRC_FILENAME; - opendir(DIR, getcwd()) or die $!; - # take a look and see what language support we have - while (my $file = readdir(DIR)) { - if (-d $file) { - if (-e "$file/$page") { - my $url = $urlbase.'/'.$WML_SRC_BASENAME.'.html.'.$file; - my $url2js = $WML_SRC_BASENAME.'.html.'.$file; - print '<option value="'.$url.'" onclick="window.location=\''.$url2js.'\'">'.$LANGUAGES{$file}.'</option>'."\n" unless not defined $LANGUAGES{$file}; - } - } - } - closedir(DIR); - }:> - </select> - <input class="go" type="submit" name="submit" value="Go"> - </form> - <p>Questions on this? Visit <a href="http://www.debian.org/intro/cn#howtoset">how to set the default document language</a>.</p> - </div> ---> +# LANGUAGE SWITCH CGI +# <div class="col wider"> +# <h4>Languages</h4> +# # this is a cgi trampoline to bounce us to the right page +# # alternately, if the client supports javascript we can redirect that way +# # noscript does not block onclick but clients may have disabled javascript completely +# # +# # for this to work we need to know the relative path from the document root +# # to the current directory that wml is in. +# <form action="$(DOCROOT)/cgi-bin/languageswitch.cgi"> +# <select name="Language" id="lang"> +# <:{ +# #import "perl-globals.wmi"; +# use Cwd; +# use Cwd 'abs_path'; +# use File::Spec; +# my $urlbase = File::Spec->abs2rel(getcwd(),abs_path("$(DOCROOT)")); +# my $LANGUAGES; +# my $page = $WML_SRC_FILENAME; +# opendir(DIR, getcwd()) or die $!; +# # take a look and see what language support we have +# while (my $file = readdir(DIR)) { +# if (-d $file) { +# if (-e "$file/$page") { +# my $url = $urlbase.'/'.$WML_SRC_BASENAME.'.html.'.$file; +# my $url2js = $WML_SRC_BASENAME.'.html.'.$file; +# print '<option value="'.$url.'" onclick="window.location=\''.$url2js.'\'">'.$LANGUAGES{$file}.'</option>'."\n" unless not defined $LANGUAGES{$file}; +# } +# } +# } +# closedir(DIR); +# }:> +# </select> +# <input class="go" type="submit" name="submit" value="Go"> +# </form> +# <p>Questions on this? Visit <a href="http://www.debian.org/intro/cn#howtoset">how to set the default document language</a>.</p> +# </div> +# </div> <!-- END FOOTER -->
tor-commits@lists.torproject.org