[grisbi-cvs] grisbi-web xml.php,1.11,1.12

NIEL GĂ©rald gegeweb at users.sourceforge.net
Mon May 31 22:56:10 CEST 2010


Update of /cvsroot/grisbi/grisbi-web
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv29099

Modified Files:
	xml.php 
Log Message:

typo

Index: xml.php
===================================================================
RCS file: /cvsroot/grisbi/grisbi-web/xml.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- xml.php	31 May 2010 19:58:59 -0000	1.11
+++ xml.php	31 May 2010 20:56:08 -0000	1.12
@@ -11,7 +11,7 @@
 else $xsl_file=$xml_file;
 
 if (isset($_GET["ext"])) $ext=$_GET["ext"];
-else $ext=".html";
+else $ext="html";
 
 // on construit les variables fichiers
 $path=$xml_file;
@@ -56,7 +56,7 @@
 	// transform the XML into HTML using the XSL file
 	if ($result = $xp->transformToXML($xml_doc)) {
 		$result=str_replace("<ul/>","",$result);
-		$result=str_replace("<php>","<?php",$result);
+		$result=str_replace("<php>","<?",$result);
 		$result=str_replace("</php>","?>",$result);
     	echo $result;
 	} else { // si erreur transformation XML



More information about the cvs mailing list