2010-09-30 21:46:44 +02:00
|
|
|
onClick="return contextmenu('{$i.id}'
|
|
|
|
, 'SP.removeItem'
|
|
|
|
|
|
|
|
{if $i.type|lower == 'audioclip'}
|
|
|
|
, 'listen', '{$i.gunid}'
|
|
|
|
|
|
|
|
{if $_PL_activeId}
|
|
|
|
, 'PL.addItem'
|
|
|
|
{else}
|
|
|
|
, 'PL.create'
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
, 'edit'
|
|
|
|
, 'delete'
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $i.type|lower == 'webstream'}
|
|
|
|
, 'listen', '{$i.gunid}'
|
|
|
|
|
|
|
|
{if $_PL_activeId}
|
|
|
|
{if $i.duration == '00:00:00.000000'}
|
|
|
|
, 'PL.addStream'
|
|
|
|
{else}
|
|
|
|
, 'PL.addItem'
|
|
|
|
{/if}
|
|
|
|
{else}
|
|
|
|
, 'PL.create'
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
, 'edit'
|
|
|
|
, 'delete'
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $i.type|lower == 'playlist'}
|
|
|
|
{if $_PL_activeId}
|
|
|
|
{if $_PL_activeId == $i.id}
|
|
|
|
, 'PL.release'
|
|
|
|
{elseif $PL->isAvailable($i.id) == true}
|
|
|
|
, 'SCHEDULER.addPL'
|
|
|
|
, 'PL.addItem'
|
|
|
|
, 'PL.activate'
|
|
|
|
, 'PL.delete'
|
|
|
|
{/if}
|
|
|
|
{elseif $PL->isAvailable($i.id) == true}
|
|
|
|
, 'SCHEDULER.addPL'
|
|
|
|
, 'PL.activate'
|
|
|
|
, 'PL.create'
|
2010-11-08 23:19:01 +01:00
|
|
|
, 'PL.delete'
|
2010-09-30 21:46:44 +02:00
|
|
|
, 'PL.export'
|
|
|
|
{/if}
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
, 'TR.upload2Hub'
|
|
|
|
)"
|