r21960 - htdocs/branches/beta - More debug and fixlink to docs.

Cristian Marchi cmarchi at code.gnucash.org
Sun Feb 5 03:23:19 EST 2012


Author: cmarchi
Date: 2012-02-05 03:23:19 -0500 (Sun, 05 Feb 2012)
New Revision: 21960
Trac: http://svn.gnucash.org/trac/changeset/21960

Modified:
   htdocs/branches/beta/docs.phtml
Log:
More debug and fixlink to docs.

Modified: htdocs/branches/beta/docs.phtml
===================================================================
--- htdocs/branches/beta/docs.phtml	2012-02-05 08:18:54 UTC (rev 21959)
+++ htdocs/branches/beta/docs.phtml	2012-02-05 08:23:19 UTC (rev 21960)
@@ -9,12 +9,14 @@
 include("externals/header.phtml");
 include("externals/menu.phtml");
 $basepath = "http://gnucash.org/docs/v2.4/";
-$helpfile = "gnucash-help.pdf";
-$tcfile   = "gnucash-guide.pdf";
+$helpfile = "help.html";
+$tcfile   = "index.html";
 $langpath = 'C';
-$l_arg = parse_url($_SERVER['REQUEST_URI']);
+$l_argarray = parse_url($_SERVER['REQUEST_URI']);
+$l_arg = $l_argarray[query];
+print_r($l_argarray);
 print_r($l_arg);
-if (is_null($l_arg[query])) { $l_arg = $_COOKIE['lang_cookie']; }
+if (is_null($l_arg)) { $l_arg = $_COOKIE['lang_cookie']; }
 echo $l_arg;
 if ($l_arg[query]) { /* There is a language argument */
   switch ($l_arg[query]) {



More information about the gnucash-changes mailing list