replaced gif?s with png?s

This commit is contained in:
sebastian 2005-07-30 13:39:23 +00:00
parent a264b42824
commit 395c0af2bd
98 changed files with 742 additions and 742 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 749 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 688 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 688 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 784 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 533 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 411 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View file

@ -0,0 +1 @@
http://fm4.amd.co.at/m3us/listen-high.m3u

Binary file not shown.

Before

Width:  |  Height:  |  Size: 401 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

View file

@ -1,77 +1,77 @@
{assign var="_PL_activeId" value=$PL->getActiveId()} {assign var="_PL_activeId" value=$PL->getActiveId()}
<div class="contenttabnav"> <div class="contenttabnav">
{if $START.pid} {if $START.pid}
<a href="{$UI_BROWSER}?act=fileList&id={$START.pid}">##go up##</a> <a href="{$UI_BROWSER}?act=fileList&id={$START.pid}">##go up##</a>
{/if} {/if}
{include file="file/path.tpl"} {include file="file/path.tpl"}
</div> </div>
<div class="head" style="width:555px; height: 21px;">&nbsp; <div class="head" style="width:555px; height: 21px;">&nbsp;
</div> </div>
<div class="container_table" style="width: 555px; height: auto;"> <div class="container_table" style="width: 555px; height: auto;">
<table> <table>
<tr class="blue_head"> <tr class="blue_head">
<td style="width: 280px">##Title##</td> <td style="width: 280px">##Title##</td>
<td style="width: 20px">##Type##</td> <td style="width: 20px">##Type##</td>
<td style="width: 255px; border: 0">##Action##</td> <td style="width: 255px; border: 0">##Action##</td>
</tr> </tr>
{if count($structure.listdata)} {if count($structure.listdata)}
{foreach from=$structure.listdata item=i} {foreach from=$structure.listdata item=i}
{assign var="_listen_gunid" value=$i.gunid} {assign var="_listen_gunid" value=$i.gunid}
<tr class="{cycle values='blue1, blue2'}" {assign var="moreContextBefore" value=", 'SP.addItem'"}> <tr class="{cycle values='blue1, blue2'}" {assign var="moreContextBefore" value=", 'SP.addItem'"}>
<td style="cursor: pointer" {include file="sub/contextmenu.tpl"}> <td style="cursor: pointer" {include file="sub/contextmenu.tpl"}>
<span id="ID{$i.id}"> <span id="ID{$i.id}">
{if $i.type|lower eq 'folder'} {if $i.type|lower eq 'folder'}
<a href="{$UI_BROWSER}?act=fileList&id={$i.id}" >[{$i.title|truncate:30}]</b> <a href="{$UI_BROWSER}?act=fileList&id={$i.id}" >[{$i.title|truncate:30}]</b>
{else} {else}
{if $_PL_activeId == $i.id} {if $_PL_activeId == $i.id}
<b>{$i.title|truncate:30}</b> <b>{$i.title|truncate:30}</b>
{else} {else}
{$i.title|truncate:30} {$i.title|truncate:30}
{/if} {/if}
{/if} {/if}
</span> </span>
</td> </td>
<td><img src="img/{$i.type|lower}.gif" border="0" alt="{$i.type|lower|capitalize}" {include file="sub/mouseover.tpl"} /></td> <td><img src="img/{$i.type|lower}.png" border="0" alt="{$i.type|lower|capitalize}" {include file="sub/mouseover.tpl"} /></td>
<td style="border: 0"> <td style="border: 0">
{* &nbsp;<a href="javascript:frename('{$i.name}', '{$i.id}')">[rename]</a> *} {* &nbsp;<a href="javascript:frename('{$i.name}', '{$i.id}')">[rename]</a> *}
&nbsp;<a href="javascript:fmove('{$i.id}', '.')">##move##</a> &nbsp;<a href="javascript:fmove('{$i.id}', '.')">##move##</a>
&nbsp;<a href="javascript:fcopy('{$i.id}', '.')">##copy##</a> &nbsp;<a href="javascript:fcopy('{$i.id}', '.')">##copy##</a>
&nbsp;<a href="{$UI_BROWSER}?act=permissions&id={$i.id}">##permissions##</a> &nbsp;<a href="{$UI_BROWSER}?act=permissions&id={$i.id}">##permissions##</a>
{* {*
{if ($delOverride eq $i.id)} {if ($delOverride eq $i.id)}
<a href="{$UI_HANDLER}?act=delete&id={$i.id}&delOverride={$i.id}" <a href="{$UI_HANDLER}?act=delete&id={$i.id}&delOverride={$i.id}"
onClick="return confirm('Really delete non empty Folder &quot;{$i.name}&quot; now?')">[DEL]</a> onClick="return confirm('Really delete non empty Folder &quot;{$i.name}&quot; now?')">[DEL]</a>
{else} {else}
<a href="{$UI_HANDLER}?act=delete&id={$i.id}" <a href="{$UI_HANDLER}?act=delete&id={$i.id}"
onClick="return confirm('Delete &quot;{$i.name}&quot;?')">[DEL]</a> onClick="return confirm('Delete &quot;{$i.name}&quot;?')">[DEL]</a>
{/if} {/if}
{if $i.type|lower != 'folder'} {if $i.type|lower != 'folder'}
&nbsp;<a href="{$UI_BROWSER}?act=getMData&id={$i.id}">##MDataXML##</a> &nbsp;<a href="{$UI_BROWSER}?act=getMData&id={$i.id}">##MDataXML##</a>
&nbsp;<a href="{$UI_BROWSER}?act=editMetaData&id={$i.id}">[MDataForm]</a> &nbsp;<a href="{$UI_BROWSER}?act=editMetaData&id={$i.id}">[MDataForm]</a>
{if $i.type|lower eq 'webstream'} {if $i.type|lower eq 'webstream'}
&nbsp;<a href="{$UI_BROWSER}?act=editWebstream&id={$i.id}">##Edit##</a> &nbsp;<a href="{$UI_BROWSER}?act=editWebstream&id={$i.id}">##Edit##</a>
{elseif $i.type|lower eq 'audioclip'} {elseif $i.type|lower eq 'audioclip'}
&nbsp;<a href="{$UI_BROWSER}?act=editFile&id={$i.id}">##Edit##</a> &nbsp;<a href="{$UI_BROWSER}?act=editFile&id={$i.id}">##Edit##</a>
&nbsp;<a href="{$CONFIG.accessRawAudioUrl}?id={$i.gunid}&sessid={$START.sessid}">##Access##</a> &nbsp;<a href="{$CONFIG.accessRawAudioUrl}?id={$i.gunid}&sessid={$START.sessid}">##Access##</a>
&nbsp;<a href="{$UI_BROWSER}?act=_analyzeFile&id={$i.id}">##RawAnalyze##</a> &nbsp;<a href="{$UI_BROWSER}?act=_analyzeFile&id={$i.id}">##RawAnalyze##</a>
{/if} {/if}
&nbsp;<a href="#" onclick="hpopup('{$UI_HANDLER}?act=SP.addItem&id={$i.id}', '2SP')">[SP]</a> &nbsp;<a href="#" onclick="hpopup('{$UI_HANDLER}?act=SP.addItem&id={$i.id}', '2SP')">[SP]</a>
{/if} {/if}
*} *}
&nbsp; &nbsp;
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
{else} {else}
<tr><td align="center" colspan="3" width="400" style="border:0">##No objects##</td></tr> <tr><td align="center" colspan="3" width="400" style="border:0">##No objects##</td></tr>
{/if} {/if}
</table> </table>
</div> </div>

View file

@ -1,82 +1,82 @@
{assign var="_PL_activeId" value=$PL->getActiveId()} {assign var="_PL_activeId" value=$PL->getActiveId()}
{if $_results.cnt > 0} {if $_results.cnt > 0}
<form name="SEARCHRESULTS"> <form name="SEARCHRESULTS">
<div class="head" style="width:535px; height: 21px;">&nbsp;</div> <div class="head" style="width:535px; height: 21px;">&nbsp;</div>
<div class="container_table" style="width: 555px; height: auto;"> <div class="container_table" style="width: 555px; height: auto;">
<table style="width: 535px;"> <table style="width: 535px;">
<tr class="blue_head"> <tr class="blue_head">
<td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('SEARCHRESULTS')"></td> <td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('SEARCHRESULTS')"></td>
<td style="width: 200px"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=title', 'order');" id="blue_head">##Title##</a></td> <td style="width: 200px"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=title', 'order');" id="blue_head">##Title##</a></td>
<td style="width: 195px"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=creator', 'order');" id="blue_head">##Creator##</a></td> <td style="width: 195px"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=creator', 'order');" id="blue_head">##Creator##</a></td>
<td><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=extent', 'order');" id="blue_head">##Duration##</a></td> <td><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=extent', 'order');" id="blue_head">##Duration##</a></td>
<td style="width: 41px; border: 0; text-align: center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=type', 'order');" id="blue_head">##Type##</a></td> <td style="width: 41px; border: 0; text-align: center"><a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.reOrder&by=type', 'order');" id="blue_head">##Type##</a></td>
</tr> </tr>
{foreach from=$_results.items item=i} {foreach from=$_results.items item=i}
<!-- start item --> <!-- start item -->
<tr class="background-color: {cycle values='blue1, blue2'}"> <tr class="background-color: {cycle values='blue1, blue2'}">
<td><input type="checkbox" class="checkbox" name="{$i.id}"/></td> <td><input type="checkbox" class="checkbox" name="{$i.id}"/></td>
<td {include file="library/actionhandler.tpl"} style="cursor: pointer"> <td {include file="library/actionhandler.tpl"} style="cursor: pointer">
{if $PLAYLIST.id == $i.id} {if $PLAYLIST.id == $i.id}
<b>{$i.title|truncate:30}</b> <b>{$i.title|truncate:30}</b>
{else} {else}
{$i.title|truncate:30} {$i.title|truncate:30}
{/if} {/if}
</td> </td>
<td {include file="library/actionhandler.tpl"} style="cursor: pointer">{$i.creator}</td> <td {include file="library/actionhandler.tpl"} style="cursor: pointer">{$i.creator}</td>
<td {include file="library/actionhandler.tpl"} style="text-align: right; cursor: pointer">{assign var="_duration" value=$i.duration}{niceTime in=$_duration}</td> <td {include file="library/actionhandler.tpl"} style="text-align: right; cursor: pointer">{assign var="_duration" value=$i.duration}{niceTime in=$_duration}</td>
<td {include file="library/actionhandler.tpl"} style="border: 0; text-align: center; cursor: pointer"> <td {include file="library/actionhandler.tpl"} style="border: 0; text-align: center; cursor: pointer">
<img src="img/{$i.type|lower}.gif" border="0" alt="{$i.type|lower|capitalize}" {include file="sub/mouseover.tpl"} /> <img src="img/{$i.type|lower}.png" border="0" alt="{$i.type|lower|capitalize}" {include file="sub/mouseover.tpl"} />
</td> </td>
</tr> </tr>
<!-- end item --> <!-- end item -->
{/foreach} {/foreach}
</table> </table>
</div> </div>
<div class="footer" style="width: 530px;"> <div class="footer" style="width: 530px;">
<div class="counter"> <div class="counter">
{* {if $_results.prev}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=prev', 'pager')" id="blue_head">##previous##</a>{/if} *} {* {if $_results.prev}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=prev', 'pager')" id="blue_head">##previous##</a>{/if} *}
{foreach from=$_results.pagination item=p key=k} {foreach from=$_results.pagination item=p key=k}
{if $k != $_results.page+1} {if $k != $_results.page+1}
<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page={$k}', 'pager')" id="blue_head">{$p}</a> <a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page={$k}', 'pager')" id="blue_head">{$p}</a>
{else} {else}
{$p} {$p}
{/if} {/if}
{/foreach} {/foreach}
{* {if $_results.next}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=next', 'pager')" id="blue_head">##next##</a>{/if} *} {* {if $_results.next}<a href="#" onClick="hpopup('{$UI_HANDLER}?act={$_act_prefix}.setOffset&page=next', 'pager')" id="blue_head">##next##</a>{/if} *}
&nbsp;&nbsp; &nbsp;&nbsp;
##Range##:&nbsp;{$_criteria.offset+1}-{if ($_criteria.offset+$_criteria.limit)>$_results.cnt}{$_results.cnt}{else}{$_criteria.offset+$_criteria.limit}{/if}&nbsp; ##Range##:&nbsp;{$_criteria.offset+1}-{if ($_criteria.offset+$_criteria.limit)>$_results.cnt}{$_results.cnt}{else}{$_criteria.offset+$_criteria.limit}{/if}&nbsp;
##Count##:&nbsp;{$_results.cnt}&nbsp; ##Count##:&nbsp;{$_results.cnt}&nbsp;
{* ##Page##:&nbsp;&nbsp;{$_results.page+1}&nbsp;&nbsp; *} {* ##Page##:&nbsp;&nbsp;{$_results.page+1}&nbsp;&nbsp; *}
</div> </div>
<select name="SEARCHRESULTS_multiaction" onChange="collector_submit('SEARCHRESULTS', this.value)"> <select name="SEARCHRESULTS_multiaction" onChange="collector_submit('SEARCHRESULTS', this.value)">
<option>##Multiple Action:##</option> <option>##Multiple Action:##</option>
<option value="SP.addItem">##Add file(s) to ScratchPad##</option> <option value="SP.addItem">##Add file(s) to ScratchPad##</option>
{if $_PL_activeId} {if $_PL_activeId}
<option value="PL.addItem">##Add file(s) to active Playlist##</option> <option value="PL.addItem">##Add file(s) to active Playlist##</option>
{else} {else}
<option value="PL.create">##New Playlist using this file(s)##</option> <option value="PL.create">##New Playlist using this file(s)##</option>
{/if} {/if}
</select> </select>
<script type="text/javascript"> <script type="text/javascript">
document.forms['SEARCHRESULTS'].elements['SEARCHRESULTS_multiaction'].options[0].selected=true; document.forms['SEARCHRESULTS'].elements['SEARCHRESULTS_multiaction'].options[0].selected=true;
//document.forms['SEARCHRESULTS'].elements['all'].checked = false; //document.forms['SEARCHRESULTS'].elements['all'].checked = false;
//collector_switchAll('SEARCHRESULTS') //collector_switchAll('SEARCHRESULTS')
</script> </script>
</div> </div>
</form> </form>
{else} {else}
##No match found.## ##No match found.##
{/if} {/if}
{assign var="_PL_activeId" value=null} {assign var="_PL_activeId" value=null}
{assign var="_duration" value=null} {assign var="_duration" value=null}

View file

@ -1,8 +1,7 @@
<html> <html>
<head> <head>
</head> </head>
<body> <body>
<center> <center>
<img src="img/ls_logo_animated.gif"> <img src="img/ls_logo_animated.gif">
</center> </center>

View file

@ -1,87 +1,87 @@
<!-- start playlist editor --> <!-- start playlist editor -->
<div class="container_elements" style="width: 607px;"> <div class="container_elements" style="width: 607px;">
<div style="width: 574px;"> <div style="width: 574px;">
<div style="float: left;"><h1>##Playlist Editor## </h1></div> <div style="float: left;"><h1>##Playlist Editor## </h1></div>
<div style="float: right;"><h1><a href="{$UI_BROWSER}?act=PL.editMetaData" style="color: #666666">{$PL->title} &nbsp; {getHour time=$PL->duration}##h##&nbsp;{getMinute time=$PL->duration}##m##&nbsp;{getSecond time=$PL->duration}##s##</a></h1></div> <div style="float: right;"><h1><a href="{$UI_BROWSER}?act=PL.editMetaData" style="color: #666666">{$PL->title} &nbsp; {getHour time=$PL->duration}##h##&nbsp;{getMinute time=$PL->duration}##m##&nbsp;{getSecond time=$PL->duration}##s##</a></h1></div>
</div> </div>
<div class="head" style="width: 574px;"> <div class="head" style="width: 574px;">
<div class="left">&nbsp;</div> <div class="left">&nbsp;</div>
<div class="right">&nbsp;</div> <div class="right">&nbsp;</div>
<div class="clearer">&nbsp;</div> <div class="clearer">&nbsp;</div>
</div> </div>
<div class="container_table" style="width: 594px;"> <div class="container_table" style="width: 594px;">
<table style="width: 574px;"> <table style="width: 574px;">
<form name="PL"> <form name="PL">
<!-- start repeat after 14 columns --> <!-- start repeat after 14 columns -->
<tr class="blue_head"> <tr class="blue_head">
<td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('PL')"></td> <td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('PL')"></td>
<script type="text/javascript"> <script type="text/javascript">
document.forms['PL'].elements['all'].checked = false; document.forms['PL'].elements['all'].checked = false;
</script> </script>
<td style="width: 200px">##Name##</td> <td style="width: 200px">##Name##</td>
<td> ##Duration##</td> <td> ##Duration##</td>
<td style="width: 200px">##Artist##</td> <td style="width: 200px">##Artist##</td>
<td style="width: 30px;">##Type##</td> <td style="width: 30px;">##Type##</td>
<td style="width: 30px; border: 0">##Move##</td> <td style="width: 30px; border: 0">##Move##</td>
</tr> </tr>
<!-- end repeat after 14 columns --> <!-- end repeat after 14 columns -->
<!-- start item --> <!-- start item -->
{foreach from=$PL->getFlat($PL->activeId) key='pos' item='i'} {foreach from=$PL->getFlat($PL->activeId) key='pos' item='i'}
<!-- {$n++} --> <!-- {$n++} -->
<!-- fade information --> <!-- fade information -->
<tr onClick="return contextmenu('{$i.attrs.id}', {if $n == 1}'PL.changeFadeIn'{else}'PL.changeTransition'{/if})" style="background-color: #bbb"> <tr onClick="return contextmenu('{$i.attrs.id}', {if $n == 1}'PL.changeFadeIn'{else}'PL.changeTransition'{/if})" style="background-color: #bbb">
<td></td> <td></td>
<td colspan="5" style="border: 0; cursor: pointer">##Fade## {$i.fadein_ms|string_format:"%d"} ms</td> <td colspan="5" style="border: 0; cursor: pointer">##Fade## {$i.fadein_ms|string_format:"%d"} ms</td>
</tr> </tr>
<tr class="{cycle values='blue1, blue2'}"> <tr class="{cycle values='blue1, blue2'}">
<td><input type="checkbox" class="checkbox" name="{$i.attrs.id}"/></td> <td><input type="checkbox" class="checkbox" name="{$i.attrs.id}"/></td>
<td {include file="playlist/actionhandler.tpl"}>{$i.title}</td> <td {include file="playlist/actionhandler.tpl"}>{$i.title}</td>
<td {include file="playlist/actionhandler.tpl"} style="text-align: right"> <td {include file="playlist/actionhandler.tpl"} style="text-align: right">
{assign var="_duration" value=$i.duration}{niceTime in=$_duration} {assign var="_duration" value=$i.duration}{niceTime in=$_duration}
</td> </td>
<td {include file="playlist/actionhandler.tpl"}>{$i.creator}</td> <td {include file="playlist/actionhandler.tpl"}>{$i.creator}</td>
<td {include file="playlist/actionhandler.tpl"}> <td {include file="playlist/actionhandler.tpl"}>
<img src="img/{$i.type}.gif" border="0" alt="{$i.type|capitalize}" {include file="sub/mouseover.tpl"} /> <img src="img/{$i.type}.png" border="0" alt="{$i.type|capitalize}" {include file="sub/mouseover.tpl"} />
</td> </td>
<td style="border: 0"> <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_top_xsm.png" 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> <a href="#" onClick="hpopup('{$UI_HANDLER}?act=PL.moveItem&id={$i.attrs.id}&pos={$pos+1}')"><img src="img/bt_bottom_xsm.png" alt="##move down##" vspace=1 hspace=1/></a>
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
{if $n} {if $n}
<!-- fade information --> <!-- fade information -->
<tr onClick="return contextmenu('{$i.attrs.id}', {if $n == 1}'PL.changeFadeIn'{else}'PL.changeFadeOut'{/if})" style="background-color: #bbb"> <tr onClick="return contextmenu('{$i.attrs.id}', {if $n == 1}'PL.changeFadeIn'{else}'PL.changeFadeOut'{/if})" style="background-color: #bbb">
<td></td> <td></td>
<td colspan="5" style="border: 0; cursor: pointer">##Fade## {$i.fadeout_ms|string_format:"%d"} ms</td> <td colspan="5" style="border: 0; cursor: pointer">##Fade## {$i.fadeout_ms|string_format:"%d"} ms</td>
</tr> </tr>
{else} {else}
<tr class="{cycle values='blue1, blue2'}"> <tr class="{cycle values='blue1, blue2'}">
<td style="border: 0" colspan="6" align="center">##No Entry##</td> <td style="border: 0" colspan="6" align="center">##No Entry##</td>
</tr> </tr>
{/if} {/if}
<!-- end item --> <!-- end item -->
</form> </form>
</table> </table>
</div> </div>
<div class="footer" style="width: 569px;"> <div class="footer" style="width: 569px;">
<input type="button" class="button_large" onClick="collector_submit('PL', '0&popup[]=PL.changeAllTransitions', '{$UI_BROWSER}', 'chgAllTrans', 400, 150)" value="##Change Fades##" /> <input type="button" class="button_large" onClick="collector_submit('PL', '0&popup[]=PL.changeAllTransitions', '{$UI_BROWSER}', 'chgAllTrans', 400, 150)" value="##Change Fades##" />
<input type="button" class="button_large" onClick="collector_submit('PL', 'PL.removeItem')" value="##Remove Selected##" /> <input type="button" class="button_large" onClick="collector_submit('PL', 'PL.removeItem')" value="##Remove Selected##" />
<input type="button" class="button_large" onClick="collector_clearAll('PL', 'PL.removeItem')" value="##Clear Playlist##" /> <input type="button" class="button_large" onClick="collector_clearAll('PL', 'PL.removeItem')" value="##Clear Playlist##" />
</div> </div>
<div class="container_button"> <div class="container_button">
<input type="button" class="button_large" value="##Save Playlist##" onClick="hpopup('{$UI_HANDLER}?act=PL.save')"> <input type="button" class="button_large" value="##Save Playlist##" onClick="hpopup('{$UI_HANDLER}?act=PL.save')">
<input type="button" class="button_large" value="##Revert to Saved##" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmRevert', 'PL.revertChanges', 400, 50)"> <input type="button" class="button_large" value="##Revert to Saved##" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmRevert', 'PL.revertChanges', 400, 50)">
<input type="button" class="button_large" value="##Delete Playlist##" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmDelete', 'PL.deleteActive', 400, 50)"> <input type="button" class="button_large" value="##Delete Playlist##" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmDelete', 'PL.deleteActive', 400, 50)">
</div> </div>
<div class="container_button"> <div class="container_button">
<input type="button" class="button_large" value="##Close Playlist##" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmRelease', 'PL.confirmRelease', 400, 50)"> <input type="button" class="button_large" value="##Close Playlist##" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmRelease', 'PL.confirmRelease', 400, 50)">
<input type="button" class="button_large" value="##Description##" onClick="location.href='{$UI_BROWSER}?act=PL.editMetaData'"> <input type="button" class="button_large" value="##Description##" onClick="location.href='{$UI_BROWSER}?act=PL.editMetaData'">
</div> </div>
</div> </div>
<!-- end playlist editor --> <!-- end playlist editor -->
{assign var="_duration" value=null} {assign var="_duration" value=null}

View file

@ -80,7 +80,7 @@ DIV.blockquote
<div class="container"> <div class="container">
<div class="content"> <div class="content">
<div class="container_elements"> <div class="container_elements">
<img src="img/logo_livesupport.gif" border="0" /> <img src="img/logo_livesupport.png" border="0" />
<h1>Quick Start - {$UI_VERSION_FULLNAME}</h1> <h1>Quick Start - {$UI_VERSION_FULLNAME}</h1>
<div class="copyright">{$UI_VERSION} &copy;2005 <a href="http://www.mdlf.org" target="_blank">MDLF</a> - maintained and distributed under GNU/GPL by <a href="http://www.campware.org" target="_blank">CAMPWARE</a></div> <div class="copyright">{$UI_VERSION} &copy;2005 <a href="http://www.mdlf.org" target="_blank">MDLF</a> - maintained and distributed under GNU/GPL by <a href="http://www.campware.org" target="_blank">CAMPWARE</a></div>

View file

@ -1,73 +1,73 @@
{$SCHEDULER->buildDay()} {$SCHEDULER->buildDay()}
{assign var="_scale" value=$SCHEDULER->getDayTimingScale()} {assign var="_scale" value=$SCHEDULER->getDayTimingScale()}
{assign var="_entrys" value=$SCHEDULER->getDayEntrys()} {assign var="_entrys" value=$SCHEDULER->getDayEntrys()}
<div class="content"> <div class="content">
<div class="container_elements"> <div class="container_elements">
<h1>##Daily View##</h1> <h1>##Daily View##</h1>
<div class="clearer">&nbsp;</div> <div class="clearer">&nbsp;</div>
<p>##{$SCHEDULER->curr.monthname}## {$SCHEDULER->curr.day}, {$SCHEDULER->curr.year}</p> <p>##{$SCHEDULER->curr.monthname}## {$SCHEDULER->curr.day}, {$SCHEDULER->curr.year}</p>
<form name="SCHEDULER"> <form name="SCHEDULER">
<table class="scheduler_day" style="width: 606px;"> <table class="scheduler_day" style="width: 606px;">
{* Tag vor/zurück + code um heutigen Tag abzufragen {* Tag vor/zurück + code um heutigen Tag abzufragen
<tr> <tr>
<th><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&day=--')"><<</a></th> <th><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&day=--')"><<</a></th>
<th colspan="3" {if $SCHEDULER->curr.isToday} bgcolor="grey"{/if}>##{$SCHEDULER->curr.dayname}##, ##{$SCHEDULER->curr.year}##-##{$SCHEDULER->curr.month}##-##{$SCHEDULER->curr.day}##</th> <th colspan="3" {if $SCHEDULER->curr.isToday} bgcolor="grey"{/if}>##{$SCHEDULER->curr.dayname}##, ##{$SCHEDULER->curr.year}##-##{$SCHEDULER->curr.month}##-##{$SCHEDULER->curr.day}##</th>
<th><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&day=%2B%2B')">>></a></th> <th><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&day=%2B%2B')">>></a></th>
</tr> </tr>
*} *}
<tr class="blue_head"> <tr class="blue_head">
{* Multi-action checkboxen, die brauchen wir aber höchstens bei den Einträgen um mehere auf einmal zu löschen ? {* Multi-action checkboxen, die brauchen wir aber höchstens bei den Einträgen um mehere auf einmal zu löschen ?
<td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('SCHEDULER')"></td> <td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('SCHEDULER')"></td>
*} *}
<td style="border-left: 1px solid #ccc; width: 95px">##Time##</td> <td style="border-left: 1px solid #ccc; width: 95px">##Time##</td>
<td style="width: 481px; border-right: 0;">##Show Info##</td> <td style="width: 481px; border-right: 0;">##Show Info##</td>
</tr> </tr>
{foreach from=$_scale item="_hour"} {foreach from=$_scale item="_hour"}
{if is_array($_entrys[$_hour])} {if is_array($_entrys[$_hour])}
<tr class="blue1"> <tr class="blue1">
<td style="border-left: 1px solid #ccc; cursor: pointer" {include file="scheduler/day_additem.tpl"}>{$_hour|string_format:"%02d"}:00</td> <td style="border-left: 1px solid #ccc; cursor: pointer" {include file="scheduler/day_additem.tpl"}>{$_hour|string_format:"%02d"}:00</td>
<td style="border-right: 1px solid #ccc;"> <td style="border-right: 1px solid #ccc;">
{foreach from=$_entrys[$_hour] item="i"} {* hier werden die Einträge welche in der jeweil. h beginnen durchlaufen *} {foreach from=$_entrys[$_hour] item="i"} {* hier werden die Einträge welche in der jeweil. h beginnen durchlaufen *}
<div {include file="scheduler/removeitem.tpl"}> <div {include file="scheduler/removeitem.tpl"}>
<img src="img/playlist.gif" border="0" {include file="sub/mouseover.tpl"}> <img src="img/playlist.png" border="0" {include file="sub/mouseover.tpl"}>
&nbsp; &nbsp;
<b>{$i.title}</b> <b>{$i.title}</b>
{$i.start}-{$i.end} {$i.start}-{$i.end}
{$i.creator} {$i.creator}
</div> </div>
{include file="scheduler/between_additem.tpl"} {include file="scheduler/between_additem.tpl"}
{/foreach} {/foreach}
</td> </td>
</tr> </tr>
{else} {else}
<tr class="blue2" {include file="scheduler/day_additem.tpl"}> <tr class="blue2" {include file="scheduler/day_additem.tpl"}>
<td style="border-left: 1px solid #ccc;">{$_hour|string_format:"%02d"}:00</td> <td style="border-left: 1px solid #ccc;">{$_hour|string_format:"%02d"}:00</td>
<td style="border-right: 1px solid #ccc;"></td> <td style="border-right: 1px solid #ccc;"></td>
</tr> </tr>
{/if} {/if}
{/foreach} {/foreach}
</table> </table>
</form> </form>
{* Multiaction buttons {* Multiaction buttons
<div class="container_button" style="float: right; margin-top: 10px;"> <div class="container_button" style="float: right; margin-top: 10px;">
<input type="button" class="button_large" value="Edit Playlist" /> <input type="button" class="button_large" value="Edit Playlist" />
<input type="button" class="button_large" value="Delete Playlist" /> <input type="button" class="button_large" value="Delete Playlist" />
<input type="button" class="button_large" value="Add Playlist" /> <input type="button" class="button_large" value="Add Playlist" />
</div> </div>
<div class="clearer">&nbsp;</div> <div class="clearer">&nbsp;</div>
*} *}
</div> </div>
</div> </div>

View file

@ -1,75 +1,75 @@
{$SCHEDULER->buildWeek()} {$SCHEDULER->buildWeek()}
{assign var="_scale" value=$SCHEDULER->getDayTimingScale()} {assign var="_scale" value=$SCHEDULER->getDayTimingScale()}
<div class="content" style="width: auto;"> <div class="content" style="width: auto;">
<!-- start scheduler --> <!-- start scheduler -->
<div class="container_elements" style="width: 790px;"> <div class="container_elements" style="width: 790px;">
<div class="head_scheduler" style=""><h1>##Weekly View##</h1></div> <div class="head_scheduler" style=""><h1>##Weekly View##</h1></div>
{* {*
<div class="container_button_scheduler"> <div class="container_button_scheduler">
<input type="button" class="button_large" value="Start Scheduler" /> <input type="button" class="button_large" value="Start Scheduler" />
<input type="button" class="button_large" value="Stop Scheduler" /> <input type="button" class="button_large" value="Stop Scheduler" />
</div> </div>
*} *}
<div class="clearer">&nbsp;</div> <div class="clearer">&nbsp;</div>
<p>{$SCHEDULER->curr.week}. ##calendar week## {$SCHEDULER->curr.year}</p> <p>{$SCHEDULER->curr.week}. ##calendar week## {$SCHEDULER->curr.year}</p>
<table class="scheduler_week"> <table class="scheduler_week">
<tr> <tr>
{* Link Woche zurück <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=--')"><<</a> *} {* Link Woche zurück <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=--')"><<</a> *}
<th class="firstrow" style="border-left: 1px solid #ccc"></th> <th class="firstrow" style="border-left: 1px solid #ccc"></th>
{foreach from=$SCHEDULER->Week item="_Day"} {* hier werden die Tagesnamen angezeigt *} {foreach from=$SCHEDULER->Week item="_Day"} {* hier werden die Tagesnamen angezeigt *}
<th class="date"></th> <th class="date"></th>
<th class="day"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')">##{$_Day.label.full}##</a></th> <th class="day"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')">##{$_Day.label.full}##</a></th>
{/foreach} {/foreach}
{* Link Woche vor <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=%2B%2B')">>></a> *} {* Link Woche vor <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=%2B%2B')">>></a> *}
</tr> </tr>
<tr> <tr>
<td class="firstrow_secondcol" style="border-left: 1px solid #ccc"></td> <td class="firstrow_secondcol" style="border-left: 1px solid #ccc"></td>
{foreach from=$SCHEDULER->Week item="_Day"} {* hier werden die Tagesnummern angezeigt *} {foreach from=$SCHEDULER->Week item="_Day"} {* hier werden die Tagesnummern angezeigt *}
<td class="date_secondcol"> <td class="date_secondcol">
<a href="#" {include file="scheduler/week_additem.tpl"}><b>{$_Day.day}</b></a> <a href="#" {include file="scheduler/week_additem.tpl"}><b>{$_Day.day}</b></a>
</td> </td>
<td class="day_secondcol"></td> <td class="day_secondcol"></td>
{/foreach} {/foreach}
</tr> </tr>
{assign var="_entrys" value=$SCHEDULER->getWeekEntrys()} {assign var="_entrys" value=$SCHEDULER->getWeekEntrys()}
{foreach from=$_scale item="_hour"} {foreach from=$_scale item="_hour"}
{assign var="_year" value=$_Day.year} {assign var="_year" value=$_Day.year}
{assign var="_month" value=$_Day.month} {assign var="_month" value=$_Day.month}
<tr> <tr>
<td class="firstrow" style="border-left: 1px solid #ccc">{$_hour}</td> <td class="firstrow" style="border-left: 1px solid #ccc">{$_hour}</td>
{foreach from=$SCHEDULER->Week item="_day"} {foreach from=$SCHEDULER->Week item="_day"}
{if is_array($_entrys[$_day.day][$_hour])} {if is_array($_entrys[$_day.day][$_hour])}
<td class="date_full" {include file="scheduler/week_additem.tpl"}></td> <td class="date_full" {include file="scheduler/week_additem.tpl"}></td>
<td class="day_full"> <td class="day_full">
{foreach from=$_entrys[$_day.day][$_hour] item="i"} {foreach from=$_entrys[$_day.day][$_hour] item="i"}
<div {include file="scheduler/removeitem.tpl"}> <div {include file="scheduler/removeitem.tpl"}>
<img src="img/playlist.gif" border="0" {include file="sub/mouseover.tpl"}> <img src="img/playlist.png" border="0" {include file="sub/mouseover.tpl"}>
&nbsp; &nbsp;
<h2>{$i.title|truncate:12}</h2> <h2>{$i.title|truncate:12}</h2>
<p>{$i.start|truncate:8:""} - {$i.end|truncate:8:""}</p> <p>{$i.start|truncate:8:""} - {$i.end|truncate:8:""}</p>
<p>{$i.creator}</p> <p>{$i.creator}</p>
</div> </div>
{include file="scheduler/between_additem.tpl"} {include file="scheduler/between_additem.tpl"}
{/foreach} {/foreach}
</td> </td>
{else} {else}
<td class="date" {include file="scheduler/week_additem.tpl"}></td> <td class="date" {include file="scheduler/week_additem.tpl"}></td>
<td class="day" {include file="scheduler/week_additem.tpl"}></td> <td class="day" {include file="scheduler/week_additem.tpl"}></td>
{/if} {/if}
{/foreach} {/foreach}
</tr> </tr>
{/foreach} {/foreach}
</table> </table>
</div> </div>
<div class="clearer">&nbsp;</div> <div class="clearer">&nbsp;</div>
</div> </div>
<!-- end playlist editor --> <!-- end playlist editor -->
</div> </div>

View file

@ -40,10 +40,10 @@
<td {include file="scratchpad/actionhandler.tpl"} style="text-align: right; cursor: pointer">{niceTime in=$_duration}</td> <td {include file="scratchpad/actionhandler.tpl"} style="text-align: right; cursor: pointer">{niceTime in=$_duration}</td>
<td {include file="scratchpad/actionhandler.tpl"} style="border: 0; text-align: center; cursor: pointer"> <td {include file="scratchpad/actionhandler.tpl"} style="border: 0; text-align: center; cursor: pointer">
{if $PL->isAvailable($i.id) == false} {if $PL->isAvailable($i.id) == false}
<div align="left"><img src="img/ico_lock.gif"> <div align="left"><img src="img/ico_lock.png">
<img src="img/{$i.type}.gif" border="0" alt="{$i.type|capitalize}" {include file="sub/mouseover.tpl"} /></div> <img src="img/{$i.type}.png" border="0" alt="{$i.type|capitalize}" {include file="sub/mouseover.tpl"} /></div>
{else} {else}
<img src="img/{$i.type}.gif" border="0" alt="{$i.type|capitalize}" {include file="sub/mouseover.tpl"} /> {/if} <img src="img/{$i.type}.png" border="0" alt="{$i.type|capitalize}" {include file="sub/mouseover.tpl"} /> {/if}
</td> </td>
</tr> </tr>
<!-- end item --> <!-- end item -->

View file

