<div class="crm-block crm-form-block crm-event-manage-eventinfo-form-block">
{assign var=eventID value=$id}
- <div class="crm-submit-buttons">
- {include file="CRM/common/formButtons.tpl" location="top"}
- </div>
+ <div class="crm-submit-buttons">
+ {include file="CRM/common/formButtons.tpl" location="top"}
+ </div>
<table class="form-layout-compressed">
- {if $form.template_id}
+ {if $form.template_id}
<tr class="crm-event-manage-eventinfo-form-block-template_id">
<td class="label">{$form.template_id.label} {help id="id-select-template" isTemplate=$isTemplate}</td>
- <td>{$form.template_id.html}</td>
- </tr>
- {/if}
+ <td>{$form.template_id.html}</td>
+ </tr>
+ {/if}
{if $form.template_title}
<tr class="crm-event-manage-eventinfo-form-block-template_title">
<td class="label">{$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}</td>
<td>{$form.event_type_id.html}</td>
</tr>
- {* CRM-7362 --add campaign *}
- {include file="CRM/Campaign/Form/addCampaignToComponent.tpl"
- campaignTrClass="crm-event-manage-eventinfo-form-block-campaign_id"}
+ {* CRM-7362 --add campaign *}
+ {include file="CRM/Campaign/Form/addCampaignToComponent.tpl"
+ campaignTrClass="crm-event-manage-eventinfo-form-block-campaign_id"}
<tr class="crm-event-manage-eventinfo-form-block-default_role_id">
<td class="label">{$form.default_role_id.label} {help id="id-participant-role"}</td>
<tr class="crm-event-manage-eventinfo-form-block-title">
<td class="label">{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='title' id=$eventID}{/if}</td>
<td>{$form.title.html}<br />
- <span class="description"> {ts}Please use only alphanumeric, spaces, hyphens and dashes for event names.{/ts}
+ <span class="description"> {ts}Please use only alphanumeric, spaces, hyphens and dashes for event names.{/ts}
</span></td>
</tr>
<tr class="crm-event-manage-eventinfo-form-block-summary">
</tr>
<tr id="id-event_full" class="crm-event-manage-eventinfo-form-block-event_full_text">
<td class="label">{$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}
- <br />{help id="id-event_full_text"} </td>
+ <br />{help id="id-event_full_text"} </td>
<td>{$form.event_full_text.html}</td>
</tr>
<tr id="id-waitlist-text" class="crm-event-manage-eventinfo-form-block-waitlist_text">
</tr>
{if $eventID}
- <tr>
- <td> </td>
- <td class="description">
- {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}<br />
- <strong>{crmURL a=1 fe=1 p='civicrm/event/info' q="reset=1&id=`$eventID`"}</strong>
- {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 <strong>Event Info Page</strong> and enter <strong>%1</strong> for the Event ID.{/ts}
- {/if}
- </td>
- </tr>
+ <tr>
+ <td> </td>
+ <td class="description">
+ {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}<br />
+ <strong>{crmURL a=1 fe=1 p='civicrm/event/info' q="reset=1&id=`$eventID`"}</strong>
+ {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 <strong>Event Info Page</strong> and enter <strong>%1</strong> for the Event ID.{/ts}
+ {/if}
+ </td>
+ </tr>
{/if}
<tr>
<td> </td>
{*include custom data js file*}
{include file="CRM/common/customData.tpl"}
{literal}
- <script type="text/javascript">
- CRM.$(function($) {
- {/literal}
- {if $customDataSubType}
- CRM.buildCustomData( '{$customDataType}', {$customDataSubType} );
- {else}
- CRM.buildCustomData( '{$customDataType}' );
- {/if}
- {literal}
- });
- </script>
+ <script type="text/javascript">
+ CRM.$(function($) {
+ {/literal}
+ {if $customDataSubType}
+ CRM.buildCustomData( '{$customDataType}', {$customDataSubType} );
+ {else}
+ CRM.buildCustomData( '{$customDataType}' );
+ {/if}
+ {literal}
+ });
+ </script>
{/literal}
- <div class="crm-submit-buttons">
- {include file="CRM/common/formButtons.tpl" location="bottom"}
- </div>
- {include file="CRM/common/showHide.tpl" elemType="table-row"}
+ <div class="crm-submit-buttons">
+ {include file="CRM/common/formButtons.tpl" location="bottom"}
+ </div>
+ {include file="CRM/common/showHide.tpl" elemType="table-row"}
- {include file="CRM/Form/validate.tpl"}
+ {include file="CRM/Form/validate.tpl"}
</div>
{literal}
<script type="text/javascript">