*** empty log message ***

This commit is contained in:
sebastian 2005-03-18 13:01:33 +00:00
parent 81662c2b41
commit 9dd294a34d
30 changed files with 457 additions and 183 deletions

View file

@ -7,7 +7,6 @@
{include file="script/basics.js.tpl"}
{include file="script/contextMenue.js.tpl"}
{include file="script/collector.js.tpl"}
{include file="script/mouseOver.js.tpl"}
</head>
<body>

View file

@ -1,8 +1,3 @@
{*Smarty template*}
{* {include file="script/search.js.tpl"} *}
{literal}
<style type="text/css">
.dynformelement {

View file

@ -1,5 +1,3 @@
{*Smarty template*}
{if $searchForm}
{assign var="_act_prefix" value="SEARCH"}
{include file="library/searchForm.tpl"}
@ -7,7 +5,7 @@
{SEARCH->getCriteria assign=_criteria}
{/if}
{if $browseForm}
{if $browseForm}
{assign var="_act_prefix" value="BROWSE"}
{include file="library/browseForm.tpl"}
{BROWSE->getResult assign=_results}

View file

@ -1,6 +1,4 @@
{*Smarty template*}
{include file="script/search.js.tpl"}
{include file="library/search.js.tpl"}
{literal}

View file

@ -0,0 +1,5 @@
{assign var="dynform" value=$simpleSearchForm}
<div id="simplesearchform">
{include file="sub/dynForm_plain.tpl"}
</div>

View file

@ -12,6 +12,10 @@
{include file="scratchPad.tpl"}
{/if}
{if $simpleSearchForm}
{include file="library/simpleSearchForm.tpl"}
{/if}
{if $structure}
{include file="file/path.tpl"}
{/if}

View file

@ -1,6 +1,6 @@
{include file="header.tpl"}
{include file="script/PL.changeTransition.js.tpl"}
{include file="playlist/changeTransition.js.tpl"}
{include file="sub/dynForm_plain.tpl"}
</body>

View file

@ -1,6 +1,6 @@
onMouseOver="highlight()"
onMouseOut="darklight()"
onContextmenu="return menu('{$_hour}', {$moreContextBefore} 'SCHEDULER.schedule' {$moreContextAfter})"
onContextmenu="return menu('year={$_year}&month={$_month}&day={$_day}&hour={$_hour}', {$moreContextBefore} 'SCHEDULER.schedule' {$moreContextAfter})"
{assign var="moreContextBefore" value=""}

View file

@ -4,7 +4,10 @@
<table border=1 bgcolor="#97bacf">
{foreach from=$SCHEDULER->Day item="_Hour"}
{assign var="_hour" value=$_Hour.hour}
{assign var="_year" value=$_Hour.year}
{assign var="_month" value=$_Hour.month}
{assign var="_day" value=$_Hour.day}
{assign var="_hour" value=$_Hour.hour}
<tr>
<td {include file="scheduler/contextmenu.tpl"} bgcolor="#d4d0c8" height="50" valign="top">

View file

@ -0,0 +1 @@
<small><b>{$_title}</b><br>{$_period}<br>{$_creator}</small>

View file

@ -1,10 +1,13 @@
{include file="scheduler/mouseOver.js.tpl"}
<div class="standardFrame">
{include file="sub/x.tpl"}
<input type="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day')" value="Day">
<input type="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=week')" value="Week">
<input type="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=month')" value="Month">
<input type="button" onClick="popup('{$UI_BROWSER}?popup[]=SCHEDULER.schedule', 'Schedule', 600, 400)" value="Schedule">
<!-- <input type="button" onClick="popup('{$UI_BROWSER}?popup[]=SCHEDULER.schedule', 'Schedule', 600, 400)" value="Schedule"> -->
<input type="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&today=1')" value="Today">
{include file="scheduler/calendar.tpl"}

View file

@ -20,14 +20,10 @@
<tr>
{/if}
{if $_Day.isEmpty}
<td>&nbsp;</td>
{else}
<td width="80">
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&&day={$_Day.day}')"><b>{$_Day.day}</b>
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&year={$_Day.year}&month={$_Day.month}&day={$_Day.day}')"><b>{$_Day.day}</b>
<div><img src="img/percentage_red.png" width="{if $percentage>50}{$percentage}{elseif $percentage>0}{$percentage+2}{else}0{/if}%" height="10" border="0"><img src="img/percentage_blue.png" width="{if $percentage>50}{$null-$percentage+100}{elseif $percentage>0}{$NULL-$percentage-2+100}{else}100{/if}%" height="10" border="0"></div>
</td>
{/if}
{if $_Day.isLast}
</tr>

View file

@ -1,5 +1,19 @@
{include file="header.tpl"}
{$SCHEDULER->copyPlFromSP()}
<center>
{if $SCHEDULER->_copyPlFromSP()}
{assign var="dynform" value=$SCHEDULER->getScheduleForm()}
{include file="sub/dynForm_plain.tpl}
{else}
First add Playlists to Scratchpad!
{/if}
</center>
{*
{$SCHEDULER->_copyPlFromSP()}
<form name="schedule_it">
<table>
@ -7,7 +21,7 @@
<tr>
<td><b>Select Playlist</b></td>
<td>
<select name="gunid" multiple>
<select name="gunid">
{foreach from=$SCHEDULER->playlists item="_pl"}
<option value="{$_pl.gunid}">{$_pl.title}</option>
{/foreach}
@ -118,5 +132,6 @@ function sc_check_int(element)
{/literal}
</script>
*}
</body>
</html>

View file

@ -6,11 +6,11 @@
<table border="1">
<tr>
<td rowspan="3"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=--')"><<</a> </td>
<td rowspan="3" valign="top"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=--')"><<</a> </td>
{foreach from=$SCHEDULER->Week item="_Day"}
<th colspan="2" width="100">{$_Day.label.full}</th>
<th colspan="2" width="100"><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}
<td rowspan="3"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=%2B%2B')">>></a></td>
<td rowspan="3" valign="top"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=%2B%2B')">>></a></td>
</tr>
<tr>
@ -24,6 +24,10 @@
<tr>
{foreach from=$SCHEDULER->Week item="_Day"}
{assign var="_oneday" value=$SCHEDULER->getDayTiming($_Day.year, $_Day.month, $_Day.day)}
{assign var="_year" value=$_Day.year}
{assign var="_month" value=$_Day.month}
{assign var="_day" value=$_Day.day}
{assign var="_hour" value=$_Day.hour}
<td valign="top">
<table border="1" cellspacing="0" cellpadding="0">

View file

@ -85,8 +85,7 @@ function menu(param) {
break;
case "SCHEDULER.schedule":
//menuHtml = menuHtml + "<tr><td><a class='menu' href='#' onClick=\"hpopup('{/literal}{$UI_HANDLER}{literal}?act=SCHEDULER.set&view=schedule&hour="+param+"')\" "+oF+">&nbsp;Schedule Playlist&nbsp;</a></td></tr>";
menuHtml = menuHtml + "<tr><td><a class='menu' href='#' {/literal}onClick=\"hpopup('{$UI_HANDLER}?act=SCHEDULER.set&hour="+param+"'); popup('{$UI_BROWSER}?popup[]=SCHEDULER.schedule', 'Schedule', 600, 400)\"'){literal}"+oF+">&nbsp;Schedule Playlist&nbsp;</a></td></tr>";
menuHtml = menuHtml + "<tr><td><a class='menu' href='#' {/literal}onClick=\"hpopup('{$UI_HANDLER}?act=SCHEDULER.set&"+param+"'); popup('{$UI_BROWSER}?popup[]=SCHEDULER.schedule', 'Schedule', 600, 400)\"'){literal}"+oF+">&nbsp;Schedule Playlist&nbsp;</a></td></tr>";
break;
}

View file

@ -23,8 +23,14 @@
{$STATIONPREFS.frequency}
</div>
<div class="statusbaritem">
{$SCHEDULER->getNowNextClip()}
<br>
{$STATIONPREFS.frequency}
</div>
<div class="statusbaritem">
{include file="userinfo.tpl"}
</div>
</div>
</div>