cvs: pearweb /public_html/qa packages_orphan.php
| From: | Arnaud Limbourg | Date: | Sun, 20 Nov 2005 20:30:51 +0000 |
| Subject: | cvs: pearweb /public_html/qa packages_orphan.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-36409@lists.php.net to get a copy of this message | ||
arnaud Sun Nov 20 15:30:51 2005 EDT
Modified files:
/pearweb/public_html/qa packages_orphan.php
Log:
misused variable
added a text list to add in a text file
http://cvs.php.net/diff.php/pearweb/public_html/qa/packages_orphan.php?r1=1.1&r2=1.2&ty=u
Index: pearweb/public_html/qa/packages_orphan.php
diff -u pearweb/public_html/qa/packages_orphan.php:1.1
pearweb/public_html/qa/packages_orphan.php:1.2
--- pearweb/public_html/qa/packages_orphan.php:1.1 Sun Nov 20 15:22:06 2005
+++ pearweb/public_html/qa/packages_orphan.php Sun Nov 20 15:30:48 2005
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: Arnaud Limbourg <arnaud@limbourg.com> |
+----------------------------------------------------------------------+
- $Id: packages_orphan.php,v 1.1 2005/11/20 20:22:06 arnaud Exp $
+ $Id: packages_orphan.php,v 1.2 2005/11/20 20:30:48 arnaud Exp $
*/
/**
@@ -33,15 +33,21 @@
echo "<h3>List of orphan packages</h3>\n";
+$text_mode = '';
+
echo "<ul>\n";
foreach ($packages as $pck => $info) {
$link = make_link('/package/' . $info['name'],
- $package, '', 'title="' . $info['name'] .
'"');
+ $info['name'], '', 'title="' . $info['name'] .
'"');
echo '<li>' . $link . "</li>\n";
+ $text_mode .= $info['name'] . "\n";
}
echo "</ul>\n";
+// output the list as plain text. This will be added to a text
+// file so people can browse the list
+echo "<pre>" . $text_mode . "</pre>";
response_footer();
?>