@ -1,121 +1,121 @@
<script language="javascript"> <script language="javascript">
{literal} {literal}
// play-progress-bar object // play-progress-bar object
function plPrBar(tit, eh, ei, es, dh, di, ds, next, ntit, nh, ni, ns){ function plPrBar(tit, eh, ei, es, dh, di, ds, next, ntit, nh, ni, ns){
this.tit = tit; this.tit = tit;
this.next = next; this.next = next;
this.interval = 333; this.interval = 333;
this.ntit = ntit; this.ntit = ntit;
this.nh = nh; this.nh = nh;
this.ni = ni; this.ni = ni;
this.ns = ns; this.ns = ns;
// inits: // inits:
this.elapsed = new Date(); this.elapsed = new Date();
this.duration = new Date(); this.duration = new Date();
this.remaining = new Date(); this.remaining = new Date();
this.elapsed.setTime (Date.UTC(1970, 0, 1, eh, ei, es)); this.elapsed.setTime (Date.UTC(1970, 0, 1, eh, ei, es));
this.duration.setTime(Date.UTC(1970, 0, 1, dh, di, ds)); this.duration.setTime(Date.UTC(1970, 0, 1, dh, di, ds));
// methods: // methods:
this.init = plPrBar_init; this.init = plPrBar_init;
this.tick = plPrBar_tick; this.tick = plPrBar_tick;
this.update = plPrBar_update; this.update = plPrBar_update;
this.stop = plPrBar_stop; this.stop = plPrBar_stop;
this.show = plPrBar_show; this.show = plPrBar_show;
this.hide = plPrBar_hide; this.hide = plPrBar_hide;
this.create = plPrBar_create; this.create = plPrBar_create;
this.run = setInterval("ppb.tick();", this.interval); this.run = setInterval("ppb.tick();", this.interval);
} }
function plPrBar_init() { function plPrBar_init() {
document.getElementById("now_title").innerHTML = this.tit; document.getElementById("now_title").innerHTML = this.tit;
if (this.next == 0) { if (this.next == 0) {
document.getElementById("next_clip").innerHTML = ''; document.getElementById("next_clip").innerHTML = '';
} else { } else {
document.getElementById("next_title").innerHTML = this.ntit; document.getElementById("next_title").innerHTML = this.ntit;
document.getElementById("next_duration").innerHTML = '(' + twoDigit(this.nh) + ':' + twoDigit(this.ni) + ':' + twoDigit(this.ns) + ')'; document.getElementById("next_duration").innerHTML = '(' + twoDigit(this.nh) + ':' + twoDigit(this.ni) + ':' + twoDigit(this.ns) + ')';
} }
this.show(); this.show();
this.update(); this.update();
} }
function plPrBar_tick() { function plPrBar_tick() {
if (this.remaining.getTime() <= this.interval*2) { if (this.remaining.getTime() <= this.interval*2) {
this.stop(); this.stop();
return; return;
} }
this.elapsed.setTime(this.elapsed.getTime() + this.interval); this.elapsed.setTime(this.elapsed.getTime() + this.interval);
this.remaining.setTime(this.duration.getTime() - this.elapsed.getTime()); this.remaining.setTime(this.duration.getTime() - this.elapsed.getTime());
this.update(); this.update();
} }
function plPrBar_update() { function plPrBar_update() {
document.getElementById("now_elapsed").innerHTML = twoDigit(this.elapsed.getUTCHours()) + ":" + twoDigit(this.elapsed.getUTCMinutes()) + ":" + twoDigit(this.elapsed.getUTCSeconds()); document.getElementById("now_elapsed").innerHTML = twoDigit(this.elapsed.getUTCHours()) + ":" + twoDigit(this.elapsed.getUTCMinutes()) + ":" + twoDigit(this.elapsed.getUTCSeconds());
document.getElementById("now_remaining").innerHTML = twoDigit(this.remaining.getUTCHours()) + ":" + twoDigit(this.remaining.getUTCMinutes()) + ":" + twoDigit(this.remaining.getUTCSeconds()); document.getElementById("now_remaining").innerHTML = twoDigit(this.remaining.getUTCHours()) + ":" + twoDigit(this.remaining.getUTCMinutes()) + ":" + twoDigit(this.remaining.getUTCSeconds());
document.getElementById("now_scala").style.width = (100 / this.duration.getTime() * this.elapsed.getTime()) + "%"; document.getElementById("now_scala").style.width = (100 / this.duration.getTime() * this.elapsed.getTime()) + "%";
} }
function plPrBar_stop() { function plPrBar_stop() {
clearInterval(this.run); clearInterval(this.run);
if (this.next == 0) { if (this.next == 0) {
// just if no next item to play // just if no next item to play
this.hide(); this.hide();
} else { } else {
// all values for next clip needed here: // all values for next clip needed here:
jsCom("jscom_wrapper", ["uiBrowser", "SCHEDULER", "getNowNextClip4jscom"], this.create); jsCom("jscom_wrapper", ["uiBrowser", "SCHEDULER", "getNowNextClip4jscom"], this.create);
} }
} }
function plPrBar_create(jscomRes) { function plPrBar_create(jscomRes) {
if (jscomRes !== '') { if (jscomRes !== '') {
eval('var parms = ' + jscomRes + ';'); eval('var parms = ' + jscomRes + ';');
ppb = new plPrBar(parms[0], ppb = new plPrBar(parms[0],
parms[1], parms[2], parms[3], parms[1], parms[2], parms[3],
parms[4], parms[5], parms[6], parms[4], parms[5], parms[6],
parms[7], parms[8], parms[9], parms[10], parms[11] parms[7], parms[8], parms[9], parms[10], parms[11]
); );
ppb.init(); ppb.init();
} else { } else {
plPrBar_hide(); plPrBar_hide();
}; };
} }
function plPrBar_show() { function plPrBar_show() {
document.getElementById("statusbar_indicator").innerHTML = '<img src="img/el_onair.gif" alt="on air">'; document.getElementById("statusbar_indicator").innerHTML = '<img src="img/el_onair.png" alt="on air">';
document.getElementById("statusbar_whatsplaying").className = 'whatplaying'; document.getElementById("statusbar_whatsplaying").className = 'whatplaying';
} }
function plPrBar_hide() { function plPrBar_hide() {
document.getElementById("statusbar_indicator").innerHTML = '<img src="img/el_offair.gif" alt="off air">'; document.getElementById("statusbar_indicator").innerHTML = '<img src="img/el_offair.png" alt="off air">';
document.getElementById("statusbar_whatsplaying").innerHTML = ""; document.getElementById("statusbar_whatsplaying").innerHTML = "";
} }
{/literal} {/literal}
{if (is_array($_nowplaying.duration))} {if (is_array($_nowplaying.duration))}
ppb = new plPrBar ("{$_nowplaying.title|truncate:33}", ppb = new plPrBar ("{$_nowplaying.title|truncate:33}",
{$_nowplaying.elapsed.h|string_format:"%d"}, {$_nowplaying.elapsed.m|string_format:"%d"}, {$_nowplaying.elapsed.s|string_format:"%d"}, {$_nowplaying.elapsed.h|string_format:"%d"}, {$_nowplaying.elapsed.m|string_format:"%d"}, {$_nowplaying.elapsed.s|string_format:"%d"},
{$_nowplaying.duration.h|string_format:"%d"}, {$_nowplaying.duration.m|string_format:"%d"}, {$_nowplaying.duration.s|string_format:"%d"}, {$_nowplaying.duration.h|string_format:"%d"}, {$_nowplaying.duration.m|string_format:"%d"}, {$_nowplaying.duration.s|string_format:"%d"},
{if is_array($_nextplaying)} {if is_array($_nextplaying)}
1, "{$_nextplaying.title|truncate:22}", {$_nextplaying.duration.h|string_format:'%d'}, {$_nextplaying.duration.m|string_format:'%2d'}, {$_nextplaying.duration.s|string_format:'%2d'} 1, "{$_nextplaying.title|truncate:22}", {$_nextplaying.duration.h|string_format:'%d'}, {$_nextplaying.duration.m|string_format:'%2d'}, {$_nextplaying.duration.s|string_format:'%2d'}
{else} {else}
0, "", 0, 0, 0 0, "", 0, 0, 0
{/if} {/if}
); );
ppb.init(); ppb.init();
{/if} {/if}
{$JSCOM->genJsCode()} {$JSCOM->genJsCode()}
</script> </script>

View file

