didou Tue Jan 25 11:18:27 2005 EDT
Modified files: /phpdoc/scripts xml_proto.php Log: Fix entities reference (missing ;) and fix the output for functions without parameters http://cvs.php.net/diff.php/phpdoc/scripts/xml_proto.php?r1=1.20&r2=1.21&ty=u Index: phpdoc/scripts/xml_proto.php diff -u phpdoc/scripts/xml_proto.php:1.20 phpdoc/scripts/xml_proto.php:1.21 --- phpdoc/scripts/xml_proto.php:1.20 Sat Jan 8 06:46:12 2005 +++ phpdoc/scripts/xml_proto.php Tue Jan 25 11:18:26 2005 @@ -16,7 +16,7 @@ | Authors: Brad House <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: xml_proto.php,v 1.20 2005/01/08 11:46:12 nlopess Exp $ + $Id: xml_proto.php,v 1.21 2005/01/25 16:18:26 didou Exp $ */ /* @@ -139,7 +139,7 @@ } fwrite($fp, '<?xml version="1.0" encoding="iso-8859-1"?>'."\n" . - '<!-- $Revision: 1.20 $ -->'."\n" . + '<!-- $Revision: 1.21 $ -->'."\n" . "<!-- Generated by xml_proto.php v" . $version . ". Found in /scripts directory of phpdoc. -->\n" . "<reference id=\"ref." . $extension_name . "\">\n" . " <title>$extension_name Functions</title>\n" . @@ -160,9 +160,9 @@ " </para>\n" . " </section>\n\n" . " <!-- Information found in configure.xml -->\n" . - " &reference.".$extension_name.".configure\n" . + " &reference.".$extension_name.".configure;\n" . " <!-- Information found in ini.xml -->\n" . - " &reference.".$extension_name.".ini\n\n" . + " &reference.".$extension_name.".ini;\n\n" . " <section id=\"" . $extension_name . ".resources\">\n" . " &reftitle.resources;\n" . " <para>\n" . @@ -222,7 +222,7 @@ $functype = trim($funclist[$i]["function_type"]); fwrite($fp, '<?xml version="1.0" encoding="iso-8859-1"?>'."\n" . - '<!-- $Revision: 1.20 $ -->'."\n" . + '<!-- $Revision: 1.21 $ -->'."\n" . "<!-- Generated by xml_proto.php v" . $version . ". Found in /scripts directory of phpdoc. -->\n" . "<refentry id=\"function." . $fixname . "\">\n" . " <refnamediv>\n" . @@ -273,9 +273,10 @@ " </listitem>\n" . " </varlistentry>\n"; } - $tmp .= " </variablelist>\n </para>\n </refsect1>\n"; + $tmp .= " </variablelist>\n"; fwrite($fp, $tmp); } + fwrite ($fp, " </para>\n </refsect1>\n"); fwrite($fp, " <refsect1 role=\"returnvalues\">\n" . " &reftitle.returnvalues;\n" .