Commit | Line | Data |
---|---|---|
089360bb | 1 | {* |
1188c7a8 TO |
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 | +--------------------------------------------------------------------+ | |
089360bb | 9 | *} |
089360bb | 10 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> |
ded0c211 | 11 | <table class="form-layout-compressed"> |
12 | {foreach from=$settings_fields key="setting_name" item="setting_detail"} | |
13 | <tr class="crm-mail-form-block-{$setting_name}"> | |
bfd9c358 CW |
14 | <td class="label">{$form.$setting_name.label}</td> |
15 | <td> | |
16 | {if !empty($setting_detail.wrapper_element)} | |
17 | {$setting_detail.wrapper_element.0}{$form.$setting_name.html}{$setting_detail.wrapper_element.1} | |
18 | {else} | |
19 | {$form.$setting_name.html} | |
20 | {/if} | |
21 | <div class="description"> | |
ded0c211 | 22 | {ts}{$setting_detail.description}{/ts} |
bfd9c358 | 23 | </div> |
ded0c211 | 24 | {if $setting_detail.help_text} |
25 | {assign var='tplhelp_id' value = $setting_name|cat:'-id'|replace:'_':'-'}{help id="$tplhelp_id"} | |
26 | {/if} | |
27 | </td> | |
28 | </tr> | |
29 | {/foreach} | |
30 | </table> | |
31 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> | |
32 | <div class="spacer"></div> |