{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM 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 Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* Step 1 of New Event Wizard, and Edit Event Info form. *}
{assign var=eventID value=$id}
{include file="CRM/common/formButtons.tpl" location="top"}
{if $form.template_id} {/if} {if $form.template_title} {/if} {* CRM-7362 --add campaign *} {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignTrClass="crm-event-manage-eventinfo-form-block-campaign_id"} {if !$isTemplate} {/if} {if $waitlist} {/if} {if $form.waitlist_text} {/if} {if $eventID} {/if}
{$form.template_id.label} {help id="id-select-template" isTemplate=$isTemplate} {$form.template_id.html}
{$form.template_title.label} {help id="id-template-title"}{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='template_title' id=$eventID}{/if} {$form.template_title.html}
{$form.event_type_id.label} {$form.event_type_id.html}
{$form.default_role_id.label} {help id="id-participant-role"} {$form.default_role_id.html}
{$form.participant_listing_id.label} {help id="id-listing" isTemplate=$isTemplate action=$action entityId=$entityId} {$form.participant_listing_id.html}
{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='title' id=$eventID}{/if} {$form.title.html}
{ts}Please use only alphanumeric, spaces, hyphens and dashes for event names.{/ts}
{$form.summary.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='summary' id=$eventID}{/if} {$form.summary.html}
{$form.description.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='description' id=$eventID}{/if} {$form.description.html}
{$form.start_date.label} {include file="CRM/common/jcalendar.tpl" elementName=start_date}
{$form.end_date.label} {include file="CRM/common/jcalendar.tpl" elementName=end_date}
{$form.max_participants.label} {help id="id-max_participants" waitlist=$waitlist} {$form.max_participants.html|crmAddClass:four} {if call_user_func(array('CRM_Core_Permission','check'), 'administer CiviCRM') } {/if}
{$form.has_waitlist.label} {$form.has_waitlist.html} {help id="id-has_waitlist"}
{$form.event_full_text.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='event_full_text' id=$eventID}{/if}
{help id="id-event_full_text"}    
{$form.event_full_text.html}
{$form.waitlist_text.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='waitlist_text' id=$eventID}{/if}
{help id="id-help-waitlist_text"}
{$form.waitlist_text.html}
  {$form.is_map.html} {$form.is_map.label} {help id="id-is_map"}
  {$form.is_public.html} {$form.is_public.label} {help id="id-is_public"}
  {$form.is_share.html} {$form.is_share.label} {help id="id-is_share"}
  {$form.is_active.html} {$form.is_active.label}
  {if $config->userSystem->is_drupal || $config->userFramework EQ 'WordPress'} {ts}When this Event is active, create links to the Event Information page by copying and pasting the following URL:{/ts}
{crmURL a=1 fe=1 p='civicrm/event/info' q="reset=1&id=`$eventID`"} {elseif $config->userFramework EQ 'Joomla'} {ts 1=$eventID}When this Event is active, create front-end links to the Event Information page using the Menu Manager. Select Event Info Page and enter %1 for the Event ID.{/ts} {/if}
   
{*include custom data js file*} {include file="CRM/common/customData.tpl"} {literal} {/literal}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{include file="CRM/common/showHide.tpl" elemType="table-row"} {include file="CRM/Form/validate.tpl"}
{literal} {/literal}