<!--
Copyright by Thomas Bley 2002-2003
thomas.bley@simple-groupware.de

http://www.simple-groupware.de
-->
{include file="calendar2_header.tpl" pagetitle="Calendar by Thomas Bley - Simple Groupware Solutions"}
{include file="$gentemplates/_navi.tpl"}

<br>
<center>
<table border="0" cellpadding="0" cellspacing="0" width="600" bgcolor="#EFEFF2">
  <tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="100%" colspan="6"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  </tr>
  <tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="subnavback" width="100%" colspan="6" style="font-weight: bold;"><div align="center">{$hashmap.users}</div></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="100%" colspan="6"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
<tr>
  <td class="tab"></td>
  <td class="tab" width="10"><img src="{$imgpathmaster}/space.gif" width="10" height="1"></td>
  <td class="tab">{$hashmap.calendar_lang}</td>
  <td class="tab">{$hashmap.location}</td>
  <td class="tab"></td>
  <td class="tab"></td>
  <td class="tab" width="10"><img src="{$imgpathmaster}/space.gif" width="10" height="1"></td>
  <td class="tab"></td>
</tr>
<tr>
  <td class="tab" colspan="2"></td>
  <td class="lines2" height="1" width="1" colspan="4"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td>
  <td class="tab" colspan="2"></td>
</tr>
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
{section name=item loop=$cals_users}
<tr>
  <td class="tab" colspan="2"></td>
  <td class="tab" width="35%" valign="top">{$cals_users[item][2]}</td>
  <td class="tab" width="35%" valign="top">{$cals_users[item][1]}</td>
  <td class="tab"></td>
  <td class="tab" align="right" valign="top"><a href="cal_manager.php?action=delete&id={$cals_users[item][0]}&{$SESSION}" onclick="return confirm('{$hashmap.really_delete|addslash}')">{$hashmap.delete}</a></td>
  <td class="tab" colspan="2"></td>
</tr>
{/section}
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
			
</table>

<br>
<table border="0" cellpadding="0" cellspacing="0" width="600" bgcolor="#EFEFF2">
  <tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="100%" colspan="6"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  </tr>
  <tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="subnavback" width="100%" colspan="6" style="font-weight: bold;"><div align="center">{$hashmap.groups}</div></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="100%" colspan="6"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
<tr>
  <td class="tab"></td>
  <td class="tab" width="10"><img src="{$imgpathmaster}/space.gif" width="10" height="1"></td>
  <td class="tab">{$hashmap.calendar_lang}</td>
  <td class="tab">{$hashmap.location}</td>
  <td class="tab"></td>
  <td class="tab"></td>
  <td class="tab" width="10"><img src="{$imgpathmaster}/space.gif" width="10" height="1"></td>
  <td class="tab"></td>
</tr>
<tr>
  <td class="tab" colspan="2"></td>
  <td class="lines2" height="1" width="1" colspan="4"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td>
  <td class="tab" colspan="2"></td>
</tr>
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
{section name=item loop=$cals_groups}
<tr>
  <td class="tab" colspan="2"></td>
  <td class="tab" width="35%" valign="top">{$cals_groups[item][2]}</td>
  <td class="tab" width="35%" valign="top">{$cals_groups[item][1]}</td>
  <td class="tab"></td>
  <td class="tab" align="right" valign="top"><a href="cal_manager.php?action=delete&id={$cals_groups[item][0]}&{$SESSION}" onclick="return confirm('{$hashmap.really_delete|addslash}')">{$hashmap.delete}</a></td>
  <td class="tab" colspan="2"></td>
</tr>
{/section}
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
</table>

<br>
<table border="0" cellpadding="0" cellspacing="0" width="600" bgcolor="#EFEFF2">
  <tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="100%" colspan="6"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  </tr>
  <tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="subnavback" width="100%" colspan="6" style="font-weight: bold;"><div align="center">{$hashmap.others}</div></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="100%" colspan="6"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
<tr>
  <td class="tab"></td>
  <td class="tab" width="10"><img src="{$imgpathmaster}/space.gif" width="10" height="1"></td>
  <td class="tab">{$hashmap.calendar_lang}</td>
  <td class="tab">{$hashmap.location}</td>
  <td class="tab"></td>
  <td class="tab"></td>
  <td class="tab" width="10"><img src="{$imgpathmaster}/space.gif" width="10" height="1"></td>
  <td class="tab"></td>
</tr>
<tr>
  <td class="tab" colspan="2"></td>
  <td class="lines2" height="1" width="1" colspan="4"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td>
  <td class="tab" colspan="2"></td>
</tr>
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
{section name=item loop=$cals_others}
<tr>
  <td class="tab" colspan="2"></td>
  <td class="tab" width="35%" valign="top">{$cals_others[item][2]}</td>
  <td class="tab" width="35%" valign="top">{$cals_others[item][1]}</td>
  <td class="tab" align="right" valign="top"><a href="cal_manager.php?action=edit&id={$cals_others[item][0]}&{$SESSION}">{$hashmap.edit}</a></td>
  <td class="tab" align="right" valign="top"><a href="cal_manager.php?action=delete&id={$cals_others[item][0]}&{$SESSION}" onclick="return confirm('{$hashmap.really_delete|addslash}')">{$hashmap.delete}</a></td>
  <td class="tab" colspan="2"></td>
</tr>
{/section}
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
</table>

<br>
<table border="0" cellpadding="0" cellspacing="0" width="600" bgcolor="#EFEFF2">
<tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="100%" colspan="6"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="subnavback" width="100%" colspan="6" style="font-weight: bold"><div align="center">{$hashmap.holidays}</div></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="100%" colspan="6"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
<tr>
  <td class="tab"></td>
  <td class="tab" width="10"><img src="{$imgpathmaster}/space.gif" width="10" height="1"></td>
  <td class="tab">{$hashmap.calendar_lang}</td>
  <td class="tab">{$hashmap.location}</td>
  <td class="tab"></td>
  <td class="tab"></td>
  <td class="tab" width="10"><img src="{$imgpathmaster}/space.gif" width="10" height="1"></td>
  <td class="tab"></td>
</tr>
<tr>
  <td class="tab" colspan="2"></td>
  <td class="lines2" height="1" width="1" colspan="4"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td>
  <td class="tab" colspan="2"></td>
</tr>
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
{section name=item loop=$cals_holidays}
<tr>
  <td class="tab" colspan="2"></td>
  <td class="tab" width="35%" valign="top">{$cals_holidays[item][2]}</td>
  <td class="tab" width="35%" valign="top">{$cals_holidays[item][1]}</td>
  <td class="tab" align="right" valign="top"><a href="cal_manager.php?action=edit&id={$cals_holidays[item][0]}&{$SESSION}">{$hashmap.edit}</a></td>
  <td class="tab" align="right" valign="top"><a href="cal_manager.php?action=delete&id={$cals_holidays[item][0]}&{$SESSION}" onclick="return confirm('{$hashmap.really_delete|addslash}')">{$hashmap.delete}</a></td>
  <td class="tab" colspan="2"></td>
</tr>
{/section}
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
</table>

<br>
<table border="0" cellpadding="0" cellspacing="0" width="600" bgcolor="#EFEFF2">
<tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="100%" colspan="6"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
    <td class="subnavback" width="100%" colspan="6" style="font-weight: bold"><div align="center">{if $edit_id}{$hashmap.change}{else}{$hashmap.create}{/if}</div></td>
    <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="100%" colspan="6"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
  <td class="category" width="1"><img src="{$imgpathmaster}/space.gif" width="1" height="1"></td>
</tr>
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
<tr>
  <td class="tab"></td>
  <td class="tab" width="10"><img src="{$imgpathmaster}/space.gif" width="10" height="1"></td>
  <td class="tab">{$hashmap.calendar_lang}</td>
  <td class="tab">{$hashmap.location}</td>
  <td class="tab"></td>
  <td class="tab"></td>
  <td class="tab" width="10"><img src="{$imgpathmaster}/space.gif" width="10" height="1"></td>
  <td class="tab"></td>
</tr>
<tr>
  <td class="tab" colspan="2"></td>
  <td class="lines2" height="1" width="1" colspan="4"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td>
  <td class="tab" colspan="2"></td>
</tr>
<tr>
  <td colspan="8" class="tab"><br></td>
</tr>
  <form name="f1" action="cal_manager.php" method="POST">
  <input type="hidden" name="{$SESSIONNAME}" value="{$SESSIONID}">
  <input type="hidden" name="edit_id" value="{$edit_id}">
  <input type="hidden" name="action" value="change">
  <tr>
    <td class="tab" colspan="2"></td>
    <td class="tab"><input type="text" size="20" name="dcalendar" value="{$dcalendar|escape:"html"}"><br>
	  <input type="checkbox" name="dholiday" value="checked" {if $dholiday eq "checked"}checked{/if}>{$hashmap.holidays}
	</td>
    <td class="tab" valign="top"><input type="text" size="20" name="dlocation" value="{$dlocation|escape:"html"}"></td>
	<td class="tab" colspan="2" valign="top" align="right"><input type="submit" value="{if $edit_id}{$hashmap.change}{else}{$hashmap.create}{/if}" name="submit" class="submit">{if $edit_id}<br><br><a href="cal_manager.php?{$SESSION}">{$hashmap.back}</a>{/if}</td>
    <td class="tab" colspan="2"></td>
  </tr>
  </form>
</table>

</center>
{include file="$gentemplates/_footer.tpl" aktUser=$username}

