*** empty log message ***
This commit is contained in:
parent
5853bd2f1f
commit
de1e870d3f
10 changed files with 86 additions and 69 deletions
|
@ -1,7 +1,9 @@
|
|||
{assign var="_form" value=$PL->metaDataForm($PL_id)}
|
||||
{assign var="dynform" value=$_form.main}
|
||||
|
||||
{* $_form.langswitch *}
|
||||
{assign var="dynform" value=$_form.langswitch}
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
|
||||
{assign var="dynform" value=$_form.main}
|
||||
{include file="sub/dynForm_plain.tpl"}
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{include file="popup/header.tpl"}
|
||||
{include file="popup/header.tpl"}
|
||||
|
||||
<center>
|
||||
<b>Are you sure to remove this entry?</b>
|
||||
<br>
|
||||
<input type="button" onClick="window.close()" value="Cancel">
|
||||
<input type="button" onClick="location.href='{$UI_HANDLER}?act=SCHEDULER.removeItem&gunid={$gunid}'" value="OK">
|
||||
<input type="button" onClick="location.href='{$UI_HANDLER}?act=SCHEDULER.removeItem&scheduleId={$scheduleId}'" value="OK">
|
||||
</center>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{$SCHEDULER->buildDay()}
|
||||
{assign var="_scale" value=$SCHEDULER->getDayTimingScale()}
|
||||
{assign var="_scale" value=$SCHEDULER->getDayTimingScale()}
|
||||
{assign var="_entrys" value=$SCHEDULER->getDayEntrys()}
|
||||
|
||||
<div class="content">
|
||||
<div class="container_elements">
|
||||
|
@ -10,7 +11,7 @@
|
|||
<form name="SCHEDULER">
|
||||
<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>
|
||||
<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>
|
||||
|
@ -24,29 +25,35 @@
|
|||
<td style="width: 30px"><input type="checkbox" name="all" onClick="collector_switchAll('SCHEDULER')"></td>
|
||||
*}
|
||||
|
||||
<td style="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>
|
||||
</tr>
|
||||
|
||||
{assign var="_entrys" value=$SCHEDULER->getDayEntrys()}
|
||||
{foreach from=$_scale item="_hour"}
|
||||
{assign var="_year" value=$_Day.year}
|
||||
{assign var="_month" value=$_Day.month}
|
||||
|
||||
<tr class="blue2" onContextmenu="return contextmenu('year={$_day.year}&month={$_day.month}&day={$_day.day}&hour={$_hour}', 'SCHEDULER.addItem')">
|
||||
{* <td style="border-left: 1px solid #ccc;"><input type="checkbox" class="checkbox" /></td> *}
|
||||
<td>{$_hour|string_format:"%02d"}:00</td>
|
||||
<td style="border-right: 1px solid #ccc;">
|
||||
{if is_array($_entrys[$_hour])}
|
||||
{if is_array($_entrys[$_hour])}
|
||||
<tr class="blue1">
|
||||
<td style="border-left: 1px solid #ccc;" onContextmenu="return contextmenu('year={$_day.year}&month={$_day.month}&day={$_day.day}&hour={$_hour}', 'SCHEDULER.addItem')">{$_hour|string_format:"%02d"}:00</td>
|
||||
<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 *}
|
||||
{$i.title}:
|
||||
<div onContextmenu="return contextmenu('scheduleId={$i.id}', 'SCHEDULER.removeItem')">
|
||||
<b>{$i.title}</b>
|
||||
{$i.start}-{$i.end}
|
||||
{$i.creator}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
{/foreach}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{else}
|
||||
<tr class="blue2" onContextmenu="return contextmenu('year={$_day.year}&month={$_day.month}&day={$_day.day}&hour={$_hour}', 'SCHEDULER.addItem')">
|
||||
<td style="border-left: 1px solid #ccc;">{$_hour|string_format:"%02d"}:00</td>
|
||||
<td style="border-right: 1px solid #ccc;"></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</table>
|
||||
</form>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<table class="scheduler_week">
|
||||
<tr>
|
||||
{* Link Woche zurück <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=--')"><<</a> *}
|
||||
<th class="firstrow"></th>
|
||||
<th class="firstrow" style="border-left: 1px solid #ccc"></th>
|
||||
{foreach from=$SCHEDULER->Week item="_Day"} {* hier werden die Tagesnamen angezeigt *}
|
||||
<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>
|
||||
|
@ -28,9 +28,9 @@
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="firstrow_secondcol"></td>
|
||||
<td class="firstrow_secondcol" style="border-left: 1px solid #ccc"></td>
|
||||
{foreach from=$SCHEDULER->Week item="_Day"} {* hier werden die Tagesnummern angezeigt *}
|
||||
<td class="date_secondcol" {* {if $_Day.isToday} bgcolor="grey"{/if} *}>
|
||||
<td class="date_secondcol">
|
||||
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')"><b>{$_Day.day}</b></a>
|
||||
</td>
|
||||
<td class="day_secondcol"></td>
|
||||
|
@ -43,15 +43,17 @@
|
|||
{assign var="_month" value=$_Day.month}
|
||||
|
||||
<tr>
|
||||
<td class="firstrow">{$_hour}</td>
|
||||
<td class="firstrow" style="border-left: 1px solid #ccc">{$_hour}</td>
|
||||
{foreach from=$SCHEDULER->Week item="_day"}
|
||||
{if is_array($_entrys[$_day.day][$_hour])}
|
||||
<td class="date_full" onContextmenu="return contextmenu('year={$_day.year}&month={$_day.month}&day={$_day.day}&hour={$_hour}', 'SCHEDULER.addItem')"></td>
|
||||
<td class="day_full" onContextmenu="return contextmenu('year={$_day.year}&month={$_day.month}&day={$_day.day}&hour={$_hour}', 'SCHEDULER.addItem')">
|
||||
<td class="day_full">
|
||||
{foreach from=$_entrys[$_day.day][$_hour] item="i"}
|
||||
<div onContextmenu="return contextmenu('scheduleId={$i.id}', 'SCHEDULER.removeItem')">
|
||||
<h2>{$i.title|truncate:12}</h2>
|
||||
<p>{$i.start|truncate:5:""} - {$i.end|truncate:5:""}</p>
|
||||
<p>{$i.creator}</p>
|
||||
</div>
|
||||
{/foreach}
|
||||
</td>
|
||||
{else}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue