$this->_params['campaign_id'] = $this->_params['contribution_campaign_id'];
}
+ // assign contribution page id to the template so we can add css class for it
+ $this->assign('contributionPageID', $this->_id);
+
$this->set('params', $this->_params);
}
{include file="CRM/common/TrackingFields.tpl"}
-<div class="crm-block crm-contribution-confirm-form-block">
+<div class="crm-contribution-page-id-{$contributionPageID} crm-block crm-contribution-confirm-form-block">
<div id="help">
<p>{ts}Please verify the information below carefully. Click <strong>Go Back</strong> if you need to make changes.{/ts}
{if $contributeMode EQ 'notify' and ! $is_pay_later}
{include file="CRM/common/TrackingFields.tpl"}
{capture assign='reqMark'}<span class="marker" title="{ts}This field is required.{/ts}">*</span>{/capture}
- <div class="crm-block crm-contribution-main-form-block">
+ <div class="crm-contribution-page-id-{$contributionPageID} crm-block crm-contribution-main-form-block">
<div id="intro_text" class="crm-section intro_text-section">
{$intro_text}
</div>
{include file="CRM/common/TrackingFields.tpl"}
-<div class="crm-block crm-contribution-thankyou-form-block">
+<div class="crm-contribution-page-id-{$contributionPageID} crm-block crm-contribution-thankyou-form-block">
{if $thankyou_text}
<div id="thankyou_text" class="crm-section thankyou_text-section">
{$thankyou_text}
{include file="CRM/common/TrackingFields.tpl"}
-<div class="crm-block crm-event-confirm-form-block">
+<div class="crm-event-id-{$event.id} crm-block crm-event-confirm-form-block">
{if $isOnWaitlist}
<div class="help">
{ts}Please verify the information below. <span class="bold">Then click 'Continue' to be added to the WAIT LIST for this event</span>. If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}
{include file="CRM/common/TrackingFields.tpl"}
{capture assign='reqMark'}<span class="marker" title="{ts}This field is required.{/ts}">*</span>{/capture}
-<div class="crm-block crm-event-register-form-block">
+<div class="crm-event-id-{$event.id} crm-block crm-event-register-form-block">
{* moved to tpl since need to show only for primary participant page *}
{if $requireApprovalMsg || $waitlistMsg}
{include file="CRM/common/TrackingFields.tpl"}
-<div class="crm-block crm-event-thankyou-form-block">
+<div class="crm-event-id-{$event.id} crm-block crm-event-thankyou-form-block">
{* Don't use "normal" thank-you message for Waitlist and Approval Required registrations - since it will probably not make sense for those situations. dgg *}
{if $event.thankyou_text AND (not $isOnWaitlist AND not $isRequireApproval)}
<div id="intro_text" class="crm-section event_thankyou_text-section">
<div class="clear"></div>
</div>
{/if}
-<div class="vevent crm-block crm-event-info-form-block">
+<div class="vevent crm-event-id-{$event.id} crm-block crm-event-info-form-block">
<div class="event-info">
{if $event.summary}
<div class="crm-section event_summary-section">