gnucash-htdocs master: Bug 763064 - Tutorial page is blank in Chrome because of unsafe script
John Ralls
jralls at code.gnucash.org
Sat Mar 5 14:36:05 EST 2016
Updated via https://github.com/Gnucash/gnucash-htdocs/commit/770d231e (commit)
from https://github.com/Gnucash/gnucash-htdocs/commit/bb07cc9f (commit)
commit 770d231e8bbcb198590ef32d87f98666bfe7e769
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Mar 5 11:52:12 2016 -0800
Bug 763064 - Tutorial page is blank in Chrome because of unsafe
script
In part this reverts commit bb07cc9 and restores commit 08a3eab. It also
partly restores 88f4315 by setting the https scheme on all
www.gnucash.org hrefs but leaves the (code|lists|wiki).gnucash.org.
diff --git a/viewdoc.phtml b/viewdoc.phtml
index fa2c2a7..e031b3c 100644
--- a/viewdoc.phtml
+++ b/viewdoc.phtml
@@ -6,7 +6,7 @@ include("externals/header.phtml");
include("externals/menu.phtml");
# Some base parameters used later on
-$basepath = "http://www.gnucash.org/docs";
+$basepath = "https://www.gnucash.org/docs";
$helpdoc = "gnucash-help/help.html";
$tcdoc = "gnucash-guide/index.html";
$current_stable = "2.6";
@@ -85,7 +85,7 @@ if (isset ($_GET["rev"])) {
# To avoid network traffic, the available languages are hard-coded here and should be
# updated if list of languages in which the documentation is available changes
if ($showrev == "trunk") {
- $basepath = "http://code.gnucash.org/docs";
+ $basepath = "https://code.gnucash.org/docs";
$trunk_langs = array ( $helpdoc => array( "C", "de_DE", "it_IT"),
$tcdoc => array( "C", "de_DE", "it_IT", "ja_JP"));
if (!in_array ($showlang, $trunk_langs[$showdoc])) {
Summary of changes:
viewdoc.phtml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the gnucash-changes
mailing list