X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2Fcommon%2FTabHeader.tpl;h=78e2cdac3324bcd02db1920f281fd53ad576e45f;hb=d03e58376da0c35fd4ab7ed67601f07c53afbfe7;hp=ad9f9c91c277ad5912d77f4539a6991c5a0c6483;hpb=03a8c3dcf5d8c3fe76a0551cbdfea259fc40e101;p=civicrm-core.git diff --git a/templates/CRM/common/TabHeader.tpl b/templates/CRM/common/TabHeader.tpl index ad9f9c91c2..78e2cdac33 100644 --- a/templates/CRM/common/TabHeader.tpl +++ b/templates/CRM/common/TabHeader.tpl @@ -1,8 +1,8 @@ {* +--------------------------------------------------------------------+ - | CiviCRM version 4.4 | + | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | + | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -24,81 +24,32 @@ +--------------------------------------------------------------------+ *} -{* enclosed all tabs and its content in a block *} {* include wysiwyg related files*} {include file="CRM/common/wysiwyg.tpl" includeWysiwygEditor=true} +{* enclose all tabs and its content in a block *}
- {if $tabHeader and count($tabHeader) gt 1} + {if $tabHeader and count($tabHeader)}
+ {foreach from=$tabHeader key=tabName item=tabValue} + {if !empty($tabValue.template)} +
+ {include file=$tabValue.template} +
+ {/if} + {/foreach}
{/if}
{* crm-content-block ends here *} - - -