X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2Fcommon%2FformButtons.tpl;h=bba2c80bede8021929c4fa3e0324ac20a5ecaf5f;hb=cf7754d71abb04c50f7501894881da003baa7f59;hp=6692e5e8720a4de934f9686acb1ed1df564eec71;hpb=1c0f1b28a78453078dc0b6ddc6bee27323aa5ecc;p=civicrm-core.git diff --git a/templates/CRM/common/formButtons.tpl b/templates/CRM/common/formButtons.tpl index 6692e5e872..bba2c80bed 100644 --- a/templates/CRM/common/formButtons.tpl +++ b/templates/CRM/common/formButtons.tpl @@ -1,8 +1,8 @@ {* +--------------------------------------------------------------------+ - | CiviCRM version 4.3 | + | CiviCRM version 4.5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | + | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -27,8 +27,8 @@ {* Loops through $form.buttons.html array and assigns separate spans with classes to allow theming by button and name. crmBtnType grabs type keyword from button name (e.g. 'upload', 'next', 'back', 'cancel') so types of buttons can be styled differently via css. *} - -{foreach from=$form.buttons item=button key=key name=btns} +{crmRegion name='form-buttons'} + {foreach from=$form.buttons item=button key=key name=btns} {if $key|substring:0:4 EQ '_qf_'} {if $location} {assign var='html' value=$form.buttons.$key.html|crmReplace:id:"$key-$location"} @@ -38,4 +38,5 @@ {capture assign=validate}{$key|crmBtnValidate}{/capture} {$html|crmAddClass:$validate} {/if} -{/foreach} + {/foreach} +{/crmRegion}