[Gnucash-changes] r12934 - htdocs/trunk - locate new news files
Neil Williams
codehelp at cvs.gnucash.org
Sun Jan 22 05:54:32 EST 2006
Author: codehelp
Date: 2006-01-22 05:54:31 -0500 (Sun, 22 Jan 2006)
New Revision: 12934
Trac: http://svn.gnucash.org/trac/changeset/12934
Modified:
htdocs/trunk/en/index.phtml
htdocs/trunk/fr/index.phtml
htdocs/trunk/nl/index.phtml
htdocs/trunk/pt_PT/index.phtml
Log:
locate new news files
Modified: htdocs/trunk/en/index.phtml
===================================================================
--- htdocs/trunk/en/index.phtml 2006-01-22 10:43:42 UTC (rev 12933)
+++ htdocs/trunk/en/index.phtml 2006-01-22 10:54:31 UTC (rev 12934)
@@ -36,10 +36,10 @@
<h1>News</h1>
<?php
- # for english, the native and alt news path are identical
- $native_newspath = "news/";
- $alt_newspath = "news/";
- include($toppath."/php-scripts/news-script.php"); ?>
+ # for english, the lang and en news path are identical
+ $en_newspath = $toppath."news/en/";
+ $lang_newspath = $toppath."news/en/";
+ include($toppath."/news/news-script.php"); ?>
</div>
Modified: htdocs/trunk/fr/index.phtml
===================================================================
--- htdocs/trunk/fr/index.phtml 2006-01-22 10:43:42 UTC (rev 12933)
+++ htdocs/trunk/fr/index.phtml 2006-01-22 10:54:31 UTC (rev 12934)
@@ -48,7 +48,11 @@
<h1>Actualités</h1>
-<?php include($GLOBALS['DOCUMENT_ROOT']."/php-scripts/news-script.php"); ?>
+<?php
+$lang_newspath = $toppath . "/news/fr/";
+$en_newspath = $toppath . "/news/en/";
+include($toppath."/news/news-script.php");
+?>
<font size=-2>
<a href="/surf/guppi-pie-demo.html">test</a>
@@ -59,4 +63,4 @@
</td>
-<?php include($GLOBALS['DOCUMENT_ROOT']."/fr/components/footer.phtml"); ?>
+<?php include($toppath."/fr/components/footer.phtml"); ?>
Modified: htdocs/trunk/nl/index.phtml
===================================================================
--- htdocs/trunk/nl/index.phtml 2006-01-22 10:43:42 UTC (rev 12933)
+++ htdocs/trunk/nl/index.phtml 2006-01-22 10:54:31 UTC (rev 12934)
@@ -27,7 +27,10 @@
-<?php include($GLOBALS['DOCUMENT_ROOT']."/php-scripts/news-script.php"); ?>
+<?php
+$en_newspath = $toppath . "/news/en/";
+$lang_newspath = $toppath . "/news/nl/";
+include($toppath."/news/news-script.php"); ?>
<font size=-2>
<a href="/surf/guppi-pie-demo.html">test</a>
Modified: htdocs/trunk/pt_PT/index.phtml
===================================================================
--- htdocs/trunk/pt_PT/index.phtml 2006-01-22 10:43:42 UTC (rev 12933)
+++ htdocs/trunk/pt_PT/index.phtml 2006-01-22 10:54:31 UTC (rev 12934)
@@ -1,10 +1,10 @@
-<?php $title = "Principal"; ?>
+<?php $title = "Principal"; ?>
<?php if (!ini_get('register_globals')) {
include("../emulate_globals_on.php");
}
?>
-<?php include($GLOBALS['DOCUMENT_ROOT']."/pt_PT/components/header.phtml"); ?>
-<?php include($GLOBALS['DOCUMENT_ROOT']."/pt_PT/menu/menu-main.phtml"); ?>
+<?php include($toppath."/pt_PT/components/header.phtml"); ?>
+<?php include($toppath."/pt_PT/menu/menu-main.phtml"); ?>
</td>
<td valign=top width=98%>
@@ -33,9 +33,12 @@
-<?php include ($GLOBALS['DOCUMENT_ROOT']."/php-scripts/news-script.php"); ?>
-
-<font size=-2>
+<?php
+$en_newspath = $toppath . "/news/en/";
+$lang_newspath = $toppath . "/news/pt_PT/";
+include ($toppath."/news/news-script.php"); ?>
+
+<font size=-2>
<a href="/surf/guppi-pie-demo.html">teste</a>
<a href="/surf/short.gml">teste2</a>
<a href="/surf/demo.gml">teste3</a>
More information about the gnucash-changes
mailing list