gnucash-htdocs master: indent index and it's components for readability

Frank H.Ellenberger fell at code.gnucash.org
Sat Apr 21 17:16:08 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/dbae9d65 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/20a40703 (commit)



commit dbae9d65728444a7d951ffa50eacefc40a62edb9
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Sat Apr 21 23:15:28 2018 +0200

    indent index and it's components for readability

diff --git a/externals/footer.phtml b/externals/footer.phtml
index b896539..35e1b19 100644
--- a/externals/footer.phtml
+++ b/externals/footer.phtml
@@ -1,14 +1,17 @@
-</div><!-- end main content area -->
+    </div><!-- end main content area -->
 
-<div id="tail">
-<div id="validator">
-<p about="" resource="https://www.w3.org/TR/rdfa-syntax" rel="dc:conformsTo" xmlns:dc="https://purl.org/dc/terms/">
-<a href="https://validator.w3.org/check?uri=referer"><img src="https://www.w3.org/Icons/valid-xhtml-rdfa" alt="Valid XHTML + RDFa" height="31" width="88" /></a>
-</p>
-</div>
-<p><b>Copyright © 2001-2018 The GnuCash Project</b></p>
-<p><?= T_("Server & email outage reports to:")?> <a href="mailto:gnucash-devel at gnucash.org"><b>gnucash-devel at gnucash.org</b></a></p>
-<p><?= T_("Translation problems? Contact:");?> <a href="mailto:gnucash-devel at gnucash.org"><b>gnucash-devel at gnucash.org</b></a></p>
-</div>
-</body>
+    <div id="tail">
+      <div id="validator">
+        <p about="" resource="https://www.w3.org/TR/rdfa-syntax"
+            rel="dc:conformsTo" xmlns:dc="https://purl.org/dc/terms/">
+          <a href="https://validator.w3.org/check?uri=referer">
+            <img src="https://www.w3.org/Icons/valid-xhtml-rdfa"
+            alt="Valid XHTML + RDFa" height="31" width="88" /></a>
+        </p>
+      </div>
+      <p><b>Copyright © 2001-2018 The GnuCash Project</b></p>
+      <p><?= T_("Server & email outage reports to:")?> <a href="mailto:gnucash-devel at gnucash.org"><b>gnucash-devel at gnucash.org</b></a></p>
+      <p><?= T_("Translation problems? Contact:");?> <a href="mailto:gnucash-devel at gnucash.org"><b>gnucash-devel at gnucash.org</b></a></p>
+    </div> <!-- tail -->
+  </body>
 </html>
diff --git a/externals/header.phtml b/externals/header.phtml
index eaa944e..33bc836 100644
--- a/externals/header.phtml
+++ b/externals/header.phtml
@@ -1,139 +1,141 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
 
 <?php
-$titleRSS = T_("Subscribe to RSS feed");
-$titledonation = T_("Support the GnuCash project with a donation");
-$titleuservoice = T_("Request or vote enhancements for GnuCash");
-$titlegplus = T_("GnuCash on Google +");
-$titlefb = T_("GnuCash on facebook");
-
-# This function will create a link to the given page
-# reusing the get parameters that were specified
-# with the option to override the language
-function make_lang_href ($page, $get_parms, $lang)
-{
-  if (isset($lang) && $lang != "")
+  $titleRSS = T_("Subscribe to RSS feed");
+  $titledonation = T_("Support the GnuCash project with a donation");
+  $titleuservoice = T_("Request or vote enhancements for GnuCash");
+  $titlegplus = T_("GnuCash on Google +");
+  $titlefb = T_("GnuCash on facebook");
+  
+  # This function will create a link to the given page
+  # reusing the get parameters that were specified
+  # with the option to override the language
+  function make_lang_href ($page, $get_parms, $lang)
   {
-    $get_parms["lang"] = $lang;
+    if (isset($lang) && $lang != "")
+    {
+      $get_parms["lang"] = $lang;
+    }
+    $url_get_query = http_build_query ($get_parms);
+    $lang_href = "$page"."?"."$url_get_query";
+    return $lang_href;
+  
   }
-  $url_get_query = http_build_query ($get_parms);
-  $lang_href = "$page"."?"."$url_get_query";
-  return $lang_href;
-
-}
-
-$get_parms = $_GET;
+  
+  $get_parms = $_GET;
 ?>
 
 <html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<?php
