gnucash-htdocs master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sat Apr 1 19:04:39 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/88ee089c (commit)
	 via  https://github.com/Gnucash/gnucash-htdocs/commit/61813290 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/6313c61b (commit)



commit 88ee089cbbeab6d48510115f47d96d68a54194c5
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Apr 1 15:56:24 2023 -0700

    Remove 22 year old news articles that pointed to non-existant survey pages.

diff --git a/news/010630-quiz.news b/news/010630-quiz.news
deleted file mode 100644
index bb9c6a9..0000000
--- a/news/010630-quiz.news
+++ /dev/null
@@ -1,10 +0,0 @@
-<b>Features Survey</b>
-2001-06-30   08:08:52
-
-Let us know what your opinions about the future of GnuCash.  There is a rather long,
-detailed survey that asks for your opinion about the future of GnuCash.  You can rate
-the importance of a big list of features and possible future directions for gnucash.
-You can <a href="/en/quiz.phtml"> take the survey</a>, or study up on our thoughts 
-for the possible future directions for GnuCash by reading the 
-<a href="/en/roadmap.phtml">roadmap</a>.
-
diff --git a/news/010713-survey.news b/news/010713-survey.news
deleted file mode 100644
index f8954a4..0000000
--- a/news/010713-survey.news
+++ /dev/null
@@ -1,10 +0,0 @@
-<b>Preliminary Survey Results</b>
-2001-07-12   19:01:35
-There have been 415 survey takers to-date. The majority of respondants
-are home users interested in more home-user features.  You can view
-an executive summary and the detailed responses 
-<a href="/en/quiz-results.phtml">here</a>.  The survey itself
-continues, and we hope to have a more detailed breakdown according
-to the types of users later.
-
-
diff --git a/news/010906-survey.news b/news/010906-survey.news
deleted file mode 100644
index b83fb24..0000000
--- a/news/010906-survey.news
+++ /dev/null
@@ -1,15 +0,0 @@
-<b>Final Survey Results</b>
-2001-09-07   00:42:42
-The First Gnucash User/Features Survey is now closed.
-There were 828 survey respondents. 
-The responses and the averages changed almost not at all 
-from the early snapshot posted here earlier.
-The majority of respondants
-are home users interested in more home-user features.  You can view
-an executive summary and the detailed responses 
-<a href="/en/quiz-results.phtml">here</a>.  
-We hope to do a bit of data mining later, and present 
-a more detailed breakdown according to the types of users.
-Let us know if you have interest in this dataset.
-
-

commit 61813290a6af56b439712bfe4a53685cbeebe5cf
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Apr 1 15:48:54 2023 -0700

    Prevent undefined offset error in viewdoc.

diff --git a/viewdoc.phtml b/viewdoc.phtml
index fd12f63..0b76c69 100644
--- a/viewdoc.phtml
+++ b/viewdoc.phtml
@@ -113,7 +113,11 @@ if ($doc_to_show) {
 
 # Web locales may have a country code but the documentation doesn't at the moment
 # So test both the full locale and the version stripped down to language code only.
-list($shortlang,$rest) = explode ("_", $showlang);
+if (strpos($showlang, "_")) {
+    list($shortlang,$rest) = explode ("_", $showlang);
+} else {
+    $shortlang = $showlang;
+}
 $reqlangs = array ($showlang);
 
 # First evaluate the nightly builds, they are located on a different server



Summary of changes:
 news/010630-quiz.news   | 10 ----------
 news/010713-survey.news | 10 ----------
 news/010906-survey.news | 15 ---------------
 viewdoc.phtml           |  6 +++++-
 4 files changed, 5 insertions(+), 36 deletions(-)
 delete mode 100644 news/010630-quiz.news
 delete mode 100644 news/010713-survey.news
 delete mode 100644 news/010906-survey.news



More information about the gnucash-changes mailing list