[% BLOCK statusInfo; IF pluginRandomNowPlaying != ''; textlink = PROCESS randomLink type="disable" addOnly="0"; WRAPPER contentitem lineclass = "listFullTitle Wrap"; # Reload status and playlist to reflect any new mixes ''; '
'; "PLUGIN_RANDOM_GENERAL_HELP" | string; ' '; "PLUGIN_RANDOM_" _ pluginRandomNowPlaying _ "_DISABLE" | string; '
'; END; END; END; IF ajaxRequest; PROCESS statusInfo; ELSE; pagetitle = 'PLUGIN_RANDOMPLAY' | string; pageicon = 'PLUGIN_RANDOMPLAY'; pwd_list = BLOCK; '/'; ''; "PLUGIN_RANDOMPLAY" | string; ''; END; pageHeaderInfo = BLOCK; IF pluginRandomNowPlaying != ''; "NOW_PLAYING" | string; "COLON" | string; ' '; "PLUGIN_RANDOM_" _ pluginRandomNowPlaying | upper | string; END; END; PROCESS pageheader.html; %] [% # Following block generates links that submit the form if javascript is enabled. This allows # users to make setting changes then click on a new mix without having to press the submit button. BLOCK href %] javascript:followLink('[% type %]', [% addOnly %]); [% END; BLOCK randomLink; IF addOnly; WRAPPER addlink noTarget=1; 'href="'; PROCESS href; '"'; END; ELSE; PROCESS href; END; END; IF player == ''; ''; "NO_PLAYER_FOUND" | string; '
'; ELSE %] [% END; selectedButton = 'RandomPlay'; PROCESS pagefooter.html; END; %]