-if (!isset($can_utf)) { $can_utf = true; }
-if ($can_utf)
-{ ?>
-  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-
-<!--meta properties for facebook Open Graph-->
-<meta property="og:title" content="Free Accounting Software | GnuCash"/>
-<meta property="og:type" content="website"/>
-<meta property="og:url" content="https://www.gnucash.org/"/>
-<meta property="og:image" content="https://www.gnucash.org/externals/logo_w120.png"/>
-<meta property="og:site_name" content="GnuCash"/>
-<meta property="og:description" content="A personal and small-business financial-accounting software, licensed under GNU/GPL and available for Linux, Windows, Mac OS X, BSD, and Solaris."/>
-<!--end of Open Graph properties-->
-
-<?php } ?>
-<link rel="stylesheet" href="<?=$home?>/externals/gnucash.css" type="text/css" />
-<link rel="icon" href="<?=$home?>/favicon.ico" type="image/x-icon" />
-<link rel="shortcut icon" href="<?=$home?>/favicon.ico" type="image/x-icon" />
-<link rel="apple-touch-icon-precomposed" href="<?=$home?>/images/icons/gnc-icon-129x129.png" />
-<?php
-include("$top_dir/externals/global_params.php");
-$current_page = array_key_exists('HTTP_HOST', $_SERVER) ? ($top_dir . "/" . basename($_SERVER["SCRIPT_NAME"])) : "";
-
-if (isset($homepage)) { ?>
-  <link rel="alternate" type="application/atom+xml" title="Atom Feed" href="<?=$home?>/atom.php" />
-<?php } ?>
-
-<!--This is the description shown on google+ profile for GnuCash-->
-<meta name="description" content="A personal and small-business financial-accounting software, licensed under GNU/GPL and available for Linux, Windows, Mac OS X, BSD, and Solaris." />
-
-<title><?= T_($title); ?> | GnuCash</title>
-<!--script for Google+1 button-->
-<script type="text/javascript">
-  (function() {
-    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
-    po.src = 'https://apis.google.com/js/plusone.js';
-    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
-  })();
-</script>
-</head>
-
-<body>
-
-<div id="head">
-
-<div id="branding">
-<p><img src="<?=$top_dir?>/images/gnucash-vert.png" alt="GnuCash" /></p>
-</div>
-
-<div id="googleplusone">
-
-<!--facebook like button-->
-<div style="padding:0 0 5px 0">
-<div id="fb-root"></div>
-<script type="text/javascript">(function(d, s, id) {
-  var js, fjs = d.getElementsByTagName(s)[0];
-  if (d.getElementById(id)) {return;}
-  js = d.createElement(s); js.id = id;
-  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
-  fjs.parentNode.insertBefore(js, fjs);
-}(document, 'script', 'facebook-jssdk'));</script>
-
-<div class="fb-like" data-href="https://www.gnucash.org" data-send="false" data-layout="box_count" data-width="60" data-show-faces="true" data-font="verdana"></div>
-</div>
-<!-- google +1 button-->
-<g:plusone size="tall" href="https://www.gnucash.org/"></g:plusone>
-</div>
-
-<!-- the icons on the top right-->
-<div style="float:right;">
-<ul id="navlist">
-  <li id="fb-icon"><a href="https://www.facebook.com/Gnucash" title="<?php echo T_($titlefb);?>"></a></li>
-  <li id="gplus-icon"><a href="https://plus.google.com/u/0/103666182558673867088/" title="<?php echo T_($titlegplus);?>"></a></li>
-  <li id="uservoice-icon"><a href="https://gnucash.uservoice.com/" title="<?php echo T_($titleuservoice);?>"></a></li>
-  <li id="donation-icon"><a href="https://gnucash.org/donate.phtml" title="<?php echo T_($titledonation);?>"></a></li>
-  <li id="rss-icon"><a href="<?=$home?>/atom.php" title="<?php echo T_($titleRSS);?>"></a></li>
-</ul>
-</div>
-
-<div style="margin: 0px 0px 0 0;">
-<a href="<?=$home?>/"><!--img src="<?=$home?>/externals/gnucash_logo1.png" alt="[GnuCash Logo]" id="gnclogo" width="179" height="45" border="0"/ -->
-<img alt="banner" src="<?=$home?>/images/banner5.png" /></a>
-<p style="font-style:italic; font-size:1.1em; margin: 0 0 0 10px; color: #08006d; text-shadow:0px 0px 9px white;"><?php echo T_("Free Accounting Software");?></p>
-</div>
-
-<span id="language">
-<?= T_("Language"); ?>:
-  <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "en_US"); ?>">English</a>
-| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "ca"); ?>">Català</a>
-| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "de_DE"); ?>">Deutsch</a>
-<!--| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "es_ES"); ?>">Español</a>-->
-| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "fr_FR"); ?>">Français</a>
-| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "it_IT"); ?>">Italiano</a>
-| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "ja_JP"); ?>">日本語</a>
-| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "hu_HU"); ?>">Magyar</a>
-| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "nl_NL"); ?>">Nederlands</a>
-<!--| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "nb_NO"); ?>">Norsk Bokmål</a>-->
-<!-- | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "pl_PL"); ?>">Polska</a> -->
-| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "pt_PT"); ?>">Português</a>
-| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "zh_CN"); ?>">简体中文</a>
-| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "zh_TW"); ?>">繁體中文</a>
-</span>
-<span id="location">  <!-- The mirrors currently not exist
- <?= _("Continent"); ?>:
- (<a class="nav" href="https://www.gnucash.org/">US</a>)
- (<a class="nav" href="http://www.at.gnucash.org/">EU</a>) 
- (<a class="nav" href="http://www.au.gnucash.org/">AU</a>) -->
-</span>
-</div>
+  <head>
+    <?php
+      if (!isset($can_utf)) { $can_utf = true; }
+      if ($can_utf)
+    { ?>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+
+    <!--meta properties for facebook Open Graph-->
+    <meta property="og:title" content="Free Accounting Software | GnuCash"/>
+    <meta property="og:type" content="website"/>
+    <meta property="og:url" content="https://www.gnucash.org/"/>
+    <meta property="og:image" content="https://www.gnucash.org/externals/logo_w120.png"/>
+    <meta property="og:site_name" content="GnuCash"/>
+    <meta property="og:description" content="A personal and small-business financial-accounting software, licensed under GNU/GPL and available for Linux, Windows, Mac OS X, BSD, and Solaris."/>
+    <!--end of Open Graph properties-->
+
+    <?php } ?>
+    <link rel="stylesheet" href="<?=$home?>/externals/gnucash.css" type="text/css" />
+    <link rel="icon" href="<?=$home?>/favicon.ico" type="image/x-icon" />
+    <link rel="shortcut icon" href="<?=$home?>/favicon.ico" type="image/x-icon" />
+    <link rel="apple-touch-icon-precomposed" href="<?=$home?>/images/icons/gnc-icon-129x129.png" />
+    <?php
+      include("$top_dir/externals/global_params.php");
+      $current_page = array_key_exists('HTTP_HOST', $_SERVER) ? ($top_dir . "/" . basename($_SERVER["SCRIPT_NAME"])) : "";
+      
+      if (isset($homepage)) { ?>
+        <link rel="alternate" type="application/atom+xml" title="Atom Feed" href="<?=$home?>/atom.php" />
+    <?php } ?>
+
+    <!--This is the description shown on google+ profile for GnuCash-->
+    <meta name="description" content="A personal and small-business financial-accounting software, licensed under GNU/GPL and available for Linux, Windows, Mac OS X, BSD, and Solaris." />
+
+    <title><?= T_($title); ?> | GnuCash</title>
+    <!--script for Google+1 button-->
+    <script type="text/javascript">
+      (function() {
+        var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
+        po.src = 'https://apis.google.com/js/plusone.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
+      })();
+    </script>
+  </head>
+
+  <body>
+
+    <div id="head">
+
+      <div id="branding">
+        <p><img src="<?=$top_dir?>/images/gnucash-vert.png" alt="GnuCash" /></p>
+      </div>
+  
+      <div id="googleplusone">
+  
+        <!--facebook like button-->
+        <div style="padding:0 0 5px 0">
+          <div id="fb-root"></div>
+          <script type="text/javascript">
+            (function(d, s, id) {
+              var js, fjs = d.getElementsByTagName(s)[0];
+              if (d.getElementById(id)) {return;}
+              js = d.createElement(s); js.id = id;
+              js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
+              fjs.parentNode.insertBefore(js, fjs);
+            }(document, 'script', 'facebook-jssdk'));
+          </script>
+          
+          <div class="fb-like" data-href="https://www.gnucash.org" data-send="false" data-layout="box_count" data-width="60" data-show-faces="true" data-font="verdana"></div>
+        </div> <!-- google +1 button-->
+  
+        <g:plusone size="tall" href="https://www.gnucash.org/"></g:plusone>
+      </div> <!-- googleplusone -->
+  
+      <!-- the icons on the top right-->
+      <div style="float:right;">
+        <ul id="navlist">
+          <li id="fb-icon"><a href="https://www.facebook.com/Gnucash" title="<?php echo T_($titlefb);?>"></a></li>
+          <li id="gplus-icon"><a href="https://plus.google.com/u/0/103666182558673867088/" title="<?php echo T_($titlegplus);?>"></a></li>
+          <li id="uservoice-icon"><a href="https://gnucash.uservoice.com/" title="<?php echo T_($titleuservoice);?>"></a></li>
+          <li id="donation-icon"><a href="https://gnucash.org/donate.phtml" title="<?php echo T_($titledonation);?>"></a></li>
+          <li id="rss-icon"><a href="<?=$home?>/atom.php" title="<?php echo T_($titleRSS);?>"></a></li>
+        </ul>
+      </div>
+      
+      <div style="margin: 0px 0px 0 0;">
+        <a href="<?=$home?>/"><!--img src="<?=$home?>/externals/gnucash_logo1.png" alt="[GnuCash Logo]" id="gnclogo" width="179" height="45" border="0"/ -->
+        <img alt="banner" src="<?=$home?>/images/banner5.png" /></a>
+        <p style="font-style:italic; font-size:1.1em; margin: 0 0 0 10px; color: #08006d; text-shadow:0px 0px 9px white;"><?php echo T_("Free Accounting Software");?></p>
+      </div>
+      
+      <span id="language">
+        <?= T_("Language"); ?>:
+          <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "en_US"); ?>">English</a>
+        | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "ca"); ?>">Català</a>
+        | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "de_DE"); ?>">Deutsch</a>
+        <!--| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "es_ES"); ?>">Español</a>-->
+        | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "fr_FR"); ?>">Français</a>
+        | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "it_IT"); ?>">Italiano</a>
+        | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "ja_JP"); ?>">日本語</a>
+        | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "hu_HU"); ?>">Magyar</a>
+        | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "nl_NL"); ?>">Nederlands</a>
+        <!--| <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "nb_NO"); ?>">Norsk Bokmål</a>-->
+        <!-- | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "pl_PL"); ?>">Polska</a> -->
+        | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "pt_PT"); ?>">Português</a>
+        | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "zh_CN"); ?>">简体中文</a>
+        | <a class="nav" href="<?= make_lang_href($current_page, $get_parms, "zh_TW"); ?>">繁體中文</a>
+      </span> <!-- language -->
+      <span id="location">  <!-- The mirrors currently not exist
+         <?= _("Continent"); ?>:
+         (<a class="nav" href="https://www.gnucash.org/">US</a>)
+         (<a class="nav" href="http://www.at.gnucash.org/">EU</a>) 
+         (<a class="nav" href="http://www.au.gnucash.org/">AU</a>) -->
+      </span> <!-- Continent -->
+    </div> <!-- head -->
diff --git a/externals/menu.phtml b/externals/menu.phtml
index 0e4bfc8..e1c81d1 100644
--- a/externals/menu.phtml
+++ b/externals/menu.phtml
@@ -8,7 +8,10 @@
       <ul>
         <li><a href="<?=$home?>/index.phtml"><?= T_("Home")?></a></li>
         <li><a href="<?=$home?>/news.phtml"><?= T_("News")?></a></li>    
