From 852a695e3cf5feb14105f81e3a02b3111c0b2136 Mon Sep 17 00:00:00 2001 From: Awais-cb Date: Thu, 1 Mar 2018 15:32:07 +0500 Subject: [PATCH] Modified:playlist play now button fixed --- upload/styles/cb_28/layout/manage_playlists.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/upload/styles/cb_28/layout/manage_playlists.html b/upload/styles/cb_28/layout/manage_playlists.html index e68acdab..986b340c 100644 --- a/upload/styles/cb_28/layout/manage_playlists.html +++ b/upload/styles/cb_28/layout/manage_playlists.html @@ -32,6 +32,7 @@
+
@@ -48,6 +49,8 @@ {lang code='total_items'} {section name=plist loop=$playlists} + {assign var=playlist_items value=$cbvid->get_playlist_items($playlists[plist].playlist_id, 'playlist_items.date_added DESC')} + @@ -57,9 +60,9 @@ - {lang code='view'} - {assign var=firstitem value=$playlists[plist].first_item|json_decode:1} + {assign var=firstitem value=$playlist_items[0]['videokey']} {if $firstitem} - {lang code='play'} + {lang code='play'} {else} {lang code='play'} {/if}