nlopess Tue Feb 15 08:27:53 2005 EDT
Modified files:
/phpdoc/scripts xml_proto.php
Log:
fix example title
http://cvs.php.net/diff.php/phpdoc/scripts/xml_proto.php?r1=1.22&r2=1.23&ty=u
Index: phpdoc/scripts/xml_proto.php
diff -u phpdoc/scripts/xml_proto.php:1.22 phpdoc/scripts/xml_proto.php:1.23
--- phpdoc/scripts/xml_proto.php:1.22 Tue Jan 25 11:39:48 2005
+++ phpdoc/scripts/xml_proto.php Tue Feb 15 08:27:53 2005
@@ -16,7 +16,7 @@
| Authors: Brad House <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: xml_proto.php,v 1.22 2005/01/25 16:39:48 didou Exp $
+ $Id: xml_proto.php,v 1.23 2005/02/15 13:27:53 nlopess Exp $
*/
/*
@@ -139,7 +139,7 @@
}
fwrite($fp, '<?xml version="1.0" encoding="iso-8859-1"?>'."\n" .
- '<!-- $Revision: 1.22 $ -->'."\n" .
+ '<!-- $Revision: 1.23 $ -->'."\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" .
@@ -224,7 +224,7 @@
$functype = trim($funclist[$i]["function_type"]);
fwrite($fp, '<?xml version="1.0" encoding="iso-8859-1"?>'."\n" .
- '<!-- $Revision: 1.22 $ -->'."\n" .
+ '<!-- $Revision: 1.23 $ -->'."\n" .
"<!-- Generated by xml_proto.php v" . $version . ". Found in
/scripts directory of phpdoc. -->\n" .
"<refentry id=\"function." . $fixname . "\">\n" .
" <refnamediv>\n" .
@@ -329,7 +329,7 @@
" &reftitle.examples;\n" .
" <para>\n" .
" <example>\n" .
- " <title><function>A " . $fixname . " example</title>\n" .
+ " <title>A <function>$funcname</function> example</title>\n" .
" <para>\n" .
" Any text that describes the purpose of the example, or\n" .
" what goes on in the example should go here (inside the\n" .