[Gnucash-changes] r12893 - htdocs/trunk/php-scripts - typo and use relative image link

Neil Williams codehelp at cvs.gnucash.org
Thu Jan 19 12:10:41 EST 2006


Author: codehelp
Date: 2006-01-19 12:10:40 -0500 (Thu, 19 Jan 2006)
New Revision: 12893
Trac: http://svn.gnucash.org/trac/changeset/12893

Modified:
   htdocs/trunk/php-scripts/news-script.php
Log:
typo and use relative image link

Modified: htdocs/trunk/php-scripts/news-script.php
===================================================================
--- htdocs/trunk/php-scripts/news-script.php	2006-01-19 17:10:03 UTC (rev 12892)
+++ htdocs/trunk/php-scripts/news-script.php	2006-01-19 17:10:40 UTC (rev 12893)
@@ -13,7 +13,7 @@
     //  change  this  to  the  directory  of  your  news  files
     //  they  should  be  plain  ASCII  text  files  with  extension  ".txt"
 
-    # Be sure to define the following patch to newsdirs
+    # Be sure to define the following path to newsdirs
     if (!$native_newspath) { $native_newspath  =  "news/";  }
     if (!$alt_newspath) { $alt_newspath =  "../news/";  }
 
@@ -73,7 +73,7 @@
         $n=count($fa);
 
         echo ("<div class=\"news1\">");
-        echo("<img alt=\"\" src=\"/images/icons/document.txt.gif\">&nbsp;");
+        echo("<img alt=\"\" src=\"$topdir/images/icons/document.txt.gif\">&nbsp;");
 	print $fa[0];
 	print  " - <b>(".date( "Y-m-d",$newsfile[$key]);
 	print  "&nbsp; &nbsp;".date( "H:i:s",$newsfile[$key]). ")</b>\n";



More information about the gnucash-changes mailing list