Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 4 | | | |
1188c7a8 TO |
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 | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | ||
6c2473d5 CW |
11 | {if empty($gName)} |
12 | {include file="CRM/Admin/Page/OptionGroup.tpl"} | |
13 | ||
14 | {elseif $action eq 1 or $action eq 2 or $action eq 8} | |
6a488035 TO |
15 | {include file="CRM/Admin/Form/Options.tpl"} |
16 | {else} | |
17 | ||
ebbeaead CW |
18 | {if $gName eq "acl_role"} |
19 | {include file="CRM/ACL/Header.tpl" step=1} | |
20 | {else} | |
21 | <div class="help"> | |
6a488035 | 22 | {if $gName eq "gender"} |
8834b2dd | 23 | {ts}CiviCRM is pre-configured with standard options for individual gender (Male, Female, Other). Modify these options as needed for your installation.{/ts} |
6a488035 | 24 | {elseif $gName eq "individual_prefix"} |
df36f2ce | 25 | {ts}CiviCRM is pre-configured with standard options for individual contact prefixes (Ms., Mr., Dr. etc.). Customize these options and add new ones as needed for your installation.{/ts} |
6a488035 TO |
26 | {elseif $gName eq "mobile_provider"} |
27 | {ts}When recording mobile phone numbers for contacts, it may be useful to include the Mobile Phone Service Provider (e.g. Cingular, Sprint, etc.). CiviCRM is installed with the most commonly encountered service providers. Administrators may define as many additional providers as needed.{/ts} | |
28 | {elseif $gName eq "instant_messenger_service"} | |
29 | {ts}When recording Instant Messenger (IM) 'screen names' for contacts, it is useful to include the IM Service Provider (e.g. AOL, Yahoo, etc.). CiviCRM is installed with the most commonly encountered service providers. Administrators may define as many additional providers as needed.{/ts} | |
30 | {elseif $gName eq "individual_suffix"} | |
df36f2ce | 31 | {ts}CiviCRM is pre-configured with standard options for individual contact name suffixes (Jr., Sr., II etc.). Customize these options and add new ones as needed for your installation.{/ts} |
6a488035 TO |
32 | {elseif $gName eq "activity_type"} |
33 | {ts}Activities are 'interactions with contacts' which you want to record and track. This list is sorted by component and then by weight within the component.{/ts} {help id='id-activity-types'} | |
34 | {elseif $gName eq "payment_instrument"} | |
35 | {ts}You may choose to record the payment method used for each contribution and fee. Reserved payment methods are required - you may modify their labels but they can not be deleted (e.g. Check, Credit Card, Debit Card). If your site requires additional payment methods, you can add them here. You can associate each payment method with a Financial Account which specifies where the payment is going (e.g. a bank account for checks and cash).{/ts} | |
36 | {elseif $gName eq "accept_creditcard"} | |
df36f2ce | 37 | {ts}The following credit card options will be offered to contributors using Online Contribution pages. You will need to verify which cards are accepted by your chosen Payment Processor and update these entries accordingly.{/ts}<br /><br /> |
6a488035 | 38 | {ts}IMPORTANT: This page does NOT control credit card/payment method choices for sites and/or contributors using the PayPal Express service (e.g. where billing information is collected on the Payment Processor's website).{/ts} |
6a488035 TO |
39 | {elseif $gName eq 'event_type'} |
40 | {ts}Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.{/ts} | |
41 | {elseif $gName eq 'participant_role'} | |
42 | {ts}Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.{/ts} | |
43 | {elseif $gName eq 'participant_status'} | |
44 | {ts}Define statuses for event participants here (e.g. Registered, Attended, Cancelled...). You can then assign statuses and search for participants by status.{/ts} {ts}"Counted?" controls whether a person with that status is counted as participant for the purpose of controlling the Maximum Number of Participants.{/ts} | |
45 | {elseif $gName eq 'from_email_address'} | |
46a41ec5 SL |
46 | {if $allowLoggedIn} |
47 | {ts}By default, CiviCRM uses the primary email address of the logged in user as the FROM address when sending emails to contacts. However, you can use this page to define one or more general Email Addresses that can be selected as an alternative. EXAMPLE: <em>"Client Services" <clientservices@example.org></em>{/ts} | |
48 | {else} | |
49 | {ts}You can use this page to define one or more general Email Addresses that can be selected as the From Address. EXAMPLE: <em>"Client Services" <clientservices@example.org></em>{/ts} | |
50 | {/if} | |
e3309c2f CW |
51 | {elseif $isLocked} |
52 | {ts}This option group is reserved for system use. You cannot add or delete options in this list.{/ts} | |
6a488035 | 53 | {else} |
6c2473d5 | 54 | {ts 1=$gLabel}The existing option choices for %1 group are listed below. You can add, edit or delete them from this screen.{/ts} |
6a488035 TO |
55 | {/if} |
56 | </div> | |
ebbeaead | 57 | {/if} |
6a488035 TO |
58 | |
59 | <div class="crm-content-block crm-block"> | |
60 | {if $rows} | |
e2046b33 | 61 | {if $isLocked ne 1} |
6a488035 | 62 | <div class="action-link"> |
80bc2820 | 63 | {crmButton p="civicrm/admin/options/$gName" q='action=add&reset=1' class="new-option" icon="plus-circle"}{ts 1=$gLabel}Add %1{/ts}{/crmButton} |
6a488035 TO |
64 | </div> |
65 | {/if} | |
00c2ff9e CW |
66 | {foreach from=$rows item=row} |
67 | {if !empty($row.icon)}{assign var='hasIcons' value=TRUE}{/if} | |
68 | {/foreach} | |
6a488035 TO |
69 | <div id={$gName}> |
70 | {strip} | |
71 | {* handle enable/disable actions*} | |
5e7dd082 | 72 | {include file="CRM/common/enableDisableApi.tpl"} |
e5e1786f | 73 | <table id="options" class="row-highlight"> |
6a488035 TO |
74 | <thead> |
75 | <tr> | |
00c2ff9e CW |
76 | {if !empty($hasIcons)} |
77 | <th></th> | |
78 | {/if} | |
6a488035 TO |
79 | {if $showComponent} |
80 | <th>{ts}Component{/ts}</th> | |
81 | {/if} | |
82 | <th> | |
83 | {if $gName eq "redaction_rule"} | |
84 | {ts}Match Value or Expression{/ts} | |
85 | {else} | |
86 | {ts}Label{/ts} | |
87 | {/if} | |
88 | </th> | |
89 | {if $gName eq "case_status"} | |
90 | <th> | |
91 | {ts}Status Class{/ts} | |
92 | </th> | |
93 | {/if} | |
94 | <th> | |
95 | {if $gName eq "redaction_rule"} | |
96 | {ts}Replacement{/ts} | |
97 | {elseif $gName eq "activity_type"} | |
98 | {ts}Activity Type ID{/ts} | |
99 | {else} | |
100 | {ts}Value{/ts} | |
101 | {/if} | |
102 | </th> | |
103 | {if $gName eq "payment_instrument"}<th>Account</th>{/if} | |
104 | {if $showCounted}<th>{ts}Counted?{/ts}</th>{/if} | |
105 | {if $showVisibility}<th>{ts}Visibility{/ts}</th>{/if} | |
106 | <th id="nosort">{ts}Description{/ts}</th> | |
e5e1786f | 107 | <th>{ts}Order{/ts}</th> |
6a488035 TO |
108 | {if $showIsDefault}<th>{ts}Default{/ts}</th>{/if} |
109 | <th>{ts}Reserved{/ts}</th> | |
110 | <th>{ts}Enabled?{/ts}</th> | |
6a488035 TO |
111 | <th></th> |
112 | </tr> | |
113 | </thead> | |
114 | <tbody> | |
115 | {foreach from=$rows item=row} | |
5e7dd082 | 116 | <tr id="option_value-{$row.id}" class="crm-admin-options crm-admin-options_{$row.id} crm-entity {cycle values="odd-row,even-row"}{if NOT $row.is_active} disabled{/if}"> |
00c2ff9e CW |
117 | {if !empty($hasIcons)} |
118 | <td class="crm-admin-options-icon"><i class="crm-i {$row.icon}"></i></td> | |
119 | {/if} | |
6a488035 TO |
120 | {if $showComponent} |
121 | <td class="crm-admin-options-component_name">{$row.component_name}</td> | |
122 | {/if} | |
b62580ac CW |
123 | <td class="crm-admin-options-label crm-editable" data-field="label" {if !empty($row.color)}style="background-color: {$row.color}; color: {$row.color|colorContrast};"{/if}> |
124 | {$row.label} | |
125 | </td> | |
6a488035 TO |
126 | {if $gName eq "case_status"} |
127 | <td class="crm-admin-options-grouping">{$row.grouping}</td> | |
128 | {/if} | |
129 | <td class="crm-admin-options-value">{$row.value}</td> | |
130 | {if $gName eq "payment_instrument"} | |
131 | <td>{$row.financial_account}</td> | |
132 | {/if} | |
133 | {if $showCounted} | |
22b67281 | 134 | <td class="center crm-admin-options-filter">{if $row.filter eq 1}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Counted{/ts}" />{/if}</td> |
6a488035 TO |
135 | {/if} |
136 | {if $showVisibility}<td class="crm-admin-visibility_label">{$row.visibility_label}</td>{/if} | |
7d644ac8 | 137 | <td class="crm-admin-options-description crm-editable" data-field="description" data-type="textarea">{$row.description}</td> |
e5e1786f | 138 | <td class="nowrap crm-admin-options-order">{$row.weight}</td> |
6a488035 TO |
139 | {if $showIsDefault} |
140 | <td class="crm-admin-options-is_default" align="center">{if $row.is_default eq 1}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Default{/ts}" />{/if} </td> | |
141 | {/if} | |
142 | <td class="crm-admin-options-is_reserved">{if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td> | |
143 | <td class="crm-admin-options-is_active" id="row_{$row.id}_status">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td> | |
144 | <td>{$row.action|replace:'xx':$row.id}</td> | |
6a488035 TO |
145 | </tr> |
146 | {/foreach} | |
147 | </tbody> | |
148 | </table> | |
149 | {/strip} | |
150 | ||
6a488035 TO |
151 | </div> |
152 | {else} | |
153 | <div class="messages status no-popup"> | |
e2046b33 CW |
154 | <img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/> |
155 | {ts}None found.{/ts} | |
6a488035 TO |
156 | </div> |
157 | {/if} | |
e2046b33 | 158 | <div class="action-link"> |
e5e8ab99 | 159 | {if $isLocked ne 1} |
80bc2820 | 160 | {crmButton p="civicrm/admin/options/$gName" q='action=add&reset=1' class="new-option" icon="plus-circle"}{ts 1=$gLabel}Add %1{/ts}{/crmButton} |
e5e8ab99 | 161 | {/if} |
2cc5774e | 162 | {crmButton p="civicrm/admin/options" q="action=browse&reset=1" class="cancel" icon="check"}{ts}Done{/ts}{/crmButton} |
e2046b33 | 163 | </div> |
6a488035 | 164 | </div> |
232624b1 | 165 | {/if} |