*** empty log message ***
This commit is contained in:
parent
eba4efb89a
commit
9d3ff15b65
16 changed files with 63 additions and 48 deletions
|
@ -21,7 +21,7 @@
|
|||
<tr class="{cycle values='blue1, blue2'}" {assign var="moreContextBefore" value=", 'SP.addItem'"}{include file="sub/contextmenu.tpl"}>
|
||||
<td>
|
||||
<span id="ID{$i.id}">
|
||||
{if $i.type eq 'Folder'}
|
||||
{if $i.type|lower eq 'folder'}
|
||||
<a href="{$UI_BROWSER}?act=fileList&id={$i.id}" >[{$i.title|truncate:30}]</b>
|
||||
{else}
|
||||
{if $_PL_activeId == $i.id}
|
||||
|
@ -32,7 +32,7 @@
|
|||
{/if}
|
||||
</span>
|
||||
</td>
|
||||
<td>{$i.type}</td>
|
||||
<td>{$i.type|lower|capitalize}</td>
|
||||
<td style="border: 0">
|
||||
<!-- <a href="javascript:frename('{$i.name}', '{$i.id}')">[rename]</a> -->
|
||||
<a href="javascript:fmove('{$i.id}', '.')">##move##</a>
|
||||
|
@ -46,12 +46,12 @@
|
|||
<a href="{$UI_HANDLER}?act=delete&id={$i.id}"
|
||||
onClick="return confirm('Delete "{$i.name}"?')">[DEL]</a>
|
||||
{/if} -->
|
||||
{if $i.type != 'Folder'}
|
||||
{if $i.type|lower != 'folder'}
|
||||
<a href="{$UI_BROWSER}?act=getMData&id={$i.id}">##MDataXML##</a>
|
||||
<!-- <a href="{$UI_BROWSER}?act=editMetaData&id={$i.id}">[MDataForm]</a> -->
|
||||
{if $i.type eq 'webstream'}
|
||||
{if $i.type|lower eq 'webstream'}
|
||||
<a href="{$UI_BROWSER}?act=editWebstream&id={$i.id}">##Edit##</a>
|
||||
{elseif $i.type eq 'audioclip'}
|
||||
{elseif $i.type|lower eq 'audioclip'}
|
||||
<a href="{$UI_BROWSER}?act=editFile&id={$i.id}">##Edit##</a>
|
||||
<a href="{$CONFIG.accessRawAudioUrl}?id={$i.gunid}&sessid={$START.sessid}">##Access##</a>
|
||||
<a href="{$UI_BROWSER}?act=_analyzeFile&id={$i.id}">##RawAnalyze##</a>
|
||||
|
@ -66,4 +66,4 @@
|
|||
<tr><td align="center" width="400">##No objects##</td></tr>
|
||||
{/if}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
{UIBROWSER->getMDataArr id=$i.id assign="_metaarr"}
|
||||
|
||||
onMouseover="showalttext('{foreach from=$_metaarr.metadata key=_key item=_item}{$_key}: {$_item}<br>{/foreach}')"
|
||||
onMouseout="hidealttext()"
|
||||
{include file="sub/mouseover.tpl"}
|
||||
onClick="return contextmenu('{$i.id}'
|
||||
, 'SP.addItem'
|
||||
|
||||
{if $i.type == 'audioclip'}
|
||||
{if $i.type|lower == 'audioclip'}
|
||||
, 'listen', '{$i.gunid}'
|
||||
{if $_PL_activeId}
|
||||
, 'PL.addItem'
|
||||
|
@ -15,7 +12,7 @@ onClick="return contextmenu('{$i.id}'
|
|||
, 'edit', 'delete'
|
||||
{/if}
|
||||
|
||||
{if $i.type == 'webstream'}
|
||||
{if $i.type|lower == 'webstream'}
|
||||
{if $_PL_activeId}
|
||||
, 'PL.addItem'
|
||||
{else}
|
||||
|
@ -24,7 +21,7 @@ onClick="return contextmenu('{$i.id}'
|
|||
, 'edit', 'delete'
|
||||
{/if}
|
||||
|
||||
{if $i.type == 'playlist'}
|
||||
{if $i.type|lower == 'playlist'}
|
||||
{if $_PL_activeId}
|
||||
{if $_PL_activeId == $i.id}
|
||||
, 'PL.release'
|
||||
|
@ -37,4 +34,3 @@ onClick="return contextmenu('{$i.id}'
|
|||
{/if}
|
||||
)"
|
||||
|
||||
{assign var="_metaarr" value=NULL}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
</td>
|
||||
<td {include file="library/actionhandler.tpl"}>{$i.creator}</td>
|
||||
<td {include file="library/actionhandler.tpl"}>{$i.duration}</td>
|
||||
<td {include file="library/actionhandler.tpl"} style="border: 0"><img src="img/{$i.type|lower}.gif" border="0" alt="{$i.type}" /></td>
|
||||
<td {include file="library/actionhandler.tpl"} style="border: 0"><img src="img/{$i.type|lower}.gif" border="0" alt="{$i.type|lower|capitalize}" /></td>
|
||||
</tr>
|
||||
<!-- end item -->
|
||||
{/foreach}
|
||||
|
|
|
@ -1,7 +1,2 @@
|
|||
{UIBROWSER->getMDataArr id=$i.id assign="_metaarr"}
|
||||
|
||||
onMouseover="showalttext('{foreach from=$_metaarr.metadata key=_key item=_item}{$_key}: {$_item}<br>{/foreach}')"
|
||||
onMouseout="hidealttext()"
|
||||
{include file="sub/mouseover.tpl"}
|
||||
onClick="return contextmenu('{$i.attrs.id}', {if $i.type|lower == "audioclip"}'listen', '{$i.gunid}', {/if} 'PL.removeItem')"
|
||||
|
||||
{assign var="_metaarr" value=NULL}
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<td {include file="playlist/actionhandler.tpl"}>{$i.title}</td>
|
||||
<td {include file="playlist/actionhandler.tpl"}>{$i.duration}</td>
|
||||
<td {include file="playlist/actionhandler.tpl"}>{$i.creator}</td>
|
||||
<td {include file="playlist/actionhandler.tpl"}>{$i.type}</td>
|
||||
<td {include file="playlist/actionhandler.tpl"}>{$i.type|lower|capitalize}</td>
|
||||
<td style="border: 0">
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=PL.moveItem&id={$i.attrs.id}&pos={$pos-1}')"><img src="img/bt_top_xsm.gif" alt="##move up##" vspace=1 hspace=1/></a>
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=PL.moveItem&id={$i.attrs.id}&pos={$pos+1}')"><img src="img/bt_bottom_xsm.gif" alt="##move down##" vspace=1 hspace=1/></a>
|
||||
|
|
|
@ -8,15 +8,17 @@
|
|||
{assign var="dynform" value=$_form.main}
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
{literal}
|
||||
|
||||
var MData_confirmChangeVisited = false;
|
||||
function MData_confirmChange(element)
|
||||
{
|
||||
//if (MData_confirmChangeVisited) return true;
|
||||
if (MData_confirmChangeVisited) return true;
|
||||
MData_confirmChangeVisited = true;
|
||||
if (confirm("Are you sure you want to change this information?") == false) element.blur();
|
||||
if (confirm("##Are you sure you want to change existing metadata?##") == false) element.blur();
|
||||
}
|
||||
|
||||
function MData_submit()
|
||||
|
@ -40,5 +42,6 @@ function MData_cancel()
|
|||
location.href="{$UI_BROWSER}?act=PL.simpleManagement";
|
||||
{literal}
|
||||
}
|
||||
|
||||
{/literal}
|
||||
</script>
|
||||
|
|
|
@ -1,7 +1,2 @@
|
|||
{UIBROWSER->getMDataArr id=$i.plid assign="_metaarr"}
|
||||
|
||||
onMouseover="showalttext('{foreach from=$_metaarr.metadata key=_key item=_item}{$_key}: {$_item}<br>{/foreach}')" *}
|
||||
onMouseout="hidealttext()"
|
||||
{include file="sub/mouseover.tpl"}
|
||||
onClick="return contextmenu('scheduleId={$i.scheduleid}', 'SCHEDULER.removeItem')"
|
||||
|
||||
{assign var="_metaarr" value=NULL}
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
{UIBROWSER->getMDataArr id=$i.id assign="_metaarr"}
|
||||
|
||||
onMouseover="showalttext('{foreach from=$_metaarr.metadata key=_key item=_item}{$_key}: {$_item}<br>{/foreach}')"
|
||||
onMouseout="hidealttext()"
|
||||
{include file="sub/mouseover.tpl"}
|
||||
onClick="hidealttextnow(); return contextmenu('{$i.id}'
|
||||
, 'SP.removeItem'
|
||||
|
||||
{if $i.type == 'audioclip'}
|
||||
{if $i.type|lower == 'audioclip'}
|
||||
, 'listen', '{$i.gunid}'
|
||||
{if $_PL_activeId}
|
||||
, 'PL.addItem'
|
||||
|
@ -15,7 +12,7 @@ onClick="hidealttextnow(); return contextmenu('{$i.id}'
|
|||
, 'edit', 'delete'
|
||||
{/if}
|
||||
|
||||
{if $i.type == 'webstream'}
|
||||
{if $i.type|lower == 'webstream'}
|
||||
{if $_PL_activeId}
|
||||
, 'PL.addItem'
|
||||
{else}
|
||||
|
@ -24,7 +21,7 @@ onClick="hidealttextnow(); return contextmenu('{$i.id}'
|
|||
, 'edit', 'delete'
|
||||
{/if}
|
||||
|
||||
{if $i.type == 'playlist'}
|
||||
{if $i.type|lower == 'playlist'}
|
||||
{if $_PL_activeId}
|
||||
{if $_PL_activeId == $i.id}
|
||||
, 'PL.release'
|
||||
|
@ -37,4 +34,3 @@ onClick="hidealttextnow(); return contextmenu('{$i.id}'
|
|||
{/if}
|
||||
)"
|
||||
|
||||
{assign var="_metaarr" value=NULL}
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
{/if}
|
||||
</td>
|
||||
<td {include file="scratchpad/actionhandler.tpl"}>{$i.duration}</td>
|
||||
<td {include file="scratchpad/actionhandler.tpl"} style="border: 0"><img src="img/{$i.type|lower}.gif" border="0" alt="{$i.type}" /></td>
|
||||
<td {include file="scratchpad/actionhandler.tpl"} style="border: 0"><img src="img/{$i.type|lower}.gif" border="0" alt="{$i.type|lower|capitalize}" /></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<!-- end item -->
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
onClick="return contextmenu('{$i.id}'
|
||||
{$moreContextBefore}
|
||||
{if $i.type == 'audioclip'}
|
||||
{if $i.type|lower == 'audioclip'}
|
||||
, 'listen', '{$i.gunid}'
|
||||
{if $_PL_activeId}
|
||||
, 'PL.addItem'
|
||||
|
@ -12,7 +12,7 @@ onClick="return contextmenu('{$i.id}'
|
|||
, 'edit', 'delete'
|
||||
{/if}
|
||||
|
||||
{if $i.type == 'webstream'}
|
||||
{if $i.type|lower == 'webstream'}
|
||||
{if $_PL_activeId}
|
||||
, 'PL.addItem'
|
||||
{else}
|
||||
|
@ -21,7 +21,7 @@ onClick="return contextmenu('{$i.id}'
|
|||
, 'edit', 'delete'
|
||||
{/if}
|
||||
|
||||
{if $i.type == 'playlist'}
|
||||
{if $i.type|lower == 'playlist'}
|
||||
{if $_PL_activeId}
|
||||
{if $_PL_activeId == $i.id}
|
||||
, 'PL.release'
|
||||
|
@ -33,7 +33,7 @@ onClick="return contextmenu('{$i.id}'
|
|||
{/if}
|
||||
{/if}
|
||||
|
||||
{if ($i.type == 'Folder')}
|
||||
{if ($i.type|lower == 'folder')}
|
||||
, 'fileList', 'delete'
|
||||
{/if}
|
||||
{$moreContextAfter}
|
||||
|
|
4
livesupport/modules/htmlUI/var/templates/sub/mouseover.tpl
Executable file
4
livesupport/modules/htmlUI/var/templates/sub/mouseover.tpl
Executable file
|
@ -0,0 +1,4 @@
|
|||
{UIBROWSER->getMDataArr id=$i.id assign="_metaarr"}
|
||||
onMouseover="showalttext('<h3>##{$i.type|lower|capitalize}## {if $_PL_activeId == $i.id}##(activated)##{/if}</h3>{foreach from=$_metaarr.metadata key=_key item=_item}{$_key}: {$_item}<br>{/foreach}')"
|
||||
onMouseout="hidealttext()"
|
||||
{assign var="_metaarr" value=NULL}
|
Loading…
Add table
Add a link
Reference in a new issue