Skip to content
Snippets Groups Projects
Commit 83d943da authored by colemanw's avatar colemanw
Browse files

Cleanup snippet.tpl

parent 8547369d
No related branches found
No related tags found
No related merge requests found
......@@ -22,35 +22,36 @@
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{if $config->debug}
*}{strip}
{if $config->debug}
{include file="CRM/common/debug.tpl"}
{/if}
{/if}
{if $smarty.get.snippet eq 4}
{if $smarty.get.snippet eq 4}
{if $isForm}
{include file="CRM/Form/default.tpl"}
{include file="CRM/Form/default.tpl"}
{else}
{include file=$tplFile}
{include file=$tplFile}
{/if}
{else}
{else}
{if $smarty.get.snippet eq 2}
{include file="CRM/common/print.tpl"}
{include file="CRM/common/print.tpl"}
{else}
<div class="crm-container-snippet" bgColor="white">
<div class="crm-container-snippet">
{* Display Status messages unless we are outputting json. *}
{if $smarty.get.snippet neq 'json'}
{include file="CRM/common/status.tpl"}
{/if}
{* Display Status messages unless we are outputting json. *}
{if $smarty.get.snippet neq 'json'}
{include file="CRM/common/status.tpl"}
{/if}
<!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
{if !empty($isForm)}
{include file="CRM/Form/default.tpl"}
{else}
{include file=$tplFile}
{/if}
<!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
{if !empty($isForm)}
{include file="CRM/Form/default.tpl"}
{else}
{include file=$tplFile}
{/if}
</div> {* end crm-container-snippet div *}
</div> {* end crm-container-snippet div *}
{/if}
{/if}
{/if}
{/strip}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment