gnucash-htdocs master: Fix PATH in historical download section

Frank H.Ellenberger fell at code.gnucash.org
Sat Jul 4 13:44:37 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/0e16a0ec (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/efabb00b (commit)



commit 0e16a0ec5b82b020a927b60d614de8f9270c4e5a
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sat Jul 4 19:44:22 2020 +0200

    Fix PATH in historical download section

diff --git a/download.phtml b/download.phtml
index 83555c9..18a903b 100644
--- a/download.phtml
+++ b/download.phtml
@@ -94,10 +94,10 @@
       <ul>
         <li><?php printf (T_("GnuCash %s for"), $last_xp_vista_version)?>
           <ul>
-            <li><a href="<?php echo $latest_stable_path.$last_xp_vista;?>">Microsoft Windows XP/Vista</a></li>
-            <li><a href="<?php echo $latest_stable_path.$last_mac_ppc;?>">Mac OS X Power PC</a></li>
+            <li><a href="<?php echo $last_2_6_path.$last_xp_vista;?>">Microsoft Windows XP/Vista</a></li>
+            <li><a href="<?php echo $last_2_6_path.$last_mac_ppc;?>">Mac OS X Power PC</a></li>
         </ul>
-        <li><?php printf (T_("GnuCash %s for"), $last_win2k_version)?> <a href="<?php echo $latest_stable_path.$last_win2k;?>">Microsoft Windows 2000</a></li>
+        <li><?php printf (T_("GnuCash %s for"), $last_win2k_version)?> <a href="<?php echo $last_2_2_path.$last_win2k;?>">Microsoft Windows 2000</a></li>
       </ul>
   <?php } ?>
 
diff --git a/externals/global_params.php b/externals/global_params.php
index 4f4cd5f..bdc29be 100644
--- a/externals/global_params.php
+++ b/externals/global_params.php
@@ -43,7 +43,10 @@
      $base_path="https://sourceforge.net/projects/gnucash/files";
      $stable_path=$base_path."/gnucash%20(stable)/";
      $latest_stable_path=$stable_path.$latest_stable."/";
-
+     $last_2_2_path=$stable_path."/".$last_win2k_version."/";
+     $last_2_6_path=$stable_path."/".$last_xp_vista_version."/";
+     $last_3_path=$stable_path."/".$last_win7_version."/";
+     
      $latest_stable_win="gnucash-".$latest_stable_win.".setup.exe";
      $last_win7="gnucash-".$last_win7.".setup.exe";
      $last_xp_vista="gnucash-".$last_xp_vista_version."-setup.exe";



Summary of changes:
 download.phtml              | 6 +++---
 externals/global_params.php | 5 ++++-
 2 files changed, 7 insertions(+), 4 deletions(-)



More information about the gnucash-changes mailing list