gnucash-htdocs master: Link flatpak.org

Frank H.Ellenberger fell at code.gnucash.org
Wed Sep 11 09:03:05 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/bbd2bdf5 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/77ca619e (commit)



commit bbd2bdf539e7fd6b6be44737eef7d8cae5e0e6a6
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Wed Sep 11 15:02:45 2019 +0200

    Link flatpak.org
    
    It has useful information

diff --git a/download.phtml b/download.phtml
index f988d60..3b9cc12 100644
--- a/download.phtml
+++ b/download.phtml
@@ -38,7 +38,7 @@
   <h3><?php echo T_("Sandbox")?></h3>
   <ul class="imagelist">
     <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/flatpak.png);">
-      <p class="justify"><?php echo T_("Flatpaks are bundles, which contain beneath the program also all required libraries. If your distribution is too old, to offer all required libraries, but has the package <span class=\"bold\">Flatpak</span>, you can install a recent version of <span class=\"gnucash\">GnuCash</span> from")?></p>
+      <p class="justify"><?php echo T_("Flatpaks are bundles, which contain beneath the program also all required libraries. If your distribution is too old, to offer all required libraries, but has the package <a href="<?php echo $URL_FLATPAK;?>">Flatpak</a>, you can install a recent version of <span class=\"gnucash\">GnuCash</span> from")?></p>
       <p class="justify"><a href="<?php echo $URL_FLATHUB;?>"><img width='240' alt='Download on Flathub' src='https://flathub.org/assets/badges/flathub-badge-en.png'/></a></p>
     </li>
   </ul>
diff --git a/externals/global_params.php b/externals/global_params.php
index 82eb33c..0592327 100644
--- a/externals/global_params.php
+++ b/externals/global_params.php
@@ -66,5 +66,6 @@
      $download_path="https://downloads.sourceforge.net/sourceforge/gnucash/";
      // TODO: gets redirected to https://sourceforge.net/projects/gnucash/files/ replace?
      
-     $URL_FLATHUB="https://flathub.org/apps/details/org.gnucash.GnuCash"
+     $URL_FLATHUB="https://flathub.org/apps/details/org.gnucash.GnuCash";
+     $URL_FLATPAK="https://flatpak.org/";
 ?>



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



More information about the gnucash-changes mailing list