Remove openbsd from install Tor instruction add to download easy en

This commit is contained in:
hiromipaw 2018-01-22 22:56:34 +01:00
parent b8db3ac06b
commit c30e712010
4 changed files with 25 additions and 45 deletions

View File

@ -1,39 +0,0 @@
## translation metadata
# Revision: $Revision$
# Translation-Priority: 2-medium
#include "head.wmi" TITLE="Tor Project: OpenBSD Install Instructions" CHARSET="UTF-8"
<div id="content" class="clearfix">
<div id="breadcrumbs">
<a href="<page index>">Home &raquo; </a>
<a href="<page docs/documentation>">Documentation &raquo; </a>
<a href="<page docs/tor-doc-osx>">OpenBSD Client</a>
</div>
<div id="maincol">
<h1>Running Tor on OpenBSD</h1>
<br>
<h2>These are advanced installation instructions for running
Tor in a OpenBSD environment.
</h2>
<p>To install from OpenBSD's packages, run:</p>
<pre>pkg_add tor-browser</pre>
<p>To install the Tor Browser port from an updated ports tree, run:</p>
<pre>cd /usr/ports/meta/tor-browser && make install</pre>
</div>
<!-- END MAINCOL -->
<div id = "sidecol">
#include "side.wmi"
#include "info.wmi"
</div>
<!-- END SIDECOL -->
</div>
<!-- END CONTENT -->
#include <foot.wmi>

View File

@ -39,9 +39,6 @@
{'url' => 'docs/rpms',
'txt' => 'Installing Tor on Fedora/CentOS',
},
{'url' => 'docs/openbsd',
'txt' => 'Installing Tor on OpenBSD',
},
{'url' => 'docs/tor-doc-unix',
'txt' => 'Installing Tor Source',
},

View File

@ -119,6 +119,25 @@
<p class="alt-dl">Not Using Linux? Download for <a href="#mac">Mac</a> or <a href="#windows">Windows</a></p>
</div>
</div>
<!-- START BSD -->
<div id="openbsd" class="easy bsd">
<div class="package" style="padding-top: 13px; border-top: 0px;">
<div class="desc">
<h2>Running Tor on OpenBSD</h2>
<p>These are installation instructions for running Tor Browser in a OpenBSD environment.</p>
<p>To install from OpenBSD's packages, run:</p>
<pre>pkg_add tor-browser</pre>
<p>To install the Tor Browser port from an updated ports tree, run:</p>
<pre>cd /usr/ports/meta/tor-browser && make install</pre>
</div>
</div>
</div>
<!-- START Orbot -->
<div id="android" class="easy android">
<div class="package" style="padding-top: 13px; border-top: 0px;">
@ -268,6 +287,7 @@ are blocked.</p>
<li class="dropdown"><a href="#windows">Microsoft Windows</a></li>
<li class="dropdown"><a href="#mac">Apple OS X</a></li>
<li class="dropdown"><a href="#linux">Linux</a></li>
<li class="dropdown"><a href="#openbsd">OpenBSD</a></li>
<li class="dropdown"><a href="#android">Android</a></li>
<li class="dropdown"><a href="<page download/download>">All Downloads</a></li>
</ul>

View File

@ -16,7 +16,7 @@ function OScheck() {
}else if(clientos == "Windows"){
$('.easy.windows').css('display', 'block');
}else if(clientos == "Mac"){
$('.easy.mac').css('display', 'block');
$('.easy.mac').css('display', 'block');
}else if(clientos == "Android"){
$('.easy.android').css('display', 'block');
}else{
@ -92,7 +92,7 @@ $(document).ready(function () {
var url = $.param.fragment();
// Toggle the '.easy' divs to off
if(url == 'windows'|url == 'mac'|url == 'linux'|url == 'android'){
if(url == 'windows'|url == 'mac'|url == 'linux'|url == 'openbsd'|url == 'android'){
$('.easy').css('display', 'none');
}
@ -102,7 +102,9 @@ $(document).ready(function () {
} else if(url == 'mac'){
$('.easy.mac').css('display', 'block');
} else if(url == 'linux'){
$('.easy.linux').css('display', 'block');
$('.easy.linux').css('display', 'block');
} else if(url == 'openbsd'){
$('.easy.bsd').css('display', 'block');
} else if(url == 'android'){
$('.easy.android').css('display', 'block');
} else {