playlist->get_items();
- foreach ($objects as $song_id) {
- $song = new Song($song_id);
- $song->format();
+ foreach ($objects as $uid=>$object_data) {
+ $object = new $object_data['1']($object_data['0']);
+ $object->format();
?>
- f_link; ?>
+ f_link; ?>
|
-
-
-
+
|
diff --git a/templates/show_add_live_stream.inc.php b/templates/show_add_live_stream.inc.php
new file mode 100644
index 00000000..2533e777
--- /dev/null
+++ b/templates/show_add_live_stream.inc.php
@@ -0,0 +1,79 @@
+
+
+
+
diff --git a/templates/show_genres.inc.php b/templates/show_genres.inc.php
index bd7b0a3d..c170f7bb 100644
--- a/templates/show_genres.inc.php
+++ b/templates/show_genres.inc.php
@@ -50,7 +50,7 @@ foreach ($object_ids as $genre_id) {
- link; ?> |
+ f_link; ?> |
get_song_count(); ?> |
diff --git a/templates/show_live_stream_row.inc.php b/templates/show_live_stream_row.inc.php
new file mode 100644
index 00000000..77003371
--- /dev/null
+++ b/templates/show_live_stream_row.inc.php
@@ -0,0 +1,33 @@
+
+ |
+ id,'add',_('Add'),'add_radio_' . $radio->id); ?>
+ |
+f_name_link; ?> |
+f_callsign; ?> |
+f_frequency; ?> |
+f_genre; ?> |
+
+ has_access('50')) { ?>
+ id,'edit',_('Edit'),'edit_radio_' . $radio->id); ?>
+
+ |
diff --git a/templates/show_live_streams.inc.php b/templates/show_live_streams.inc.php
new file mode 100644
index 00000000..5aa5be5e
--- /dev/null
+++ b/templates/show_live_streams.inc.php
@@ -0,0 +1,52 @@
+
+
+
+
+format();
+?>
+
+
+
+
+
+
+ offset_limit) { require (conf('prefix') . "/templates/list_header.inc"); } ?>
+ |
+
+
diff --git a/templates/show_now_playing_row.inc.php b/templates/show_now_playing_row.inc.php
index 79998aee..54aac9bc 100644
--- a/templates/show_now_playing_row.inc.php
+++ b/templates/show_now_playing_row.inc.php
@@ -20,24 +20,31 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* Prepare the variables */
-$title = scrub_out(truncate_with_ellipse($song->title,'25'));
-$album = scrub_out(truncate_with_ellipse($song->f_album_full,'25'));
-$artist = scrub_out(truncate_with_ellipse($song->f_artist_full,'25'));
+$title = scrub_out(truncate_with_ellipsis($song->title,'25'));
+$album = scrub_out(truncate_with_ellipsis($song->f_album_full,'25'));
+$artist = scrub_out(truncate_with_ellipsis($song->f_artist_full,'25'));
?>
-: fullname); ?>
-
+ | :
+ fullname); ?>
+
+
+
-
-
- id,'song'); ?>
-
+
+
+ id,'song'); ?>
+
|
-
-
-
-
-
+
+
+
+
+
+
+
+
+
|
diff --git a/templates/sidebar_browse.inc.php b/templates/sidebar_browse.inc.php
index c808be46..44938ccc 100644
--- a/templates/sidebar_browse.inc.php
+++ b/templates/sidebar_browse.inc.php
@@ -9,6 +9,7 @@
+
diff --git a/templates/sidebar_home.inc.php b/templates/sidebar_home.inc.php
index 135b1d8a..0e546595 100644
--- a/templates/sidebar_home.inc.php
+++ b/templates/sidebar_home.inc.php
@@ -1,6 +1,7 @@
+
|