diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-08-14 23:26:35 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-08-14 23:26:35 +0000 |
commit | 40a84aca6f6eaebc3c35656e2ec1aac64a189dc5 (patch) | |
tree | 96347d15b160b84f9c8e54fb99d25ffaa755b056 /templates/menu.inc | |
parent | 876575f63491226db28234519872380a1073d7e2 (diff) | |
download | ampache-40a84aca6f6eaebc3c35656e2ec1aac64a189dc5.tar.gz ampache-40a84aca6f6eaebc3c35656e2ec1aac64a189dc5.tar.bz2 ampache-40a84aca6f6eaebc3c35656e2ec1aac64a189dc5.zip |
whole bunch of last-min fixes for Alpha2 release
Diffstat (limited to 'templates/menu.inc')
-rw-r--r-- | templates/menu.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/menu.inc b/templates/menu.inc index 2ae05faf..bd084e2f 100644 --- a/templates/menu.inc +++ b/templates/menu.inc @@ -33,8 +33,8 @@ if ($GLOBALS['user']->prefs['play_type'] == 'mpd' && conf('localplay_menu')) { } $items += array(_("Browse") => htmlspecialchars(conf('web_path') . "/browse.php"), - _("Albums") => htmlspecialchars(conf('web_path') . "/albums.php"), - _("Artists") => htmlspecialchars(conf('web_path') . "/artists.php"), +// _("Albums") => htmlspecialchars(conf('web_path') . "/albums.php"), +// _("Artists") => htmlspecialchars(conf('web_path') . "/artists.php"), _("Playlists") => htmlspecialchars(conf('web_path') . "/playlist.php"), _("Search") => htmlspecialchars(conf('web_path') . "/search.php"), _("Preferences") => htmlspecialchars(conf('web_path') . "/preferences.php") @@ -81,7 +81,7 @@ if ($GLOBALS['user']->prefs['upload']) { " <a href=\"".conf('web_path')."/logout.php\">" . _("Logout") . "</a> </li>\n"; } // else } // if use_auth - elseif ( $GLOBALS['user']->id != '0') { + elseif ( $_SESSION['userdata']['id'] != '-1') { print("\t\t<li><a href=\"".conf('web_path')."/logout.php\">" . _("Logout") . "</a> </li>\n"); } // else no user ?> |