cvs: pearweb /public_html account-info.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sat, 05 Apr 2008 23:21:35 +0000 |
| Subject: | cvs: pearweb /public_html account-info.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-7441@lists.php.net to get a copy of this message | ||
dufuz Sat Apr 5 23:21:35 2008 UTC
Modified files:
/pearweb/public_html account-info.php
Log:
Kill a useless if else in menu loop
http://cvs.php.net/viewvc.cgi/pearweb/public_html/account-info.php?r1=1.64&r2=1.65&diff_format=u
Index: pearweb/public_html/account-info.php
diff -u pearweb/public_html/account-info.php:1.64 pearweb/public_html/account-info.php:1.65
--- pearweb/public_html/account-info.php:1.64 Sat Mar 22 15:37:23 2008
+++ pearweb/public_html/account-info.php Sat Apr 5 23:21:35 2008
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: account-info.php,v 1.64 2008/03/22 15:37:23 mj Exp $
+ $Id: account-info.php,v 1.65 2008/04/05 23:21:35 dufuz Exp $
*/
@@ -88,12 +88,7 @@
echo '<div id="nav">';
foreach ($nav_items as $title => $item) {
- if (!empty($item['url']) && $item['url']{0} == '/') {
- $url = $item['url'];
- } else {
- $url = '/package/' . $name . '/' . $item['url'];
- }
- echo '<a href="' . $url . '"'
+ echo '<a href="' . $item['url'] . '"'
. ' title="' . $item['title'] . '"> '
. $title
. '</a>';
@@ -156,7 +151,7 @@
if ($row['homepage']) {
echo ' <li>Homepage: <span class="url">';
- echo make_link(htmlspecialchars($row['homepage']), '', '',
'rel="me"');
+ echo make_link(htmlspecialchars($row['homepage']), '', '',
'rel="nofollow me"');
echo "</span></li>\n";
}