protocol independent url
This commit is contained in:
parent
62cac0bccf
commit
fe535fea8f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45477
1 changed files with 7 additions and 7 deletions
|
@ -16,7 +16,7 @@ if (!defined($hsty_base)) {
|
||||||
if (!defined($ENV{'HTTP_HOST'}) ||
|
if (!defined($ENV{'HTTP_HOST'}) ||
|
||||||
$ENV{'HTTP_HOST'} =~ /(cgi|hub|docs|people).freebsd.org/i) {
|
$ENV{'HTTP_HOST'} =~ /(cgi|hub|docs|people).freebsd.org/i) {
|
||||||
|
|
||||||
$hsty_base = 'http://www.FreeBSD.org'
|
$hsty_base = '//www.FreeBSD.org'
|
||||||
} else {
|
} else {
|
||||||
$hsty_base = '..';
|
$hsty_base = '..';
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ $i_topbar = qq`
|
||||||
|
|
||||||
<div id="search">
|
<div id="search">
|
||||||
<form
|
<form
|
||||||
action="http://www.FreeBSD.org/cgi/search.cgi"
|
action="//www.FreeBSD.org/cgi/search.cgi"
|
||||||
method="get">
|
method="get">
|
||||||
<div>
|
<div>
|
||||||
<h2 class="blockhide"><label
|
<h2 class="blockhide"><label
|
||||||
|
@ -145,8 +145,8 @@ $i_topbar = qq`
|
||||||
<li><a href="$hsty_base/projects/index.html">Developers</a>
|
<li><a href="$hsty_base/projects/index.html">Developers</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="$hsty_base/projects/ideas/ideas.html">Project Ideas</a></li>
|
<li><a href="$hsty_base/projects/ideas/ideas.html">Project Ideas</a></li>
|
||||||
<li><a href="http://svnweb.FreeBSD.org">SVN Repository</a></li>
|
<li><a href="//svnweb.FreeBSD.org">SVN Repository</a></li>
|
||||||
<li><a href="http://p4web.FreeBSD.org">Perforce Repository</a></li>
|
<li><a href="//p4web.FreeBSD.org">Perforce Repository</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -154,16 +154,16 @@ $i_topbar = qq`
|
||||||
<li><a href="$hsty_base/support.html">Support</a>
|
<li><a href="$hsty_base/support.html">Support</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="$hsty_base/commercial/commercial.html">Vendors</a></li>
|
<li><a href="$hsty_base/commercial/commercial.html">Vendors</a></li>
|
||||||
<li><a href="http://security.FreeBSD.org/">Security Information</a></li>
|
<li><a href="//security.FreeBSD.org/">Security Information</a></li>
|
||||||
<li><a href="$hsty_base/cgi/query-pr-summary.cgi">Bug Reports</a></li>
|
<li><a href="$hsty_base/cgi/query-pr-summary.cgi">Bug Reports</a></li>
|
||||||
<li><a href="$hsty_base/send-pr.html">Submit Bug-report</a></li>
|
<li><a href="$hsty_base/send-pr.html">Submit Bug-report</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="http://www.freebsdfoundation.org/">Foundation</a>
|
<li><a href="//www.freebsdfoundation.org/">Foundation</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="http://www.freebsdfoundation.org/donate/">Donate</a></li>
|
<li><a href="//www.freebsdfoundation.org/donate/">Donate</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue