{script} {literal} document.flag = function(type, id, title, url, langKey){ if(typeof(document.addRoleStorage) === 'undefined'){ document.storage = []; } $.post( '{/literal}{url_for for="BASE_CTRL_Flag:form"}{literal}', {type: type, id: id, title: title, url: url, langKey: langKey}, function(json){ if( typeof(json.isFlagged) != 'undefined' ){ OW.warning("{/literal}{text key="base+flag_already_flagged"}{literal}"); return; } document.storage['flag-panel'] = { fb: new OW_FloatBox({$title: '{/literal}{text key='base+flag_as'}{literal}', $contents: json['markup'], width: '315px'}) } OW.addCss(json.css); OW.addScriptFiles(json['include_js'], function(){ OW.addScript(json['js']); }); }, 'json'); } {/literal} {/script} {if !$auth_msg}
{block_decorator name='box' type='empty' addClass='ow_vwls_player ow_stdmargin' toolbar=$toolbar} {component class='VWLS_CMP_VwlsPlayer' id=$clip->id} {/block_decorator}
{$clip->description}
{$comments}
{block_decorator name='box_cap' iconClass='ow_ic_vwls' langLabel='vwls+vwls_info'}{/block_decorator} {block_decorator name='box' addClass='ow_small ow_stdmargin'}
{text key='base+by'} {if $username && $displayName}{user_link username=$username name=$displayName}{else}{$displayName}{/if}
{text key='vwls+added'} {format_date timestamp=$clip->addDatetime}
{/block_decorator} {component class='VWLS_CMP_OtherVwlsList' exclude=$clip->id itemsNum=3} {$rate} {$tags}
{else}
{$auth_msg}
{/if}