From: Matthew Wire (MJW Consulting) Date: Wed, 5 Sep 2018 10:56:57 +0000 (+0100) Subject: NFC Formatting for EventInfo.tpl X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=88a8f2038004f878c25cb5a2ab05c33f21edc628;p=civicrm-core.git NFC Formatting for EventInfo.tpl --- diff --git a/templates/CRM/Event/Form/ManageEvent/EventInfo.tpl b/templates/CRM/Event/Form/ManageEvent/EventInfo.tpl index c848ae7bb8..a773eae125 100644 --- a/templates/CRM/Event/Form/ManageEvent/EventInfo.tpl +++ b/templates/CRM/Event/Form/ManageEvent/EventInfo.tpl @@ -27,16 +27,16 @@
{assign var=eventID value=$id} -
- {include file="CRM/common/formButtons.tpl" location="top"} -
+
+ {include file="CRM/common/formButtons.tpl" location="top"} +
- {if $form.template_id} + {if $form.template_id} - - - {/if} + + + {/if} {if $form.template_title} @@ -48,9 +48,9 @@ - {* 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"} @@ -64,7 +64,7 @@ @@ -102,7 +102,7 @@ +
{help id="id-event_full_text"}     @@ -129,17 +129,17 @@ {if $eventID} - - - - + + + + {/if} @@ -150,24 +150,24 @@ {*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/common/formButtons.tpl" location="bottom"} +
+ {include file="CRM/common/showHide.tpl" elemType="table-row"} - {include file="CRM/Form/validate.tpl"} + {include file="CRM/Form/validate.tpl"} {literal}
{$form.template_id.label} {help id="id-select-template" isTemplate=$isTemplate}{$form.template_id.html}
{$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.event_type_id.html}
{$form.default_role_id.label} {help id="id-participant-role"}
{$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} + {ts}Please use only alphanumeric, spaces, hyphens and dashes for event names.{/ts}
{$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}
  - {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} -
  + {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} +