forked from Gnucash/gnucash-htdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oldnews.phtml
27 lines (24 loc) · 814 Bytes
/
oldnews.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
<?php
include("lang.php");
$title = T_("Older Announcements");
$description = T_("This is an archive of announcements that once appeared on the GnuCash home page.");
$page = basename($_SERVER['SCRIPT_NAME']);
include("externals/header.phtml");
include("externals/menu.phtml");
?>
<div id="content">
<h1><?=$title?></h1>
<p><?=$description?></p>
<?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 = true;
include("$top_dir/news/news-script.php");
emit_news($en_newspath, $lang_newspath, $oldnews);
?>
</div>
<?php include("externals/footer.phtml"); ?>