-    <!--RSS atom feed link is on the top-right of the page   <li><a href="<?=$home?>/atom.php"><img src="<?=$home?>/images/icons/feed-icon-12x12.png" width="12" height="12" alt="[atom feed]" /> <?= T_("News Feed")?></a></li>-->
+        <!--RSS atom feed link is on the top-right of the page
+          <li><a href="<?=$home?>/atom.php">
+            <img src="<?=$home?>/images/icons/feed-icon-12x12.png" width="12" height="12" alt="[atom feed]" /> <?= T_("News Feed")?></a></li>
+        -->
         <li><a href="<?=$home?>/features.phtml"><?=T_("Screenshots, Features")?></a></li>
         <li><a href="https://wiki.gnucash.org/wiki/Installation"><?=T_("Installation")?></a></li>
         <li><a href="https://wiki.gnucash.org/wiki/Getting_Help"><?= T_("Getting help")?></a></li>
diff --git a/index.phtml b/index.phtml
index 983c2db..55961b3 100644
--- a/index.phtml
+++ b/index.phtml
@@ -1,83 +1,81 @@
 <?php 
-$homepage = true;
-include("emulate_globals_on.php");
-include("lang.php");
-$title = T_("Free Accounting Software");
-include("externals/header.phtml");
-include("externals/menu.phtml"); 
+  $homepage = true;
+  include("emulate_globals_on.php");
+  include("lang.php");
+  $title = T_("Free Accounting Software");
+  include("externals/header.phtml");
+  include("externals/menu.phtml"); 
 ?>
 
 <div id="content">
 
