|
cvs: pearweb /public_html index.php: msg#00061php.pear.core
cellog Thu Oct 19 02:24:06 2006 UTC Modified files: /pearweb/public_html index.php Log: wordwrap long package names at 25 characters, otherwise we mess up right-side formatting http://cvs.php.net/viewvc.cgi/pearweb/public_html/index.php?r1=1.119&r2=1.120&diff_format=u Index: pearweb/public_html/index.php diff -u pearweb/public_html/index.php:1.119 pearweb/public_html/index.php:1.120 --- pearweb/public_html/index.php:1.119 Wed Oct 18 17:23:17 2006 +++ pearweb/public_html/index.php Thu Oct 19 02:24:06 2006 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@xxxxxxx> | +----------------------------------------------------------------------+ - $Id: index.php,v 1.119 2006/10/18 17:23:17 cellog Exp $ + $Id: index.php,v 1.120 2006/10/19 02:24:06 cellog Exp $ */ $recent = release::getRecent(5); @@ -30,7 +30,7 @@ } $RSIDEBAR_DATA .= "<tr><td valign=\"top\" class=\"compact\">"; $RSIDEBAR_DATA .= "<a href=\"/package/" . $release['name'] . "/\">"; - $RSIDEBAR_DATA .= $release['name'] . ' ' . + $RSIDEBAR_DATA .= wordwrap($release['name'],25,"\n",1) . ' ' . $release['version'] . '</a><br /> <small>(' . $releasedate . ')</small></td></tr>'; } @@ -46,7 +46,7 @@ foreach ($popular as $package) { $RSIDEBAR_DATA .= "<tr><td valign=\"top\" class=\"compact\">"; $RSIDEBAR_DATA .= "<a href=\"/package/" . $package['name'] . "/\">"; - $RSIDEBAR_DATA .= $package['name'] . ' ' . $package['version'] . '</a><br /> <small>(' . + $RSIDEBAR_DATA .= wordwrap($package['name'],25,"\n",1) . ' ' . $package['version'] . '</a><br /> <small>(' . $package['d'] . ')</small></td></tr>'; } $feed_link = '<a href="/feeds/" title="Information about XML feeds for the PEAR website"><img src="/gifs/feed.png" width="16" height="16" alt="" border="0" /></a>'; -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: pearweb /include pear-database.php /include/Damblan Trackback.php /public_html/trackback trackback.php: 00061, Greg Beaver |
|---|---|
| Next by Date: | cvs: pearweb /include pear-database.php: 00061, Greg Beaver |
| Previous by Thread: | cvs: pearweb /include pear-database.php /include/Damblan Trackback.php /public_html/trackback trackback.phpi: 00061, Greg Beaver |
| Next by Thread: | cvs: pearweb /sql deps.sql pearweb_mdb2schema.xml: 00061, Greg Beaver |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |