31499 added tips for user
[com.zyxware.civiwci.git] / templates / CRM / Wci / Form / WCISettings.tpl
CommitLineData
f5a3493f
J
1{*
2 +--------------------------------------------------------------------+
3 | CiviCRM Widget Creation Interface (WCI) Version 1.0 |
4 +--------------------------------------------------------------------+
5 | Copyright Zyxware Technologies (c) 2014 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM WCI. |
8 | |
9 | CiviCRM WCI is free software; you can copy, modify, and distribute |
10 | it under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007. |
12 | |
13 | CiviCRM WCI is distributed in the hope that it will be useful, |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License along with this program; if not, contact Zyxware |
20 | Technologies at info[AT]zyxware[DOT]com. |
21 +--------------------------------------------------------------------+
22*}
4f895956 23{* HEADER *}
8966f337 24<div class="crm-block crm-form-block">
4f895956
J
25<div class="crm-submit-buttons">
26{include file="CRM/common/formButtons.tpl" location="top"}
27</div>
28
29{* FIELD EXAMPLE: OPTION 1 (AUTOMATIC LAYOUT) *}
30
31{foreach from=$elementNames item=elementName}
32 <div class="crm-section">
33 <div class="label">{$form.$elementName.label}</div>
1008246f
J
34 <div class="content">{$form.$elementName.html} {if "widget_cache_timeout" == $form.$elementName.id} Minutes{/if}</div>
35{if "default_profile" == $form.$elementName.id}
e960665a 36 <div class="content"><small>Enter public profile id where user can signup for newsletter. User's mail id will be added to the group configured for the widget when they click subscribe button.'</small></div>
1008246f
J
37{/if}
38{if "widget_cache_timeout" == $form.$elementName.id}
a2b33bc5 39 <div class="content"><small>Cache will be cleared after specified minutes. Widgets with static content (with out a progress bar) will be cached till it is modified. </small></div>
1008246f 40{/if}
4f895956
J
41 <div class="clear"></div>
42 </div>
43{/foreach}
44
45{* FIELD EXAMPLE: OPTION 2 (MANUAL LAYOUT)
46
47 <div>
48 <span>{$form.favorite_color.label}</span>
49 <span>{$form.favorite_color.html}</span>
50 </div>
51
52{* FOOTER *}
53<div class="crm-submit-buttons">
54{include file="CRM/common/formButtons.tpl" location="bottom"}
55</div>
8966f337 56</div>