cvs: pearweb /include pear-format-html.php
| From: | Stig Bakken | Date: | Mon, 01 Apr 2002 17:25:10 +0000 |
| Subject: | cvs: pearweb /include pear-format-html.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2952@lists.php.net to get a copy of this message | ||
ssb Mon Apr 1 12:25:10 2002 EDT
Modified files:
/pearweb/include pear-format-html.php
Log:
* some sidebar menu changes (user actions -> developers, admin actions
-> administrators), fewer extra linebreaks
Index: pearweb/include/pear-format-html.php
diff -u pearweb/include/pear-format-html.php:1.25 pearweb/include/pear-format-html.php:1.26
--- pearweb/include/pear-format-html.php:1.25 Sat Dec 29 13:27:05 2001
+++ pearweb/include/pear-format-html.php Mon Apr 1 12:25:09 2002
@@ -43,11 +43,11 @@
if (!empty($auth_user)) {
if (!empty($auth_user->registered)) {
global $user_menu;
- $SIDEBAR_DATA .= draw_navigation($user_menu, 'User Actions:');
+ $SIDEBAR_DATA .= draw_navigation($user_menu, 'Developers:');
}
if (!empty($auth_user->admin)) {
global $admin_menu;
- $SIDEBAR_DATA .= draw_navigation($admin_menu, 'Admin Actions:');
+ $SIDEBAR_DATA .= draw_navigation($admin_menu, 'Administrators:');
}
}
}
@@ -57,10 +57,10 @@
function &draw_navigation($data, $menu_title='')
{
global $PHP_SELF;
- $html = "<br /><br />\n";
+ $html = "<br />\n";
if (!empty($menu_title)) {
$html .= "<b>$menu_title</b>\n";
- $html .= "<br /><br />\n";
+ $html .= "<br />\n";
}
foreach ($data as $url => $tit) {