cvs: pearweb /public_html faq.php
| From: | Martin Jansen | Date: | Sat, 01 Sep 2001 13:57:06 +0000 |
| Subject: | cvs: pearweb /public_html faq.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-727@lists.php.net to get a copy of this message | ||
mj Sat Sep 1 09:57:06 2001 EDT
Modified files:
/pearweb/public_html faq.php
Log:
* added support for <faqlink>
Index: pearweb/public_html/faq.php
diff -u pearweb/public_html/faq.php:1.3 pearweb/public_html/faq.php:1.4
--- pearweb/public_html/faq.php:1.3 Sat Sep 1 06:26:34 2001
+++ pearweb/public_html/faq.php Sat Sep 1 09:57:06 2001
@@ -3,7 +3,7 @@
echo "<h1>PEAR Frequently Asked Questions</h1>";
-$ID = 0;
+$ID = 1;
function startElement($parser, $elementName, $elementAttributes)
{
@@ -60,6 +60,10 @@
}
break;
+ case "faqlink" :
+ echo "<a
href=\"faq.php#faq-".$elementAttributes['FAQ']."\">";
+ break;
+
case "author" :
if ($elementAttributes['NAME'] != "") {
echo "<b>Answer written by
".$elementAttributes['NAME'].".";
@@ -120,6 +124,7 @@
break;
case "ulink" :
+ case "faqlink" :
echo "</a>";
break;