Take out the metadata display which makes things really slow. Got rid of some warnings.

This commit is contained in:
paul 2006-11-28 16:51:12 +00:00
parent 79f4c4266b
commit 30a6bf5edc
1 changed files with 7 additions and 14 deletions

View File

@ -6,30 +6,23 @@
<div class="container_elements" style="width: 790px;">
<div class="head_scheduler" style=""><h1>##Weekly View##</h1></div>
{*
<div class="container_button_scheduler">
<input type="button" class="button_large" value="Start Scheduler" />
<input type="button" class="button_large" value="Stop Scheduler" />
</div>
*}
<div class="clearer">&nbsp;</div>
<p>{$SCHEDULER->curr.week}. ##calendar week## {$SCHEDULER->curr.year}</p>
<table class="scheduler_week">
<tr>
{* Link Woche zurück <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=--')"><<</a> *}
{* <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"} {* hier werden die Tagesnamen angezeigt *}
{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}
{* Link Woche vor <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=%2B%2B')">>></a> *}
{* <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"} {* hier werden die Tagesnummern angezeigt *}
{foreach from=$SCHEDULER->Week item="_Day"}
<td class="date_secondcol">
<a href="#" {include file="scheduler/week_additem.tpl"}><b>{$_Day.day}</b></a>
</td>
@ -44,13 +37,13 @@
<tr>
<td class="firstrow" style="border-left: 1px solid #ccc">{$_hour}</td>
{foreach from=$SCHEDULER->Week item="_day"}
{if is_array($_entrys[$_day.day][$_hour])}
{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"}>
<img src="img/playlist.png" border="0" {include file="sub/alttext.tpl"}>
<img src="img/playlist.png" border="0" {* include file="sub/alttext.tpl" *}>
&nbsp;
<h2>{$i.title|truncate:12}</h2>
<p>{$i.start|truncate:8:""} - {$i.end|truncate:8:""}</p>