From 2dab76e5dff615a09fd2197f98229706a66b1a55 Mon Sep 17 00:00:00 2001 From: naomiaro Date: Wed, 6 Oct 2010 16:46:07 -0400 Subject: [PATCH] actually remembering to add the playlist sidebar template... --- htmlUI/templates/playlist/sidebar.tpl | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 htmlUI/templates/playlist/sidebar.tpl diff --git a/htmlUI/templates/playlist/sidebar.tpl b/htmlUI/templates/playlist/sidebar.tpl new file mode 100644 index 000000000..aabd3ee0b --- /dev/null +++ b/htmlUI/templates/playlist/sidebar.tpl @@ -0,0 +1,39 @@ +
+

##Open Playlist##

+ {if $PL->activeId} + + +
+
Title:{$PL->title}
+
Length:{$PL->duration}
+
+ +
+
+ + Title + Creator + Playlength +
+
    + {foreach from=$PL->getActiveArr($PL->activeId) key='pos' item='i'} +
  • + + {$i.track_title|truncate:12:"...":true} + {$i.artist_name|truncate:12:"...":true} + {niceTime in=$i.length} +
  • + {/foreach} + + {if is_null($pos)} +
  • ##Empty playlist##
  • + {/if} +
+ +
+ + {else} + + {/if} + +
\ No newline at end of file