@ -1,66 +1,66 @@
{assign var='_nowplaying' value=$SCHEDULER->getNowNextClip()} {assign var='_nowplaying' value=$SCHEDULER->getNowNextClip()}
{assign var='_nextplaying' value=$SCHEDULER->getNowNextClip(1)} {assign var='_nextplaying' value=$SCHEDULER->getNowNextClip(1)}
<!-- start header --> <!-- start header -->
<!-- start header left --> <!-- start header left -->
<div class="headLeft"> <div class="headLeft">
<img src="img/logo_livesupport.gif" alt="Livesupport Logo" /> <img src="img/logo_livesupport.png" alt="Livesupport Logo" />
<div class="container"> <div class="container">
{include file="userinfo.tpl"} {include file="userinfo.tpl"}
</div> </div>
</div> </div>
<!-- end header left --> <!-- end header left -->
<!-- start header right --> <!-- start header right -->
<div class="headRight"> <div class="headRight">
<!-- start station information --> <!-- start station information -->
<div class="station"> <div class="station">
<img src="{$STATIONPREFS.stationLogoPath}" alt="{$STATIONPREFS.stationName}" width='127' height='34'> <img src="{$STATIONPREFS.stationLogoPath}" alt="{$STATIONPREFS.stationName}" width='127' height='34'>
<div class="frequence">{$STATIONPREFS.stationFrequency}</div> <div class="frequence">{$STATIONPREFS.stationFrequency}</div>
</div> </div>
<!-- end station information --> <!-- end station information -->
<!-- start onair information --> <!-- start onair information -->
<div class="onair" id="statusbar_indicator"> <div class="onair" id="statusbar_indicator">
{if $_nowplaying} {if $_nowplaying}
<img src="img/el_onair.gif" alt="on air" /> <img src="img/el_onair.png" alt="on air" />
{else} {else}
<img src="img/el_offair.gif" alt="off air"> <img src="img/el_offair.png" alt="off air">
{/if} {/if}
</div> </div>
<!-- end onair information --> <!-- end onair information -->
<!-- start station time --> <!-- start station time -->
<div class="stationtime"> <div class="stationtime">
<h1>##Station Time##</h1> <h1>##Station Time##</h1>
<div class="time"><span id="statusbar_servertime" class="clock" style="position:relative;">{$smarty.now|date_format:"%H:%M:%S"}</span> <div class="time"><span id="statusbar_servertime" class="clock" style="position:relative;">{$smarty.now|date_format:"%H:%M:%S"}</span>
<div class="timezone">cet</div> <div class="timezone">cet</div>
</div> </div>
</div> </div>
<!-- end station time --> <!-- end station time -->
<!-- start what playing --> <!-- start what playing -->
<div class="whatplaying" id="statusbar_whatsplaying"> <div class="whatplaying" id="statusbar_whatsplaying">
{if $_nowplaying} {if $_nowplaying}
<div class="nowplaying">##Now Playing##: <strong id="now_title"></strong></div> <div class="nowplaying">##Now Playing##: <strong id="now_title"></strong></div>
<div class="scala"> <div class="scala">
<div class="scala_in" id="now_scala" style="width: {$_nowplaying.percentage}%;">&nbsp;</div> <div class="scala_in" id="now_scala" style="width: {$_nowplaying.percentage}%;">&nbsp;</div>
</div> </div>
<div class="time"> <div class="time">
<div class="left">Elapsed: <strong id="now_elapsed"></strong></div> <div class="left">Elapsed: <strong id="now_elapsed"></strong></div>
<div class="right">Remaining: <strong id="now_remaining"></strong></div> <div class="right">Remaining: <strong id="now_remaining"></strong></div>
</div> </div>
{/if} {/if}
<div class="clearer"></div> <div class="clearer"></div>
<div id="next_clip"> <div id="next_clip">
{if $_nextplaying} {if $_nextplaying}
<p>##Playing Next##: <span id="next_title"></span> &nbsp;<span id="next_duration"></span></p> <p>##Playing Next##: <span id="next_title"></span> &nbsp;<span id="next_duration"></span></p>
{/if} {/if}
</div> </div>
</div> </div>
<!-- end what playing --> <!-- end what playing -->
</div> </div>
<!-- end header right --> <!-- end header right -->
<!-- end header --> <!-- end header -->
{include file="script/clock.js.tpl"} {include file="script/clock.js.tpl"}
{include file="script/progressbar.js.tpl"} {include file="script/progressbar.js.tpl"}
{assign var='_nowplaying' value=null} {assign var='_nowplaying' value=null}
{assign var='_nextplaying' value=null} {assign var='_nextplaying' value=null}

View file

@ -1,102 +1,102 @@
{assign var="_gname" value=$SUBJECTS->Base->gb->getSubjName($_REQUEST.id)} {assign var="_gname" value=$SUBJECTS->Base->gb->getSubjName($_REQUEST.id)}
<div class="container_elements" style="width: 607px;"> <div class="container_elements" style="width: 607px;">
<h1>{tra 0='Manage Group: $1' 1=$_gname}</h1> <h1>{tra 0='Manage Group: $1' 1=$_gname}</h1>
<div class="container_table" style="width: 594px;"> <div class="container_table" style="width: 594px;">
<!-- start current group member --> <!-- start current group member -->
<div class="container_elements" style="float: left"> <div class="container_elements" style="float: left">
<h1>##Current Members##</h1> <h1>##Current Members##</h1>
<div class="head" style="width:255px; height: 21px;">&nbsp;</div> <div class="head" style="width:255px; height: 21px;">&nbsp;</div>
<div class="container_table" style="width:275px;"> <div class="container_table" style="width:275px;">
<table style="width:255px;"> <table style="width:255px;">
<form name="GRP"> <form name="GRP">
<tr class="blue_head"> <tr class="blue_head">
<td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('GRP')"></td> <td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('GRP')"></td>
<td style="width: 164px">##Login##</td> <td style="width: 164px">##Login##</td>
<td style="width: 41px; border: 0; text-align: center">##Type##</td> <td style="width: 41px; border: 0; text-align: center">##Type##</td>
</tr> </tr>
{assign var="_member" value=$SUBJECTS->getGroupMember($_REQUEST.id)} {assign var="_member" value=$SUBJECTS->getGroupMember($_REQUEST.id)}
{if (is_array($_member) && count($_member)>0)} {if (is_array($_member) && count($_member)>0)}
{foreach from=$_member item="i"} {foreach from=$_member item="i"}
<tr class="{cycle values='blue1, blue2'}"> <tr class="{cycle values='blue1, blue2'}">
<td><input type="checkbox" class="checkbox" name="{$i.id}"/></td> <td><input type="checkbox" class="checkbox" name="{$i.id}"/></td>
<td onClick="return contextmenu('login={urlencode str=$i.login}&gname={urlencode str=$_gname}', 'SUBJECTS.removeSubjFromGr')">{$i.login}</td> <td onClick="return contextmenu('login={urlencode str=$i.login}&gname={urlencode str=$_gname}', 'SUBJECTS.removeSubjFromGr')">{$i.login}</td>
<td style="border: 0; text-align: center" <td style="border: 0; text-align: center"
onClick="return contextmenu('login={urlencode str=$i.login}&gname={urlencode str=$_gname}', 'SUBJECTS.removeSubjFromGr')"> onClick="return contextmenu('login={urlencode str=$i.login}&gname={urlencode str=$_gname}', 'SUBJECTS.removeSubjFromGr')">
{if $i.type|lower == 'u'} {if $i.type|lower == 'u'}
<img src="img/user.gif" border="0" alt="User" /> <img src="img/user.png" border="0" alt="User" />
{else} {else}
<img src="img/group.gif" border="0" alt="Group" /> <img src="img/group.png" border="0" alt="Group" />
{/if} {/if}
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
{else} {else}
<tr><td colspan="3" align="center" style="border: 0">##No group members##</td></tr> <tr><td colspan="3" align="center" style="border: 0">##No group members##</td></tr>
{/if} {/if}
</form> </form>
</table> </table>
</div> </div>
<div class="footer" style="width:250px;"> <div class="footer" style="width:250px;">
<a href="" onClick="collector_submit('GRP', 'SUBJECTS.removeSubjFromGr&gname={urlencode str=$_gname}')" id="blue_head">##Remove selected##</a> <a href="" onClick="collector_submit('GRP', 'SUBJECTS.removeSubjFromGr&gname={urlencode str=$_gname}')" id="blue_head">##Remove selected##</a>
</div> </div>
</div> </div>
<!-- end current group member --> <!-- end current group member -->
<!-- start add group member --> <!-- start add group member -->
<div class="container_elements" style="float: right"> <div class="container_elements" style="float: right">
<h1>##Add Members##</h1> <h1>##Add Members##</h1>
<div class="head" style="width:255px; height: 21px;">&nbsp;</div> <div class="head" style="width:255px; height: 21px;">&nbsp;</div>
<div class="container_table" style="width:275px;"> <div class="container_table" style="width:275px;">
<table style="width:255px;"> <table style="width:255px;">
<form name="NOGRP"> <form name="NOGRP">
<!-- start table header --> <!-- start table header -->
<tr class="blue_head"> <tr class="blue_head">
<td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('NOGRP')"></td> <td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('NOGRP')"></td>
<td style="width: 164px">##Login##</td> <td style="width: 164px">##Login##</td>
<td style="width: 41px; border: 0">##Type##</td> <td style="width: 41px; border: 0">##Type##</td>
</tr> </tr>
<!-- end table header --> <!-- end table header -->
{assign var="_nonmember" value=$SUBJECTS->getNonGroupMember($_REQUEST.id)} {assign var="_nonmember" value=$SUBJECTS->getNonGroupMember($_REQUEST.id)}
{foreach from=$_nonmember item=i} {foreach from=$_nonmember item=i}
{if $i.login !== $_gname} {if $i.login !== $_gname}
{assign var="_loop" value=true} {assign var="_loop" value=true}
<!-- start item --> <!-- start item -->
<tr class="{cycle values='blue1, blue2'}"> <tr class="{cycle values='blue1, blue2'}">
<td><input type="checkbox" class="checkbox" name="{$i.id}"/></td> <td><input type="checkbox" class="checkbox" name="{$i.id}"/></td>
<td onClick="return contextmenu('login={urlencode str=$i.login}&gname={urlencode str=$_gname}', 'SUBJECTS.addSubj2Gr')">{$i.login}</td> <td onClick="return contextmenu('login={urlencode str=$i.login}&gname={urlencode str=$_gname}', 'SUBJECTS.addSubj2Gr')">{$i.login}</td>
<td style="border: 0; text-align: center" <td style="border: 0; text-align: center"
onClick="return contextmenu('login={urlencode str=$i.login}&gname={urlencode str=$_gname}', 'SUBJECTS.removeSubjFromGr')"> onClick="return contextmenu('login={urlencode str=$i.login}&gname={urlencode str=$_gname}', 'SUBJECTS.removeSubjFromGr')">
{if $i.type|lower == 'u'} {if $i.type|lower == 'u'}
<img src="img/user.gif" border="0" alt="User" /> <img src="img/user.png" border="0" alt="User" />
{else} {else}
<img src="img/group.gif" border="0" alt="Group" /> <img src="img/group.png" border="0" alt="Group" />
{/if} {/if}
</td> </td>
</tr> </tr>
<!-- end item --> <!-- end item -->
{/if} {/if}
{/foreach} {/foreach}
{if $_loop != true} {if $_loop != true}
<tr><td colspan="3" align="center" style="border: 0">##Nothing left##</td></tr> <tr><td colspan="3" align="center" style="border: 0">##Nothing left##</td></tr>
{/if} {/if}
</form> </form>
</table> </table>
</div> </div>
<div class="footer" style="width:250px;"> <div class="footer" style="width:250px;">
<a href="" onClick="collector_submit('NOGRP', 'SUBJECTS.addSubj2Gr&gname={urlencode str=$_gname}')" id="blue_head">##Add selected##</a> <a href="" onClick="collector_submit('NOGRP', 'SUBJECTS.addSubj2Gr&gname={urlencode str=$_gname}')" id="blue_head">##Add selected##</a>
</div> </div>
</div> </div>
<!-- end add group member --> <!-- end add group member -->
</div> </div>
<input type="button" class="button_wide" value="##Back to overview##" onClick="location.href='{$UI_BROWSER}?act=SUBJECTS'"> <input type="button" class="button_wide" value="##Back to overview##" onClick="location.href='{$UI_BROWSER}?act=SUBJECTS'">
</div> </div>

