2010-09-30 21:46:44 +02:00
|
|
|
{$SCHEDULER->buildWeek()}
|
|
|
|
{assign var="_scale" value=$SCHEDULER->getDayTimingScale()}
|
|
|
|
|
|
|
|
<div class="content" style="width: auto;">
|
|
|
|
<!-- start scheduler -->
|
|
|
|
<div class="container_elements" style="width: 790px;">
|
|
|
|
<div class="head_scheduler" style=""><h1>##Weekly View##</h1></div>
|
|
|
|
|
|
|
|
<div class="clearer"> </div>
|
|
|
|
<p>{$SCHEDULER->curr.week}. ##calendar week## {$SCHEDULER->curr.year}</p>
|
|
|
|
|
|
|
|
<table class="scheduler_week">
|
|
|
|
<tr>
|
|
|
|
{* <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=--')"><<</a> *}
|
|
|
|
<th class="firstrow" style="border-left: 1px solid #ccc"></th>
|
|
|
|
{foreach from=$SCHEDULER->Week item="_Day"}
|
|
|
|
<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>
|
|
|
|
{/foreach}
|
|
|
|
{* <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=%2B%2B')">>></a> *}
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="firstrow_secondcol" style="border-left: 1px solid #ccc"></td>
|
|
|
|
{foreach from=$SCHEDULER->Week item="_Day"}
|
|
|
|
<td class="date_secondcol">
|
|
|
|
<a href="#" {include file="scheduler/week_additem.tpl"}><b>{$_Day.day}</b></a>
|
|
|
|
</td>
|
|
|
|
<td class="day_secondcol"></td>
|
|
|
|
{/foreach}
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
{assign var="_entrys" value=$SCHEDULER->getWeekEntrys()}
|
|
|
|
{foreach from=$_scale item="_hour"}
|
|
|
|
{assign var="_year" value=$_Day.year}
|
|
|
|
{assign var="_month" value=$_Day.month}
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="firstrow" style="border-left: 1px solid #ccc">{$_hour}</td>
|
|
|
|
{foreach from=$SCHEDULER->Week item="_day"}
|
|
|
|
{if isset($_entrys[$_day.day][$_hour]) && is_array($_entrys[$_day.day][$_hour])}
|
|
|
|
<td class="date_full" {include file="scheduler/week_additem.tpl"}></td>
|
|
|
|
<td class="day_full">
|
|
|
|
{foreach from=$_entrys[$_day.day][$_hour] item="i"}
|
|
|
|
<div {include file="scheduler/removeitem.tpl"}>
|
2010-10-19 11:57:28 +02:00
|
|
|
<img src="html/img/playlist.png" border="0" {* include file="sub/alttext.tpl" *}>
|
2010-09-30 21:46:44 +02:00
|
|
|
|
|
|
|
<h2>{$i.title|truncate:12}</h2>
|
|
|
|
<p>{$i.start|truncate:8:""} - {$i.end|truncate:8:""}</p>
|
|
|
|
<p>{$i.creator}</p>
|
|
|
|
</div>
|
|
|
|
{include file="scheduler/between_additem.tpl"}
|
|
|
|
{/foreach}
|
|
|
|
</td>
|
|
|
|
{else}
|
|
|
|
<td class="date" {include file="scheduler/week_additem.tpl"}></td>
|
|
|
|
<td class="day" {include file="scheduler/week_additem.tpl"}></td>
|
|
|
|
{/if}
|
|
|
|
{/foreach}
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="clearer"> </div>
|
|
|
|
</div>
|
|
|
|
<!-- end playlist editor -->
|
|
|
|
</div>
|