Set target="_blank" on external footer links
[civicrm-core.git] / templates / CRM / UF / Form / Block.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
9 *}
10 {* Edit or display Profile fields, when embedded in an online contribution or event registration form. *}
11 {if ! empty( $fields )}
12 {strip}
13 {if $help_pre && $action neq 4}<div class="messages help">{$help_pre}</div>{/if}
14 {assign var=zeroField value="Initial Non Existent Fieldset"}
15 {assign var=fieldset value=$zeroField}
16 {include file="CRM/UF/Form/Fields.tpl"}
17
18 {if $field.groupHelpPost && $action neq 4 && $action neq 1028}
19 <div class="messages help">{$field.groupHelpPost}</div>
20 {/if}
21
22 {if $mode eq 4}
23 <div class="crm-submit-buttons">
24 {$form.buttons.html}
25 </div>
26 {/if}
27
28 {if $mode ne 8 && $action neq 1028 && !$hideFieldset}
29 </fieldset>
30 {/if}
31
32 {if $help_post && $action neq 4}<br /><div class="messages help">{$help_post}</div>{/if}
33 {/strip}
34
35 {/if} {* fields array is not empty *}
36
37 {literal}
38 <script type="text/javascript">
39 CRM.$(function($) {
40 $('#selector tr:even').addClass('odd-row');
41 $('#selector tr:odd ').addClass('even-row');
42 });
43 </script>
44 {/literal}