From d7c3ede9e757dab9889503a415d78c7937a311b3 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 14 Jan 2008 01:38:50 +0000 Subject: fixed public/private aspect of playlists, default is to filter out non-owned private playlists now --- templates/show_edit_playlist_row.inc.php | 12 +++++++++--- templates/show_playlist.inc.php | 2 +- templates/show_playlist_row.inc.php | 1 + templates/show_playlists.inc.php | 5 ++++- 4 files changed, 15 insertions(+), 5 deletions(-) (limited to 'templates') diff --git a/templates/show_edit_playlist_row.inc.php b/templates/show_edit_playlist_row.inc.php index edc8e63f..3a1e6161 100644 --- a/templates/show_edit_playlist_row.inc.php +++ b/templates/show_edit_playlist_row.inc.php @@ -19,13 +19,19 @@ */ ?> - -
+ + + ++ @@ -32,6 +33,7 @@ + @@ -49,8 +51,9 @@ foreach ($object_ids as $playlist_id) { + - +
- + + type; ${$name} = ' selected="selected"'; ?> + diff --git a/templates/show_playlist.inc.php b/templates/show_playlist.inc.php index 0c72526c..622e266b 100644 --- a/templates/show_playlist.inc.php +++ b/templates/show_playlist.inc.php @@ -24,7 +24,7 @@ */ $web_path = Config::get('web_path'); ?> -name . ' ' . _('Playlist')); ?> +f_type . ' ' . $playlist->name . ' ' . _('Playlist')); ?>
  • diff --git a/templates/show_playlist_row.inc.php b/templates/show_playlist_row.inc.php index 1efb252a..a6579a05 100644 --- a/templates/show_playlist_row.inc.php +++ b/templates/show_playlist_row.inc.php @@ -24,6 +24,7 @@ id,'random',_('Random'),'random_playlist_' . $playlist->id); ?>
f_link; ?>f_type; ?> f_user); ?> diff --git a/templates/show_playlists.inc.php b/templates/show_playlists.inc.php index 5707c772..553d65f5 100644 --- a/templates/show_playlists.inc.php +++ b/templates/show_playlists.inc.php @@ -25,6 +25,7 @@
 
 
-- cgit