gnucash-htdocs master: Indent download.phtml for readability

Frank H.Ellenberger fell at code.gnucash.org
Thu Apr 26 07:15:02 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/84ff3159 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/a9422b4e (commit)



commit 84ff31595bb8e28ccea9cea10943bace579c7e08
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Thu Apr 26 13:14:20 2018 +0200

    Indent download.phtml for readability

diff --git a/download.phtml b/download.phtml
index 22ba29f..ffa7d22 100644
--- a/download.phtml
+++ b/download.phtml
@@ -1,93 +1,93 @@
 <?php 
-$homepage = false;
-include("emulate_globals_on.php");
-include("lang.php");
-$title = T_("Download");
-include("externals/header.phtml");
-include("externals/menu.phtml"); 
+  $homepage = false;
+  include("emulate_globals_on.php");
+  include("lang.php");
+  $title = T_("Download");
+  include("externals/header.phtml");
+  include("externals/menu.phtml"); 
 ?>
 
 <div id="content">
 
-<h1><?php echo T_("Download GnuCash")?></h1>
-
-<div class="featureborder">
-<h2 class="featuretitle"><?php printf (T_("Stable release (%s)"), $latest_stable)?></h2>
-</div>
-<p class="justify"><?php echo T_("A stable release is a version of <span class=\"gnucash\">GnuCash</span> that is well tested and considered appropriate for every day use.")?></p>
-<p class="justify"><?php printf (T_("The latest stable release of <span class=\"gnucash\">GnuCash</span> is %s. Choose the download for your operating system below."), $latest_stable)?></p>
-
-<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>
-</ul>
-
-<a id="distribution"></a><h3>Linux</h3>
-<p class="justify"><?php echo T_("Most linux distributions come bundled with a version of <span class=\"gnucash\">GnuCash</span>, though it's not always the most recent version and it may not have been installed by default. Still it is recommended to use the <span class=\"gnucash\">GnuCash</span> version that comes with your distribution.");?></p>
-<p class="justify"><?php echo T_("Below are ways to install <span class=\"gnucash\">GnuCash</span> on some of the more popular distributions:");?></p>
-
-<ul class="imagelist">
-  <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/fedora.png);"><b>Fedora: </b><?php echo T_("Fedora users can install <span class=\"gnucash\">GnuCash</span> through System->Administration->Add/Remove Software (Gnome) or Applications->System->Software Management (KDE).")?></li>
-  <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/mandriva.png);"><b>Mandriva: </b><?php echo T_("Mandriva users can install <span class=\"gnucash\">GnuCash</span> through the Software Management in the Mandriva Linux Control Center.")?></li>
-  <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/redhat.png);"><b>Redhat/Centos: </b><?php echo T_("Redhat and CentOS don't have <span class=\"gnucash\">GnuCash</span> in their repositories by default. It can be installed however from the third-party Epel repository. For more details on configuring this additional software repository for your setup, see");?> <a href="https://fedoraproject.org/wiki/EPEL"><?php echo T_("Epel's wiki page");?></a>.</li>
-  <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/ubuntu.png);"><b>Ubuntu: </b><?php echo T_("Ubuntu users can install <span class=\"gnucash\">GnuCash</span> through the Software Center. This will install <span class=\"gnucash\">GnuCash</span> under the Office category in the Applications menu.")?></li>
-</ul>
-<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>
-
-<h3><?php echo T_("Source code")?></h3>
-<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>
- </ul>
-<p><?php echo T_("For build instructions, please check the <span class=\"gnucash\">GnuCash</span> wiki which has <a href='https://wiki.gnucash.org/wiki/GnuCash#Installation'>guidelines for several distributions</a>.")?></p>
-
-<?php
-# Only show unstable download options if there really is an active unstable release
-if ($latest_unstable) { ?>
-<div class="featureborder">
-<h2 class="featuretitle"><?php printf (T_("Unstable/Development release (%s)"), $latest_unstable)?></h2>
-</div>
-<p class="justify"><?php echo T_("Unstable (development) releases are for testing purposes only. They contain the newest features and improvements, but may also contain serious bugs still. Don't install these releases for everyday use.")?></p>
-<p class="justify"><?php printf (T_("The latest unstable release of <span class=\"gnucash\">GnuCash</span> is %s.  Choose the download for your operating system below."), $latest_unstable)?></p>
-
-<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>
-</ul>
-<?php } ?>
-
-<?php
-# Only show old stable download options if there really is an active unstable release
-if ($old_stable) { ?>
-<div class="featureborder">
-<h2 class="featuretitle"><?php printf (T_("Old Stable release (%s)"), $old_stable)?></h2>
-</div>
-<p class="justify"><?php echo T_("This old stable release is the final version of the previous stable series. It's available for users who aren't ready for a major upgrade but want to make sure that they have all of the bugfixes from the old series.")?></p>
-<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>
-</ul>
-<?php } ?>
-
-<div class="featureborder">
-<h2 class="featuretitle"><?php echo T_("Other")?></h2>
-</div>
-
-<ul>
- <li><a href="<?php echo $latest_stable_path;?>"><?php printf (T_("View all GnuCash %s downloads (stable)"), $latest_stable)?></a></li>
-
-<?php
-# Only show unstable download options if there is an active unstable release
-if ($latest_unstable) { ?>
- <li><a href="<?php echo $latest_unstable_path;?>"><?php printf (T_("View all GnuCash %s downloads (unstable)"), $latest_unstable)?></a></li>
-<?php } ?>
-
- <li><a href="https://sourceforge.net/projects/gnucash/files/"><?php echo T_("View all GnuCash downloads")?></a></li>
-</ul>
-
-</div>
+  <h1><?php echo T_("Download GnuCash")?></h1>
+
+  <div class="featureborder">
+    <h2 class="featuretitle"><?php printf (T_("Stable release (%s)"), $latest_stable)?></h2>
+  </div>
+  <p class="justify"><?php echo T_("A stable release is a version of <span class=\"gnucash\">GnuCash</span> that is well tested and considered appropriate for every day use.")?></p>
+  <p class="justify"><?php printf (T_("The latest stable release of <span class=\"gnucash\">GnuCash</span> is %s. Choose the download for your operating system below."), $latest_stable)?></p>
+
+  <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>
+  </ul>
+
+  <a id="distribution"></a><h3>Linux</h3>
+  <p class="justify"><?php echo T_("Most linux distributions come bundled with a version of <span class=\"gnucash\">GnuCash</span>, though it's not always the most recent version and it may not have been installed by default. Still it is recommended to use the <span class=\"gnucash\">GnuCash</span> version that comes with your distribution.");?></p>
+  <p class="justify"><?php echo T_("Below are ways to install <span class=\"gnucash\">GnuCash</span> on some of the more popular distributions:");?></p>
+
+  <ul class="imagelist">
+    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/fedora.png);"><b>Fedora: </b><?php echo T_("Fedora users can install <span class=\"gnucash\">GnuCash</span> through System->Administration->Add/Remove Software (Gnome) or Applications->System->Software Management (KDE).")?></li>
+    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/mandriva.png);"><b>Mandriva: </b><?php echo T_("Mandriva users can install <span class=\"gnucash\">GnuCash</span> through the Software Management in the Mandriva Linux Control Center.")?></li>
+    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/redhat.png);"><b>Redhat/Centos: </b><?php echo T_("Redhat and CentOS don't have <span class=\"gnucash\">GnuCash</span> in their repositories by default. It can be installed however from the third-party Epel repository. For more details on configuring this additional software repository for your setup, see");?> <a href="https://fedoraproject.org/wiki/EPEL"><?php echo T_("Epel's wiki page");?></a>.</li>
+    <li class="imagelistitem" style="background-image: url(<?=$top_dir?>/images/icons/ubuntu.png);"><b>Ubuntu: </b><?php echo T_("Ubuntu users can install <span class=\"gnucash\">GnuCash</span> through the Software Center. This will install <span class=\"gnucash\">GnuCash</span> under the Office category in the Applications menu.")?></li>
+  </ul>
+  <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>
+
+  <h3><?php echo T_("Source code")?></h3>
+  <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>
+  </ul>
+  <p><?php echo T_("For build instructions, please check the <span class=\"gnucash\">GnuCash</span> wiki which has <a href='https://wiki.gnucash.org/wiki/GnuCash#Installation'>guidelines for several distributions</a>.")?></p>
+
+  <?php
+    # Only show unstable download options if there really is an active unstable release
+    if ($latest_unstable) { ?>
+      <div class="featureborder">
+      <h2 class="featuretitle"><?php printf (T_("Unstable/Development release (%s)"), $latest_unstable)?></h2>
+      </div>
+      <p class="justify"><?php echo T_("Unstable (development) releases are for testing purposes only. They contain the newest features and improvements, but may also contain serious bugs still. Don't install these releases for everyday use.")?></p>
+      <p class="justify"><?php printf (T_("The latest unstable release of <span class=\"gnucash\">GnuCash</span> is %s.  Choose the download for your operating system below."), $latest_unstable)?></p>
+      
+      <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>
+      </ul>
+  <?php } ?>
+
+  <?php
+    # Only show old stable download options if there really is an active unstable release
+    if ($old_stable) { ?>
+      <div class="featureborder">
+        <h2 class="featuretitle"><?php printf (T_("Old Stable release (%s)"), $old_stable)?></h2>
+      </div>
+      <p class="justify"><?php echo T_("This old stable release is the final version of the previous stable series. It's available for users who aren't ready for a major upgrade but want to make sure that they have all of the bugfixes from the old series.")?></p>
+      <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>
+      </ul>
+  <?php } ?>
+
+  <div class="featureborder">
+    <h2 class="featuretitle"><?php echo T_("Other")?></h2>
+  </div>
+
+  <ul>
+    <li><a href="<?php echo $latest_stable_path;?>"><?php printf (T_("View all GnuCash %s downloads (stable)"), $latest_stable)?></a></li>
+
+    <?php
+      # Only show unstable download options if there is an active unstable release
+      if ($latest_unstable) { ?>
+        <li><a href="<?php echo $latest_unstable_path;?>"><?php printf (T_("View all GnuCash %s downloads (unstable)"), $latest_unstable)?></a></li>
+    <?php } ?>
+  
+    <li><a href="https://sourceforge.net/projects/gnucash/files/"><?php echo T_("View all GnuCash downloads")?></a></li>
+  </ul>
+
+</div> <!-- content -->
 <?php include("externals/footer.phtml"); ?>



Summary of changes:
 download.phtml | 174 ++++++++++++++++++++++++++++-----------------------------
 1 file changed, 87 insertions(+), 87 deletions(-)



More information about the gnucash-changes mailing list