View file

@ -1,42 +1,42 @@
<div class="container_elements" style="width: 607px;"> <div class="container_elements" style="width: 607px;">
<h1>##User/Group Management##</h1> <h1>##User/Group Management##</h1>
<div class="container_table" style="width: 594px;"> <div class="container_table" style="width: 594px;">
<table style="width: 574px;"> <table style="width: 574px;">
<tr class="blue_head"> <tr class="blue_head">
<td>##Login##</td> <td>##Login##</td>
<td style="width: 40px; text-align: center">##Members##</td> <td style="width: 40px; text-align: center">##Members##</td>
<td style="width: 40px; border: 0; text-align: center">##Type##</td> <td style="width: 40px; border: 0; text-align: center">##Type##</td>
</tr> </tr>
{foreach from=$SUBJECTS->getSubjectsWCnt() item=i} {foreach from=$SUBJECTS->getSubjectsWCnt() item=i}
{if $i.type|lower == 'g'}{assign var="_type" value="group"}{else}{assign var="_type" value="user"}{/if} {if $i.type|lower == 'g'}{assign var="_type" value="group"}{else}{assign var="_type" value="user"}{/if}
<tr class="{cycle values='blue1, blue2'}" <tr class="{cycle values='blue1, blue2'}"
onClick="return contextmenu('id={$i.id}&login={urlencode str=$i.login}', {if $i.type|lower eq 'g'}'SUBJECTS.manageGroupMember', {else}'SUBJECTS.chgPasswd', {/if} 'SUBJECTS.removeSubj')" onClick="return contextmenu('id={$i.id}&login={urlencode str=$i.login}', {if $i.type|lower eq 'g'}'SUBJECTS.manageGroupMember', {else}'SUBJECTS.chgPasswd', {/if} 'SUBJECTS.removeSubj')"
> >
<td>{$i.login}</td> <td>{$i.login}</td>
<td style="width: 30px; text-align: center;"> <td style="width: 30px; text-align: center;">
{if $i.type|lower == 'g'} {if $i.type|lower == 'g'}
{$i.cnt} {$i.cnt}
{else} {else}
- -
{/if} {/if}
</td> </td>
<td style="border: 0; text-align: center;"><img src="img/{$_type}.gif" border="0" alt="{$_type|capitalize}" /></td> <td style="border: 0; text-align: center;"><img src="img/{$_type}.png" border="0" alt="{$_type|capitalize}" /></td>
</tr> </tr>
{/foreach} {/foreach}
</table> </table>
<br> <br>
<div class="container_button"> <div class="container_button">
<input type="button" class="button" value="##Add User##" onclick="location.href='{$UI_BROWSER}?act=SUBJECTS.addUser'"> <input type="button" class="button" value="##Add User##" onclick="location.href='{$UI_BROWSER}?act=SUBJECTS.addUser'">
<input type="button" class="button" value="##Add Group##" onclick="location.href='{$UI_BROWSER}?act=SUBJECTS.addGroup'"> <input type="button" class="button" value="##Add Group##" onclick="location.href='{$UI_BROWSER}?act=SUBJECTS.addGroup'">
</div> </div>
</div> </div>
</div> </div>
{assign var="_type" value=null} {assign var="_type" value=null}

View file

@ -20,7 +20,7 @@ $jscom->handler();
## load Smarty+filters ############################################## ## load Smarty+filters ##############################################
require_once dirname(__FILE__).'/SmartyExtensions.inc.php'; require_once dirname(__FILE__).'/ui_smartyExtensions.inc.php';
#$Smarty->load_filter('output', 'trimwhitespace'); #$Smarty->load_filter('output', 'trimwhitespace');
#$Smarty->load_filter('post', 'template_marker'); #$Smarty->load_filter('post', 'template_marker');
$Smarty->load_filter('output', 'localizer'); $Smarty->load_filter('output', 'localizer');

View file

@ -141,7 +141,7 @@ require_once dirname(__FILE__).'/formmask/generic.inc.php';
require_once dirname(__FILE__).'/ui_calendar.class.php'; require_once dirname(__FILE__).'/ui_calendar.class.php';
require_once dirname(__FILE__).'/ui_scheduler.class.php'; require_once dirname(__FILE__).'/ui_scheduler.class.php';
require_once dirname(__FILE__).'/ui_subjects.class.php'; require_once dirname(__FILE__).'/ui_subjects.class.php';
require_once dirname(__FILE__).'/jscom.php'; require_once dirname(__FILE__).'/ui_jscom.php';
## well known classes ## well known classes
require_once 'DB.php'; require_once 'DB.php';

View file

@ -525,7 +525,7 @@ class uiScheduler extends uiCalendar
## XML-RPC wrapper methods ############################################################################################ ## XML-RPC wrapper methods ############################################################################################
function initXmlRpc() function initXmlRpc()
{ {
include_once dirname(__FILE__).'/SchedulerPhpClient.class.php'; include_once dirname(__FILE__).'/ui_schedulerPhpClient.class.php';
$this->spc =& SchedulerPhpClient::factory($this->Base->dbc, $mdefs, $this->Base->config, FALSE, FALSE); $this->spc =& SchedulerPhpClient::factory($this->Base->dbc, $mdefs, $this->Base->config, FALSE, FALSE);
} }

View file

@ -23,8 +23,8 @@
Author : $Author: sebastian $ Author : $Author: sebastian $
Version : $Revision: 1.3 $ Version : $Revision: 1.1 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/htmlUI/var/Attic/SchedulerPhpClient.class.php,v $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/htmlUI/var/ui_schedulerPhpClient.class.php,v $
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/