-<h1><?php echo T_("Welcome to GnuCash.org")?></h1>
+  <h1><?php echo T_("Welcome to GnuCash.org")?></h1>
 
-<div style="width:100%;float:left">
+  <div style="width:100%;float:left">
 
-<div class="download">
- <div style="float:left;">
-  <h2 id="dwnld-box"><?php printf (T_("Download GnuCash %s"), $latest_stable)?></h2>
-  <h3><a style="margin-left:10px" href="2.6-release-tour.phtml"><em><?php echo T_("GnuCash 2.6 release tour")?></em></a></h3>
+    <div class="download">
+      <div style="float:left;">
+        <h2 id="dwnld-box"><?php printf (T_("Download GnuCash %s"), $latest_stable)?></h2>
+        <h3><a style="margin-left:10px" href="2.6-release-tour.phtml"><em><?php echo T_("GnuCash 2.6 release tour")?></em></a></h3>
 
-  <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><a href="<?=$home?>/download.phtml" style="font-size: 80%;"><?=T_("More downloads (Source, Development,...)")?></a></li>
-  </ul>
- </div>
+        <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><a href="<?=$home?>/download.phtml" style="font-size: 80%;"><?=T_("More downloads (Source, Development,...)")?></a></li>
+        </ul>
+      </div>
 
- <div class="downloadimage">
-  <img alt="download" src="<?=$top_dir;?>/images/gnc-download.png" />
- </div>
+      <div class="downloadimage">
+        <img alt="download" src="<?=$top_dir;?>/images/gnc-download.png" />
+      </div>
 
- <div style="float:left;">
-  <p><?php echo T_("Version 2.6.20 is the last version for Windows XP/Vista and MacOS X 10.8 and earlier, and so the last version that will run on PowerPC Macs.");?></p>
- </div>
-</div>
+      <div style="float:left;">
+        <p><?php echo T_("Version 2.6.20 is the last version for Windows XP/Vista and MacOS X 10.8 and earlier, and so the last version that will run on PowerPC Macs.");?></p>
+      </div>
+    </div>
 
-<p class="justify"><?php echo T_("<span class=\"gnucash\">GnuCash</span> is personal and small-business financial-accounting software, freely licensed under the <a href=\"https://www.gnu.org/\">GNU</a> GPL and available for GNU/Linux, BSD, Solaris, Mac OS X and Microsoft Windows.");?></p>
+    <p class="justify"><?php echo T_("<span class=\"gnucash\">GnuCash</span> is personal and small-business financial-accounting software, freely licensed under the <a href=\"https://www.gnu.org/\">GNU</a> GPL and available for GNU/Linux, BSD, Solaris, Mac OS X and Microsoft Windows.");?></p>
 
-<p class="justify"><?php echo T_("Designed to be easy to use, yet powerful and flexible, <span class=\"gnucash\">GnuCash</span> allows you to track bank accounts, stocks, income and expenses.  As quick and intuitive to use as a checkbook register, it is based on professional accounting principles to ensure balanced books and accurate reports. "); ?></p>
-</div>
-
-<!--Start of Need help section -->
-<div style="float:right">
-  <div class="dialog note">
-  <h1><?php echo T_("Need Help?");?></h1>
-    <p class="justify"><?php echo T_("Looking for someone to contact about <span class=\"gnucash\">GnuCash</span>? Try the");?> <a href="https://wiki.gnucash.org/wiki/Mailing_Lists"><?php echo T_("Mailing Lists");?></a><?php echo T_(", which are public, email-based discussion groups where you can ask and answer <span class=\"gnucash\">GnuCash</span> questions to other users.");?></p>
+    <p class="justify"><?php echo T_("Designed to be easy to use, yet powerful and flexible, <span class=\"gnucash\">GnuCash</span> allows you to track bank accounts, stocks, income and expenses.  As quick and intuitive to use as a checkbook register, it is based on professional accounting principles to ensure balanced books and accurate reports. "); ?></p>
   </div>
-</div>
-<!-- end of Need Help section --> 
 
-<div style="width:100%">
-<h2 style="margin-bottom:1px; margin-top:0px"><?php echo T_("Feature Highlights"); ?></h2>
-</div>
+  <!--Start of Need help section -->
+  <div style="float:right">
+    <div class="dialog note">
+      <h1><?php echo T_("Need Help?");?></h1>
+      <p class="justify"><?php echo T_("Looking for someone to contact about <span class=\"gnucash\">GnuCash</span>? Try the");?> <a href="https://wiki.gnucash.org/wiki/Mailing_Lists"><?php echo T_("Mailing Lists");?></a><?php echo T_(", which are public, email-based discussion groups where you can ask and answer <span class=\"gnucash\">GnuCash</span> questions to other users.");?></p>
+    </div>
+  </div> <!-- end of Need Help section --> 
+  
+  <div style="width:100%">
+    <h2 style="margin-bottom:1px; margin-top:0px"><?php echo T_("Feature Highlights"); ?></h2>
+  </div>
 
-<div id="mainfeature">
-<ul>
-<li><?php echo T_("Double-Entry Accounting");?></li>
-<li><?php echo T_("Stock/Bond/Mutual Fund Accounts");?></li>
-<li><?php echo T_("Small-Business Accounting");?></li>
-<li><?php echo T_("Reports, Graphs");?></li>
-<li><?php echo T_("QIF/OFX/HBCI Import, Transaction Matching");?></li>
-<li><?php echo T_("Scheduled Transactions");?></li>
-<li><?php echo T_("Financial Calculations"); ?></li>
-</ul>
-<a href="<?=$home?>/features.phtml"><?php echo T_("<b>Discover more...</b>");?></a>
-</div>
+  <div id="mainfeature">
+    <ul>
+      <li><?php echo T_("Double-Entry Accounting");?></li>
+      <li><?php echo T_("Stock/Bond/Mutual Fund Accounts");?></li>
+      <li><?php echo T_("Small-Business Accounting");?></li>
+      <li><?php echo T_("Reports, Graphs");?></li>
+      <li><?php echo T_("QIF/OFX/HBCI Import, Transaction Matching");?></li>
+      <li><?php echo T_("Scheduled Transactions");?></li>
+      <li><?php echo T_("Financial Calculations"); ?></li>
+    </ul>
+    <a href="<?=$home?>/features.phtml"><?php echo T_("<b>Discover more...</b>");?></a>
+  </div> <!-- mainfeature -->
 
-<!-- Android app info -->
-<div class="download" style="margin-top:2em">
-<h3 style="margin-bottom:1px; margin-top:0px">GnuCash for Android</h3>
-  <div style="width:172px; height:100%; float:right; margin-left:15px; margin-right:15px">
-  <a href="https://play.google.com/store/apps/details?id=org.gnucash.android" target="_blank">
-    <img alt="Get it on Google Play" src="https://developer.android.com/images/brand/en_generic_rgb_wo_60.png" />
-  </a>
-  <p style="text-align:center"><a href="https://github.com/codinguser/gnucash-android/blob/master/README.md" target="_blank"><?php echo T_("Info and development");?></a></p>
-  </div>
-  <p><?php echo T_("The GnuCash team recommends the GnuCash for Android app. This app allows you to keep track of your financial transactions on the go for later import into the desktop version of GnuCash.");?></p>
-  <p><i><b><?php echo T_("Note that GnuCash for Android is not a port of the GnuCash program to Android.");?></b></i></p>
-</div>
-<!-- end Android app info -->
+  <!-- Android app info -->
+  <div class="download" style="margin-top:2em">
+  <h3 style="margin-bottom:1px; margin-top:0px">GnuCash for Android</h3>
+    <div style="width:172px; height:100%; float:right; margin-left:15px; margin-right:15px">
+      <a href="https://play.google.com/store/apps/details?id=org.gnucash.android" target="_blank">
+        <img alt="Get it on Google Play" src="https://developer.android.com/images/brand/en_generic_rgb_wo_60.png" />
+      </a>
+      <p style="text-align:center"><a href="https://github.com/codinguser/gnucash-android/blob/master/README.md" target="_blank"><?php echo T_("Info and development");?></a></p>
+    </div>
+    <p><?php echo T_("The GnuCash team recommends the GnuCash for Android app. This app allows you to keep track of your financial transactions on the go for later import into the desktop version of GnuCash.");?></p>
+    <p><i><b><?php echo T_("Note that GnuCash for Android is not a port of the GnuCash program to Android.");?></b></i></p>
+  </div> <!-- end Android app info -->
 
 <?php include("externals/footer.phtml"); ?>



Summary of changes:
 externals/footer.phtml |  27 ++---
 externals/header.phtml | 264 +++++++++++++++++++++++++------------------------
 externals/menu.phtml   |   5 +-
 index.phtml            | 128 ++++++++++++------------
 4 files changed, 215 insertions(+), 209 deletions(-)



More information about the gnucash-changes mailing list