From 6bb066a3257531deeeecb9e1528c7a37f3fe50fb Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 29 Nov 2013 10:33:07 -0800 Subject: [PATCH] CRM-10693 - Wrap main content to facilitate ajax refresh --- templates/CRM/common/drupal.tpl | 22 +++++++++++----------- templates/CRM/common/drupal6.tpl | 21 +++++++++++---------- templates/CRM/common/joomla.tpl | 21 +++++++++++---------- templates/CRM/common/wordpress.tpl | 22 +++++++++++----------- 4 files changed, 44 insertions(+), 42 deletions(-) diff --git a/templates/CRM/common/drupal.tpl b/templates/CRM/common/drupal.tpl index 9dc68a191c..e785556e18 100644 --- a/templates/CRM/common/drupal.tpl +++ b/templates/CRM/common/drupal.tpl @@ -58,17 +58,17 @@ {if isset($localTasks) and $localTasks} {include file="CRM/common/localNav.tpl"} {/if} - -{include file="CRM/common/status.tpl"} - -{crmRegion name='page-body'} - -{if isset($isForm) and $isForm} - {include file="CRM/Form/$formTpl.tpl"} -{else} - {include file=$tplFile} -{/if} -{/crmRegion} +
+ {include file="CRM/common/status.tpl"} + {crmRegion name='page-body'} + + {if isset($isForm) and $isForm} + {include file="CRM/Form/$formTpl.tpl"} + {else} + {include file=$tplFile} + {/if} + {/crmRegion} +
{crmRegion name='page-footer'} {if ! $urlIsPublic} diff --git a/templates/CRM/common/drupal6.tpl b/templates/CRM/common/drupal6.tpl index 4dfc1047b0..2e99110c9a 100644 --- a/templates/CRM/common/drupal6.tpl +++ b/templates/CRM/common/drupal6.tpl @@ -60,16 +60,17 @@ {include file="CRM/common/localNav.tpl"} {/if} -{include file="CRM/common/status.tpl"} - -{crmRegion name='page-body'} - -{if isset($isForm) and $isForm} - {include file="CRM/Form/$formTpl.tpl"} -{else} - {include file=$tplFile} -{/if} -{/crmRegion} +
+ {include file="CRM/common/status.tpl"} + {crmRegion name='page-body'} + + {if isset($isForm) and $isForm} + {include file="CRM/Form/$formTpl.tpl"} + {else} + {include file=$tplFile} + {/if} + {/crmRegion} +
{crmRegion name='page-footer'} {if ! $urlIsPublic} diff --git a/templates/CRM/common/joomla.tpl b/templates/CRM/common/joomla.tpl index a197613d47..2411e41ed3 100644 --- a/templates/CRM/common/joomla.tpl +++ b/templates/CRM/common/joomla.tpl @@ -80,16 +80,17 @@ {include file="CRM/common/localNav.tpl"} {/if} - {include file="CRM/common/status.tpl"} - - - {crmRegion name='page-body'} - {if $isForm} - {include file="CRM/Form/$formTpl.tpl"} - {else} - {include file=$tplFile} - {/if} - {/crmRegion} +
+ {include file="CRM/common/status.tpl"} + {crmRegion name='page-body'} + + {if isset($isForm) and $isForm} + {include file="CRM/Form/$formTpl.tpl"} + {else} + {include file=$tplFile} + {/if} + {/crmRegion} +
{crmRegion name='page-footer'} {if ! $urlIsPublic} diff --git a/templates/CRM/common/wordpress.tpl b/templates/CRM/common/wordpress.tpl index 2c1d4edf57..f78a8569ac 100644 --- a/templates/CRM/common/wordpress.tpl +++ b/templates/CRM/common/wordpress.tpl @@ -97,17 +97,17 @@ {include file="CRM/common/localNav.tpl"} {/if} -{include file="CRM/common/status.tpl"} - - -{crmRegion name='page-body'} - -{if isset($isForm) and $isForm} - {include file="CRM/Form/$formTpl.tpl"} -{else} - {include file=$tplFile} -{/if} -{/crmRegion} +
+ {include file="CRM/common/status.tpl"} + {crmRegion name='page-body'} + + {if isset($isForm) and $isForm} + {include file="CRM/Form/$formTpl.tpl"} + {else} + {include file=$tplFile} + {/if} + {/crmRegion} +
{crmRegion name='page-footer'} -- 2.25.1