summaryrefslogtreecommitdiffstats
path: root/lib/ui.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-04 08:11:01 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-04 08:11:01 +0000
commit4e9823cd1064cc876b449752b933c89c367d84c6 (patch)
treec21f0f5c9d77176caefe5701c20afbd9d610409f /lib/ui.lib.php
parentc917726df7e3d327e3bc3030bb0b7f63925d0b42 (diff)
downloadampache-4e9823cd1064cc876b449752b933c89c367d84c6.tar.gz
ampache-4e9823cd1064cc876b449752b933c89c367d84c6.tar.bz2
ampache-4e9823cd1064cc876b449752b933c89c367d84c6.zip
fixed mysql5 crap, thx WarrenG cleaned up some of the show_songs code and stuff that calls it, did a little work on playlists
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r--lib/ui.lib.php32
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index 2cf05a46..2a779ffe 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -204,19 +204,6 @@ if (!function_exists('_')) {
} // if _ isn't defined
/**
- * show_playlist_menu
- * playlist functions
- */
-function show_playlist_menu () {
-
- echo "<br /><span class=\"header2\">" . _("Playlist Actions") . ": <a href=\"" . conf('web_path') . "/playlist.php?action=new\">" . _("New") ."</a> | ";
- echo "<a href=\"" . conf('web_path') . "/playlist.php\"> " . _("View All") . "</a> | ";
- echo "<a href=\"" . conf('web_path') . "/playlist.php?action=show_import_playlist\"> " . _("Import") . "</a>";
- echo "</span><br /><br />";
-
-} // show_playlist_menu
-
-/**
* show_admin_menu
* shows the admin menu
*/
@@ -442,25 +429,6 @@ function show_edit_profile($username) {
} // show_edit_profile
/**
- * show_playlist
- * This function takes a playlist object and calls show_songs after
- * runing get_items()
- */
-function show_playlist($playlist) {
-
- /* Create the Playlist */
- $song_ids = $playlist->get_items();
-
- if (count($song_ids) > 0) {
- show_songs($song_ids, $playlist->id);
- }
- else {
- echo "<div class=\"text-box\">" . _("No songs in this playlist.") . "</div>\n";
- }
-
-} // show_playlist
-
-/**
* show_play_selected
* this shows the playselected/add to playlist
* box, which includes a little javascript