[% pagetitle = "SAVED_PLAYLISTS" | string %] [% pageicon = icons.SAVED_PLAYLISTS %] [% IF levelName == 'album' || levelName == 'age' || levelName == 'playlisttrack'; titleRight = BLOCK %]
[% END; END %] [%- extJsScripts = BLOCK -%]
[% UNLESS noEdit %]
[% END; END %] [% IF NOT ajaxUpdate %][% PROCESS pageheader.html dontscroll=1 %] [% IF warn %][% PROCESS scanwarning %][% END %] [% IF warning %]

[% "NOTE" | string %] [% warning | getstring %]

[% END %] [% UNLESS noEdit %]

[% "NAME" | string %] |  |  | [% IF playlist.title %] [% END %]
[%- IF warning == 'RENAME_WARNING' %] [% "CONFIRM_OVERWRITE" | string %] [%- END %] [%- IF warning == 'DELETE_WARNING' %] [% "CONFIRM_DELETE" | string %] [%- END %]

[% rightcontrols = 'editcontrols'; leftcontrols = 'browsecontrols' %] [% BLOCK editcmd %] href="edit_playlist.html?player=[% playerURI %]&[% cmd %]=1&playlist.id=[% playlist.id %]&itempos=[% start + loop.count - 1 %]&start=[% start %]" [% END %] [% BLOCK editcontrols %] [% IF loop.count > 1 || loop.last %] [% UNLESS useExtJS %] [%- WRAPPER moveuplink noTarget=1 %] [%- PROCESS editcmd cmd='up' %] [% END %] [%- WRAPPER movedownlink noTarget=1 %] [%- PROCESS editcmd cmd='down' %] [% END %] [% END %] [%- WRAPPER editlink noTarget=1 %] [%- PROCESS editcmd cmd='edit' %] [% END %] [%- WRAPPER removelink noTarget=1 %] [%- PROCESS editcmd cmd='delete' %] [% END %] [% END %] [% END %] [% END %]
[% IF hasPagebar %][% PROCESS pagebar %][% END %]
[% END %] [% BLOCK editform %] [%- IF item.itemobj.isRemoteURL %][% END %] [% END %] [% WRAPPER contentcontainer %] [% IF addItem %] [% PROCESS editform %] [% END %] [% FOREACH item = browse_items %] [% addClasses = loop.index || loop.last ? 'draggableSong' : '' %] [% IF edit && loop.index == itempos %] [% PROCESS editform %] [% ELSE %] [% PROCESS browsedbitems_list.html %] [% END %] [% END %] [% END %] [% UNLESS ajaxUpdate %] [% UNLESS useExtJS %]
[% IF hasPagebar %][% PROCESS pagebar %][% END %]
[% END %] [% PROCESS pagefooter.html %] [% END %]