{strip}
{assign var="page_hdr01_text" value='<a href="calendar.php" class="subhead">'|cat:"{lang mkey='calendar_title'}"|cat:"</a>"}
{assign var="page_title" value="{lang mkey='calendar_title'}"}
{include file="admin/admin_page_hdr01.tpl"}
<div class="top_margin_6px">
	{assign var="page_hdr02_text" value="{lang mkey='delete_calendars'}"}
	{include file="admin/admin_page_hdr02.tpl"}
	<div class="module_detail_inside" style="padding-top:1px; text-align:left;">
		{if $error != ''}
			{assign var="error_message" value=$error}
			{include file="display_error.tpl" }
		{/if}
		<div class="line_outer">
		<form action="deletegroupcalendar.php" method="post">
		<table class="table" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" width="100%" border="0">
			<tr><td colspan="3">
				<font color="{lang mkey='admin_error_color'}">{lang mkey='delete_calendar_group_confirm_msg'}</font></td>
			</tr>
			<tr class="table_head">
				<th>{lang mkey='col_head_id'}</th>
				<th>{lang mkey='col_head_name'}</th>
				<th>{lang mkey='col_head_enabled'}</th>
			</tr>
		{foreach item=item key=key from=$data}
			<tr>
				<td>{$item.id}
					<input type="hidden" name="txtid[{$item.id}]" value="{$item.id}" />
				</td>
				<td>{$item.calendar}</td>
				<td>{$item.enabled}</td>
			</tr>
		{/foreach}
			<tr>
				<td>&nbsp;</td>
				<td>
					<input type="submit" class="formbutton" value="{lang mkey='delete'}" />
					&nbsp;
					<input type="reset" class="formbutton" value="{lang mkey='cancel'}" />

				</td>
				<td>&nbsp;</td>
			</tr>
		</table>
		</form>
		</div>
	</div>
</div>
{/strip}