*** empty log message ***
This commit is contained in:
parent
b418a85f8d
commit
96e5fd0f1a
3 changed files with 48 additions and 31 deletions
|
@ -1,6 +1,8 @@
|
|||
{$SCHEDULER->buildWeek()}
|
||||
{assign var="_divisor" value=180}
|
||||
{assign var="_minwidth" value=20}
|
||||
|
||||
<table border=1>
|
||||
<table border="1">
|
||||
|
||||
<tr>
|
||||
<td rowspan="2"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=--')"><<</a> </td>
|
||||
|
@ -14,24 +16,31 @@
|
|||
{foreach from=$SCHEDULER->Week item="_Day"}
|
||||
<td valign="top">
|
||||
<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>
|
||||
{if $_Day.isSelected}
|
||||
|
||||
{assign var="_oneday" value=$SCHEDULER->getDayTiming($_Day.year, $_Day.month, $_Day.day)}
|
||||
<table border="1" style="font-family : monospace">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
|
||||
{foreach from=$_oneday item="i"}
|
||||
<tr height="{$i.length/360}">
|
||||
<td><small>
|
||||
{if is_array($i.entry)}
|
||||
Start:{$i.entry.start|regex_replace:"/[0-9]+T/":""}
|
||||
<br>
|
||||
End: {$i.entry.end|regex_replace:"/[0-9]+T/":""}
|
||||
{else}
|
||||
Gap
|
||||
{/if}
|
||||
</small></td>
|
||||
<tr height="{$SCHEDULER->_oneOrMore($i.length/$_divisor)}" style="font-family: monospace" valign="top">
|
||||
{if is_array($i.entry)}
|
||||
<td bgcolor="pink" width="80" height="{$SCHEDULER->_oneOrMore($i.length/$_divisor)}">
|
||||
{if $i.length/$_divisor > $_minwidth}
|
||||
<small>
|
||||
Start:{$i.entry.start|regex_replace:"/[0-9]+T/":""}
|
||||
<br>
|
||||
End: {$i.entry.end|regex_replace:"/[0-9]+T/":""}
|
||||
</small>
|
||||
{/if}
|
||||
</td>
|
||||
{else}
|
||||
<td bgcolor="lightblue" width="80" height="{$SCHEDULER->_oneOrMore($i.length/$_divisor)}">
|
||||
</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue