/
index.phtml
103 lines (86 loc) · 4.97 KB
/
index.phtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
$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>
<div style="width:100%;float:left">
<div id="download">
<div style="float:left;">
<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_win;?>">XP/Vista/7/8</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>
<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=\"http://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="http://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>
<!-- Android app info -->
<div id="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="http://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 -->
<div id="newscontainer">
<h1><?php echo T_("News"); ?></h1>
<?php
echo("<!-- top_dir = $top_dir , home = $home -->\n");
# News will continue to be translated separately because
# of the .txt format.
# for english, the lang and en news path are identical
$en_newspath = $top_dir."/news";
$lang_newspath = $top_dir."/news/".$lang_dir;
$oldnews = false;
include("$top_dir/news/news-script.php");
emit_news($en_newspath, $lang_newspath, $oldnews);
?>
<div class="newsborder">
<div class="newsheader"><img alt="news panel" src="<?=$top_dir;?>/images/icons/document.txt.gif" />
<a href="oldnews.phtml"><?php echo T_("Older Announcements ...");?></a>
</div><div class="newsinner">
<?php echo T_("Click <a href=\"oldnews.phtml\">here</a> for older announcements...");?>
</div></div>
</div>
</div>
<?php include("externals/footer.phtml"); ?>