[% pagetitle = "PLUGIN_MYPICKS_EDITOR" | string; pageicon = 'PLUGINS' %] [% PROCESS pageheader.html %] [% IF errormsg %][% errormsg %][% END %] [% IF newentry %]

[% "PLUGIN_MYPICKS_ADD_DESC" | string %]

[% IF newentry.wikiradio %] [% END %]

[% "PLUGIN_MYPICKS_ADDMENU" | string %]

[% "TITLE" | string %]

[% "PLUGIN_MYPICKS_ADDSTREAM" | string %]

[% "TITLE" | string %] [% "URL" | string %]

[% "PLUGIN_MYPICKS_ADDOPMLMENU" | string %]

[% "TITLE" | string %] [% "URL" | string %]

[% "PLUGIN_MYPICKS_ADDSLIMPICKS" | string %]

[% "PLUGIN_MYPICKS_ADDWIKIRADIO" | string %]

[% ELSIF edittitle %]
[% "TITLE" | string %]
[% ELSIF loaddialog %]
[% "PLUGIN_MYPICKS_LOADFILE" | string %]
[% ELSIF savedialog %]
[% "PLUGIN_MYPICKS_SAVEFILE" | string %]
[% ELSIF importdialog %] [% "PLUGIN_MYPICKS_IMPORT_DESC" | string %]

[% "PLUGIN_MYPICKS_PLAYLISTFILE" | string %]

[% ELSIF exportdialog %]

[% "PLUGIN_MYPICKS_EXPORT_FAVDESC" | string %]

[% "PLUGIN_MYPICKS_EXPORT_WIKIDESC" | string %]

[% IF wikiexport %]

[% "TITLE" | string %] : [% title %]

[% ELSIF wikiexists %] [% "TITLE" | string %] : [% title %]

[% "PLUGIN_MYPICKS_WIKIRADIO_TITLECLASH" | string %] [% ELSE %] [% "PLUGIN_MYPICKS_NOWIKIRADIO_DESC" | string %] [% END %]

[% ELSE %]

[% title %]

[% odd = 1 %] [% IF previous %] [% WRAPPER contentitem %] [% "PLUGIN_MYPICKS_PREVLEVEL" | string %] [% END %] [% odd = (not odd) %] [% END %] [% WRAPPER contentcontainer %] [% FOREACH entry = entries %] [% BLOCK mypickscontrol %] [% IF entry.audio %] [% WRAPPER playlink noTarget=1 %] href="[% webroot %]plugins/MyPicks/edit.html?action=play&entry=[% entry.index %]" [% END %] [% WRAPPER addlink noTarget=1 %] href="[% webroot %]plugins/MyPicks/edit.html?action=add&entry=[% entry.index %]" [% END %] [% END %] [% IF entry.outline %] [% WRAPPER descendlink noTarget=1 %] href="[% webroot %]plugins/MyPicks/edit.html?action=descend&entry=[% entry.index %]" [% END %] [% END %] [% WRAPPER moveuplink noTarget=1 %] href="[% webroot %]plugins/MyPicks/edit.html?action=moveup&entry=[% entry.index %]" [% END %] [% WRAPPER movedownlink noTarget=1 %] href="[% webroot %]plugins/MyPicks/edit.html?action=movedown&entry=[% entry.index %]" [% END %] [% WRAPPER editlink noTarget=1 %] href="[% webroot %]plugins/MyPicks/edit.html?action=edit&entry=[% entry.index %]" [% END %] [% WRAPPER removelink noTarget=1 %] href="[% webroot %]plugins/MyPicks/edit.html?action=delete&entry=[% entry.index %]" [% END %] [% END %] [% IF entry.edit %] [% IF entry.outline %]
[% ELSE %]
[% END %] [% ELSE %] [% WRAPPER contentitem controls = 'mypickscontrol' %] [% entry.title %] [% END %] [% END %] [% odd = (not odd) %] [% END %] [% END %] [% IF deleted %] [% BLOCK mypicksdeleteditem %] [% WRAPPER removelink noTarget=1 %] href="[% webroot %]plugins/MyPicks/edit.html?action=forgetdelete" [% END %] [% END %] [% WRAPPER contentitem controls = 'mypicksdeleteditem'%] [% "PLUGIN_MYPICKS_INSERTDEL" | string %] [ [% deleted %] ] [% END %] [% odd = (not odd) %] [% END %] [% WRAPPER contentitem %] [% "PLUGIN_MYPICKS_NEWENTRY" | string %] [% END %]

[% END %] [% PROCESS pagefooter.html %]