{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
-{include file="CRM/common/scripts.tpl"}
{if $config->debug}
{include file="CRM/common/debug.tpl"}
{/if}
{if isset($browserPrint) and $browserPrint}
{* Javascript window.print link. Used for public pages where we can't do printer-friendly view. *}
<div id="printer-friendly">
-<a href="javascript:window.print()" title="{ts}Print this page.{/ts}">
+<a href="#" onclick="window.print(); return false;" title="{ts}Print this page.{/ts}">
<div class="ui-icon ui-icon-print"></div>
</a>
</div>
{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}