gnucash-htdocs master: Replace removed download_path with stable_path.

John Ralls jralls at code.gnucash.org
Wed Apr 15 13:17:14 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/8d7a12e1 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/8f8ef74e (commit)



commit 8d7a12e1b264c6b248b737b4f70a73cc76b8829d
Author: John Ralls <jralls at ceridwen.us>
Date:   Wed Apr 15 10:17:05 2020 -0700

    Replace removed download_path with stable_path.

diff --git a/download.phtml b/download.phtml
index cdc6803..4d1adbc 100644
--- a/download.phtml
+++ b/download.phtml
@@ -19,8 +19,8 @@
 
   <h3><?php echo T_("Installers")?></h3>
   <ul class="imagelist">
-    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/windows.png);"><?php printf (T_("GnuCash %s for"), $latest_stable)?> <a href="<?php echo $download_path.$latest_stable_win;?>">Microsoft Windows 7/8/10</a></li>
-    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/macosx.png);"><?php printf (T_("GnuCash %s for"), $latest_stable)?> Mac OS X <a href="<?php echo $download_path.$latest_stable_mac_intel;?>">Intel >= 10.9 (Mavericks)</a></li>
+    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/windows.png);"><?php printf (T_("GnuCash %s for"), $latest_stable)?> <a href="<?php echo $stable_path.$latest_stable_win;?>">Microsoft Windows 7/8/10</a></li>
+    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/macosx.png);"><?php printf (T_("GnuCash %s for"), $latest_stable)?> Mac OS X <a href="<?php echo $stable_path.$latest_stable_mac_intel;?>">Intel >= 10.9 (Mavericks)</a></li>
   </ul>
 
   <a id="distribution"></a><h3>Linux</h3>
@@ -49,7 +49,7 @@
   <h3><?php echo T_("Source code")?></h3>
   <p class="justify"><?php echo T_("If your distro doesn't ship with <span class=\"gnucash\">GnuCash</span> or you wish to install a different version than it ships with, you could try to build <span class=\"gnucash\">GnuCash</span> directly from the source code. The <span class=\"gnucash\">GnuCash</span> wiki has <a href='https://wiki.gnucash.org/wiki/Building'>guidelines for several distributions</a>.")?></p>
   <ul class="imagelist">
-    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/package.png);"><a href="<?php echo $download_path.$latest_stable_source;?>">bzip2 compressed tarball</a> <?php printf (T_("for GnuCash %s"), $latest_stable)?></li>
+    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/package.png);"><a href="<?php echo $stable_path.$latest_stable_source;?>">bzip2 compressed tarball</a> <?php printf (T_("for GnuCash %s"), $latest_stable)?></li>
   </ul>
 
   <?php
@@ -63,8 +63,8 @@
       
       <ul>
         <li><?php printf (T_("GnuCash %s for"), $latest_unstable)?> <a href="<?php echo $download_path.$latest_unstable_win;?>">Microsoft Windows 7/8/10</a></li>
-        <li><?php printf (T_("GnuCash %s for"), $latest_unstable)?> Mac OS X <a href="<?php echo $download_path.$latest_unstable_mac_intel;?>">Intel >= 10.9 (Mavericks)</a></li>
-        <li><a href="<?php echo $download_path.$latest_unstable_source;?>">bzip2 compressed tarball</a> <?php printf (T_("for GnuCash %s"), $latest_unstable)?></li>
+        <li><?php printf (T_("GnuCash %s for"), $latest_unstable)?> Mac OS X <a href="<?php echo $stable_path.$latest_unstable_mac_intel;?>">Intel >= 10.9 (Mavericks)</a></li>
+        <li><a href="<?php echo $stable_path.$latest_unstable_source;?>">bzip2 compressed tarball</a> <?php printf (T_("for GnuCash %s"), $latest_unstable)?></li>
       </ul>
   <?php } ?>
 
@@ -78,9 +78,9 @@
       <p class="justify"><?php printf (T_("The last old stable release of <span class=\"gnucash\">GnuCash</span> is %s.  Choose the download for your operating system below."), $old_stable)?></p>
       
       <ul>
-        <li><?php printf (T_("GnuCash %s for"), $old_stable)?> <a href="<?php echo $download_path.$old_stable_win;?>">Microsoft Windows XP/Vista/7/8/10</a></li>
-        <li><?php printf (T_("GnuCash %s for"), $old_stable)?> Mac OS X <a href="<?php echo $download_path.$old_stable_mac_intel;?>">Intel</a> | <a href="<?php echo $download_path.$old_stable_mac_ppc;?>">PPC</a></li>
-        <li><a href="<?php echo $download_path.$old_stable_source;?>">bzip2 compressed tarball</a> <?php printf (T_("for GnuCash %s"), $old_stable)?></li>
+        <li><?php printf (T_("GnuCash %s for"), $old_stable)?> <a href="<?php echo $stable_path.$old_stable_win;?>">Microsoft Windows XP/Vista/7/8/10</a></li>
+        <li><?php printf (T_("GnuCash %s for"), $old_stable)?> Mac OS X <a href="<?php echo $stable_path.$old_stable_mac_intel;?>">Intel</a> | <a href="<?php echo $stable_path.$old_stable_mac_ppc;?>">PPC</a></li>
+        <li><a href="<?php echo $stable_path.$old_stable_source;?>">bzip2 compressed tarball</a> <?php printf (T_("for GnuCash %s"), $old_stable)?></li>
       </ul>
   <?php } ?>
 
@@ -92,7 +92,7 @@
       </div>
       <p class="justify"><?php echo T_("This versions are really old. Do not expect any support.")?></p>
       <ul>
-        <li><?php printf (T_("GnuCash %s for"), $latest_stable_win2k_version)?> <a href="<?php echo $download_path.$latest_stable_win2k;?>">Microsoft Windows 2000</a></li>
+        <li><?php printf (T_("GnuCash %s for"), $latest_stable_win2k_version)?> <a href="<?php echo $stable_path.$latest_stable_win2k;?>">Microsoft Windows 2000</a></li>
       </ul>
   <?php } ?>
 
diff --git a/index.phtml b/index.phtml
index 2ee7733..03e5479 100644
--- a/index.phtml
+++ b/index.phtml
@@ -18,9 +18,9 @@
         <h2 id="dwnld-box"><?php printf (T_("Download GnuCash %s"), $latest_stable)?></h2>
 
         <ul>
-         <li><img alt="linux" src="<?=$top_dir?>/images/icons/linux.png" /> Linux <a href="<?php echo $download_path.$latest_stable_source;?>"><?php echo T_("Source");?></a> | <a href="<?=$home?>/download.phtml#distribution"><?php echo T_("Via distribution");?></a></li>
-         <li><img alt="windows" src="<?=$top_dir?>/images/icons/windows.png" /> Microsoft Windows <a href="<?php echo $download_path.$latest_stable_xp_vista;?>">XP/Vista</a> | <a href="<?php echo $download_path.$latest_stable_win;?>">7/8/10</a></li>
-         <li><img alt="macosx" src="<?=$top_dir?>/images/icons/macosx.png" /> Mac OS X <a href="<?php echo $download_path.$latest_stable_mac_intel;?>">Intel</a> | <a href="<?php echo $download_path.$latest_stable_mac_ppc;?>">Power PC</a></li>
+         <li><img alt="linux" src="<?=$top_dir?>/images/icons/linux.png" /> Linux <a href="<?php echo $stable_path . $latest_stable_source;?>"><?php echo T_("Source");?></a> | <a href="<?=$home?>/download.phtml#distribution"><?php echo T_("Via distribution");?></a></li>
+         <li><img alt="windows" src="<?=$top_dir?>/images/icons/windows.png" /> Microsoft Windows <a href="<?php echo $stable_path.$latest_stable_xp_vista;?>">XP/Vista</a> | <a href="<?php echo $stable_path.$latest_stable_win;?>">7/8/10</a></li>
+         <li><img alt="macosx" src="<?=$top_dir?>/images/icons/macosx.png" /> Mac OS X <a href="<?php echo $stable_path.$latest_stable_mac_intel;?>">Intel</a> | <a href="<?php echo $stable_path.$latest_stable_mac_ppc;?>">Power PC</a></li>
          <li><a href="<?=$home?>/download.phtml" style="font-size: 80%;"><?=T_("More downloads (Source, Development,...)")?></a></li>
         </ul>
       </div>



Summary of changes:
 download.phtml | 18 +++++++++---------
 index.phtml    |  6 +++---
 2 files changed, 12 insertions(+), 12 deletions(-)



More information about the gnucash-changes mailing list