Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
39de6fd5 | 3 | | CiviCRM version 4.6 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
819d0d41 | 5 | | Copyright CiviCRM LLC (c) 2004-2014 | |
6a488035 TO |
6 | +--------------------------------------------------------------------+ |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | 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 and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
26 | ||
6c2473d5 CW |
27 | {if empty($gName)} |
28 | {include file="CRM/Admin/Page/OptionGroup.tpl"} | |
29 | ||
30 | {elseif $action eq 1 or $action eq 2 or $action eq 8} | |
6a488035 TO |
31 | {include file="CRM/Admin/Form/Options.tpl"} |
32 | {else} | |
33 | ||
34 | <div id="help"> | |
35 | {if $gName eq "gender"} | |
36 | {ts}CiviCRM is pre-configured with standard options for individual gender (e.g. Male, Female, Transgender). You can use this page to customize these options and add new options as needed for your installation.{/ts} | |
37 | {elseif $gName eq "individual_prefix"} | |
38 | {ts}CiviCRM is pre-configured with standard options for individual contact prefixes (e.g. Ms., Mr., Dr. etc.). You can use this page to customize these options and add new ones as needed for your installation.{/ts} | |
39 | {elseif $gName eq "mobile_provider"} | |
40 | {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} | |
41 | {elseif $gName eq "instant_messenger_service"} | |
42 | {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} | |
43 | {elseif $gName eq "individual_suffix"} | |
44 | {ts}CiviCRM is pre-configured with standard options for individual contact name suffixes (e.g. Jr., Sr., II etc.). You can use this page to customize these options and add new ones as needed for your installation.{/ts} | |
45 | {elseif $gName eq "activity_type"} | |
46 | {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'} | |
47 | {elseif $gName eq "payment_instrument"} | |
48 | {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} | |
49 | {elseif $gName eq "accept_creditcard"} | |
50 | {ts}This page lists the credit card options that will be offered to contributors using your 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 /> | |
51 | {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} | |
52 | {elseif $gName eq "acl_role"} | |
39288b99 | 53 | {capture assign=docLink}{docURL page="user/current/initial-set-up/permissions-and-access-control/" text="Access Control Documentation"}{/capture} |
6a488035 TO |
54 | {capture assign=aclURL}{crmURL p='civicrm/acl' q='reset=1'}{/capture} |
55 | {capture assign=erURL}{crmURL p='civicrm/acl/entityrole' q='reset=1'}{/capture} | |
56 | {ts 1=$docLink}ACLs allow you control access to CiviCRM data. An ACL consists of an <strong>Operation</strong> (e.g. 'View' or 'Edit'), a <strong>set of data</strong> that the operation can be performed on (e.g. a group of contacts), and a <strong>Role</strong> that has permission to do this operation. Refer to the %1 for more info.{/ts}<br /><br /> | |
57 | {ts 1=$aclURL 2=$erURL}You can add or modify your ACL Roles below. You can create ACL’s and grant permission to roles <a href='%1'>here</a>... and you can assign role(s) to CiviCRM contacts who are users of your site <a href='%2'>here</a>.{/ts} | |
58 | {elseif $gName eq 'event_type'} | |
59 | {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} | |
60 | {elseif $gName eq 'participant_role'} | |
61 | {ts}Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.{/ts} | |
62 | {elseif $gName eq 'participant_status'} | |
63 | {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} | |
64 | {elseif $gName eq 'from_email_address'} | |
65 | {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} | |
e3309c2f CW |
66 | {elseif $isLocked} |
67 | {ts}This option group is reserved for system use. You cannot add or delete options in this list.{/ts} | |
6a488035 | 68 | {else} |
6c2473d5 | 69 | {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 |
70 | {/if} |
71 | </div> | |
72 | ||
73 | <div class="crm-content-block crm-block"> | |
74 | {if $rows} | |
e2046b33 | 75 | {if $isLocked ne 1} |
6a488035 | 76 | <div class="action-link"> |
f7296a9a | 77 | {crmButton p="civicrm/admin/options/$gName" q='action=add&reset=1' class="new-option" icon="circle-plus"}{ts 1=$gLabel}Add %1{/ts}{/crmButton} |
6a488035 TO |
78 | </div> |
79 | {/if} | |
80 | <div id={$gName}> | |
81 | {strip} | |
82 | {* handle enable/disable actions*} | |
5e7dd082 | 83 | {include file="CRM/common/enableDisableApi.tpl"} |
e5e1786f | 84 | <table id="options" class="row-highlight"> |
6a488035 TO |
85 | <thead> |
86 | <tr> | |
87 | {if $showComponent} | |
88 | <th>{ts}Component{/ts}</th> | |
89 | {/if} | |
90 | <th> | |
91 | {if $gName eq "redaction_rule"} | |
92 | {ts}Match Value or Expression{/ts} | |
93 | {else} | |
94 | {ts}Label{/ts} | |
95 | {/if} | |
96 | </th> | |
97 | {if $gName eq "case_status"} | |
98 | <th> | |
99 | {ts}Status Class{/ts} | |
100 | </th> | |
101 | {/if} | |
102 | <th> | |
103 | {if $gName eq "redaction_rule"} | |
104 | {ts}Replacement{/ts} | |
105 | {elseif $gName eq "activity_type"} | |
106 | {ts}Activity Type ID{/ts} | |
107 | {else} | |
108 | {ts}Value{/ts} | |
109 | {/if} | |
110 | </th> | |
111 | {if $gName eq "payment_instrument"}<th>Account</th>{/if} | |
112 | {if $showCounted}<th>{ts}Counted?{/ts}</th>{/if} | |
113 | {if $showVisibility}<th>{ts}Visibility{/ts}</th>{/if} | |
114 | <th id="nosort">{ts}Description{/ts}</th> | |
e5e1786f | 115 | <th>{ts}Order{/ts}</th> |
6a488035 TO |
116 | {if $showIsDefault}<th>{ts}Default{/ts}</th>{/if} |
117 | <th>{ts}Reserved{/ts}</th> | |
118 | <th>{ts}Enabled?{/ts}</th> | |
6a488035 TO |
119 | <th></th> |
120 | </tr> | |
121 | </thead> | |
122 | <tbody> | |
123 | {foreach from=$rows item=row} | |
5e7dd082 | 124 | <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}"> |
6a488035 TO |
125 | {if $showComponent} |
126 | <td class="crm-admin-options-component_name">{$row.component_name}</td> | |
127 | {/if} | |
5e7dd082 | 128 | <td class="crm-admin-options-label crm-editable" data-field="label">{$row.label}</td> |
6a488035 TO |
129 | {if $gName eq "case_status"} |
130 | <td class="crm-admin-options-grouping">{$row.grouping}</td> | |
131 | {/if} | |
132 | <td class="crm-admin-options-value">{$row.value}</td> | |
133 | {if $gName eq "payment_instrument"} | |
134 | <td>{$row.financial_account}</td> | |
135 | {/if} | |
136 | {if $showCounted} | |
137 | <td class="yes-no crm-admin-options-filter">{if $row.filter eq 1}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Counted{/ts}" />{/if}</td> | |
138 | {/if} | |
139 | {if $showVisibility}<td class="crm-admin-visibility_label">{$row.visibility_label}</td>{/if} | |
7d644ac8 | 140 | <td class="crm-admin-options-description crm-editable" data-field="description" data-type="textarea">{$row.description}</td> |
e5e1786f | 141 | <td class="nowrap crm-admin-options-order">{$row.weight}</td> |
6a488035 TO |
142 | {if $showIsDefault} |
143 | <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> | |
144 | {/if} | |
145 | <td class="crm-admin-options-is_reserved">{if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td> | |
146 | <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> | |
147 | <td>{$row.action|replace:'xx':$row.id}</td> | |
6a488035 TO |
148 | </tr> |
149 | {/foreach} | |
150 | </tbody> | |
151 | </table> | |
152 | {/strip} | |
153 | ||
6a488035 TO |
154 | </div> |
155 | {else} | |
156 | <div class="messages status no-popup"> | |
e2046b33 CW |
157 | <img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/> |
158 | {ts}None found.{/ts} | |
6a488035 TO |
159 | </div> |
160 | {/if} | |
e2046b33 | 161 | <div class="action-link"> |
e5e8ab99 | 162 | {if $isLocked ne 1} |
f7296a9a | 163 | {crmButton p="civicrm/admin/options/$gName" q='action=add&reset=1' class="new-option" icon="circle-plus"}{ts 1=$gLabel}Add %1{/ts}{/crmButton} |
e5e8ab99 | 164 | {/if} |
f7296a9a | 165 | {crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="close"}{ts}Done{/ts}{/crmButton} |
e2046b33 | 166 | </div> |
6a488035 | 167 | </div> |
232624b1 | 168 | {/if} |