cvs: pearweb /public_html package-info.php
| From: | Tobias Schlitt | Date: | Wed, 19 Jan 2005 21:24:39 +0000 |
| Subject: | cvs: pearweb /public_html package-info.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-28692@lists.php.net to get a copy of this message | ||
toby Wed Jan 19 16:24:39 2005 EDT
Modified files:
/pearweb/public_html package-info.php
Log:
* Added empty-notice.
http://cvs.php.net/diff.php/pearweb/public_html/package-info.php?r1=1.89&r2=1.90&ty=u
Index: pearweb/public_html/package-info.php
diff -u pearweb/public_html/package-info.php:1.89 pearweb/public_html/package-info.php:1.90
--- pearweb/public_html/package-info.php:1.89 Wed Jan 19 16:16:56 2005
+++ pearweb/public_html/package-info.php Wed Jan 19 16:24:39 2005
@@ -16,7 +16,7 @@
| Authors: Martin Jansen <mj@php.net> |
| Tomas V.V.Cox <cox@idecnet.com> |
+----------------------------------------------------------------------+
- $Id: package-info.php,v 1.89 2005/01/19 21:16:56 toby Exp $
+ $Id: package-info.php,v 1.90 2005/01/19 21:24:39 toby Exp $
*/
require_once 'Damblan/Trackback.php';
@@ -421,7 +421,11 @@
if ($trackbackIsAdmin) {
print '<div class="explain">You may manipulate the trackbacks of this
package. In contrast to normal users, you see approved and pending trackbacks </div>';
}
-
+
+ if (count($trackbacks) == 0) {
+ print '<p>Sorry, there are no trackbacks for this package, yet.</p>';
+ }
+
print '<table border="0" cellspacing="0" cellpadding="2"
style="width: 100%">';
foreach ($trackbacks as $trackback) {
print '<tr>';