{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
{else}
{* Printer friendly link/icon. *}
<div id="printer-friendly">
-<a href="{$printerFriendly}" title="{ts}Printer-friendly view of this page.{/ts}">
+<a href="{$printerFriendly}" target='_blank' title="{ts}Printer-friendly view of this page.{/ts}">
<div class="ui-icon ui-icon-print"></div>
</a>
</div>
{include file="CRM/common/localNav.tpl"}
{/if}
-{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}
- {include file="CRM/Form/$formTpl.tpl"}
-{else}
- {include file=$tplFile}
-{/if}
-{/crmRegion}
+<div id="crm-main-content-wrapper">
+ {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}
+ {include file="CRM/Form/$formTpl.tpl"}
+ {else}
+ {include file=$tplFile}
+ {/if}
+ {/crmRegion}
+</div>
{crmRegion name='page-footer'}
-{if ! $urlIsPublic}
-{include file="CRM/common/footer.tpl"}
+{if $urlIsPublic}
+ {include file="CRM/common/publicFooter.tpl"}
+{else}
+ {include file="CRM/common/footer.tpl"}
{/if}
{/crmRegion}