{* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} Gift Registry - Manage Events {include file='navbar.tpl' isadmin=$isadmin}
{if isset($message)}
{$message|escape:'htmlall'}
{/if} {if $opt.show_helptext}
Here you can specify events of your own, like your birthday or your anniversary. When the event occurs within {$opt.event_threshold} days, an event reminder will appear in the display of everyone who shops for you. {if $isadmin} System events are events which belong to no one -- like Christmas -- and will appear on everyone's display. {/if} Marking an item as Recurring yearly will cause them to show up year after year.
{/if}

Events

{if $isadmin} {/if} {foreach from=$events item=row} {if $isadmin} {/if} {/foreach}
Event date Description Recurring?System event? 
{$row.eventdate} {$row.description|escape:'htmlall'} {if $row.recurring}Yes{else}No{/if} {if $row.userid == ''}Yes{else}No{/if} Edit Event Delete Event
Add a new event
Event Details {if $action == "edit" || (isset($haserror) && $action == "update")} {elseif $action == "" || (isset($haserror) && $action == "insert")} {/if}
{if isset($description_error)} {$description_error} {/if}

mm/dd/yyyy

{if isset($eventdate_error)} {$eventdate_error} {/if}
Recurring yearly
{if $isadmin}
System event
{/if}