From: Coleman Watts Date: Fri, 5 Aug 2016 16:30:23 +0000 (-0400) Subject: Remove debugging comment when not in debug mode X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b2b5516330cfa28fb199d6422ced708848e222ea;p=civicrm-core.git Remove debugging comment when not in debug mode --- diff --git a/templates/CRM/common/backdrop.tpl b/templates/CRM/common/backdrop.tpl index 39e0729b72..2f71146537 100644 --- a/templates/CRM/common/backdrop.tpl +++ b/templates/CRM/common/backdrop.tpl @@ -58,7 +58,6 @@
{include file="CRM/common/status.tpl"} {crmRegion name='page-body'} - {if isset($isForm) and $isForm and isset($formTpl)} {include file="CRM/Form/$formTpl.tpl"} {else} diff --git a/templates/CRM/common/debug.tpl b/templates/CRM/common/debug.tpl index a28149a299..3b4bca930a 100644 --- a/templates/CRM/common/debug.tpl +++ b/templates/CRM/common/debug.tpl @@ -23,6 +23,7 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} + {if $smarty.get.smartyDebug} {debug} {/if} diff --git a/templates/CRM/common/drupal.tpl b/templates/CRM/common/drupal.tpl index 39e0729b72..2f71146537 100644 --- a/templates/CRM/common/drupal.tpl +++ b/templates/CRM/common/drupal.tpl @@ -58,7 +58,6 @@
{include file="CRM/common/status.tpl"} {crmRegion name='page-body'} - {if isset($isForm) and $isForm and isset($formTpl)} {include file="CRM/Form/$formTpl.tpl"} {else} diff --git a/templates/CRM/common/drupal6.tpl b/templates/CRM/common/drupal6.tpl index 86cb017222..d119c865e1 100644 --- a/templates/CRM/common/drupal6.tpl +++ b/templates/CRM/common/drupal6.tpl @@ -60,7 +60,6 @@
{include file="CRM/common/status.tpl"} {crmRegion name='page-body'} - {if isset($isForm) and $isForm and isset($formTpl)} {include file="CRM/Form/$formTpl.tpl"} {else} diff --git a/templates/CRM/common/drupal8.tpl b/templates/CRM/common/drupal8.tpl index 39e0729b72..2f71146537 100644 --- a/templates/CRM/common/drupal8.tpl +++ b/templates/CRM/common/drupal8.tpl @@ -58,7 +58,6 @@
{include file="CRM/common/status.tpl"} {crmRegion name='page-body'} - {if isset($isForm) and $isForm and isset($formTpl)} {include file="CRM/Form/$formTpl.tpl"} {else} diff --git a/templates/CRM/common/joomla.tpl b/templates/CRM/common/joomla.tpl index 303ae03ca4..71fbc307d4 100644 --- a/templates/CRM/common/joomla.tpl +++ b/templates/CRM/common/joomla.tpl @@ -81,7 +81,6 @@
{include file="CRM/common/status.tpl"} {crmRegion name='page-body'} - {if isset($isForm) and $isForm and isset($formTpl)} {include file="CRM/Form/$formTpl.tpl"} {else} diff --git a/templates/CRM/common/print.tpl b/templates/CRM/common/print.tpl index 199af5f4e5..05bf47075b 100644 --- a/templates/CRM/common/print.tpl +++ b/templates/CRM/common/print.tpl @@ -44,7 +44,6 @@ {include file="CRM/common/status.tpl"} {crmRegion name='page-body' allowCmsOverride=0} - {if $isForm and isset($formTpl)} {include file="CRM/Form/$formTpl.tpl"} {else} diff --git a/templates/CRM/common/printBody.tpl b/templates/CRM/common/printBody.tpl index 5093bfa173..d8eb6b43bb 100644 --- a/templates/CRM/common/printBody.tpl +++ b/templates/CRM/common/printBody.tpl @@ -25,7 +25,6 @@ *} {* printBody.tpl: wrapper for Print views without HTML surrounds. *} - {if $isForm and isset($formTpl)} {include file="CRM/Form/$formTpl.tpl"} {else} diff --git a/templates/CRM/common/snippet.tpl b/templates/CRM/common/snippet.tpl index 76fc7fe2c7..48244532a9 100644 --- a/templates/CRM/common/snippet.tpl +++ b/templates/CRM/common/snippet.tpl @@ -50,7 +50,6 @@ {include file="CRM/common/status.tpl"} {/if} - {if !empty($isForm)} {include file="CRM/Form/default.tpl"} {else} diff --git a/templates/CRM/common/unittests.tpl b/templates/CRM/common/unittests.tpl index 39e0729b72..2f71146537 100644 --- a/templates/CRM/common/unittests.tpl +++ b/templates/CRM/common/unittests.tpl @@ -58,7 +58,6 @@
{include file="CRM/common/status.tpl"} {crmRegion name='page-body'} - {if isset($isForm) and $isForm and isset($formTpl)} {include file="CRM/Form/$formTpl.tpl"} {else} diff --git a/templates/CRM/common/wordpress.tpl b/templates/CRM/common/wordpress.tpl index 7d5ed8af88..5713b40a55 100644 --- a/templates/CRM/common/wordpress.tpl +++ b/templates/CRM/common/wordpress.tpl @@ -77,7 +77,6 @@
{include file="CRM/common/status.tpl"} {crmRegion name='page-body'} - {if isset($isForm) and $isForm and isset($formTpl)} {include file="CRM/Form/$formTpl.tpl"} {else}