{include file="CRM/common/status.tpl"}
{crmRegion name='page-body'}
<!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
- {if isset($isForm) and $isForm}
+ {if isset($isForm) and $isForm and isset($formTpl)}
{include file="CRM/Form/$formTpl.tpl"}
{else}
{include file=$tplFile}
{include file="CRM/common/status.tpl"}
{crmRegion name='page-body'}
<!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
- {if isset($isForm) and $isForm}
+ {if isset($isForm) and $isForm and isset($formTpl)}
{include file="CRM/Form/$formTpl.tpl"}
{else}
{include file=$tplFile}
{include file="CRM/common/status.tpl"}
{crmRegion name='page-body'}
<!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
- {if isset($isForm) and $isForm}
+ {if isset($isForm) and $isForm and isset($formTpl)}
{include file="CRM/Form/$formTpl.tpl"}
{else}
{include file=$tplFile}
{crmRegion name='page-body' allowCmsOverride=0}
<!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
- {if $isForm}
+ {if $isForm and isset($formTpl)}
{include file="CRM/Form/$formTpl.tpl"}
{else}
{include file=$tplFile}
{* printBody.tpl: wrapper for Print views without HTML surrounds. *}
<!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
-{if $isForm}
+{if $isForm and isset($formTpl)}
{include file="CRM/Form/$formTpl.tpl"}
{else}
{include file=$tplFile}
{include file="CRM/common/status.tpl"}
{crmRegion name='page-body'}
<!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
- {if isset($isForm) and $isForm}
+ {if isset($isForm) and $isForm and isset($formTpl)}
{include file="CRM/Form/$formTpl.tpl"}
{else}
{include file=$tplFile}