First commit

This commit is contained in:
Theodotos Andreou 2018-01-14 13:10:16 +00:00
commit c6e2478c40
13918 changed files with 2303184 additions and 0 deletions

View file

@ -0,0 +1,80 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{htxt id="param-name-title"}
{ts}Parameter Name{/ts}
{/htxt}
{htxt id="param-name"}
<p>
{ts}Choose a parameter from the list, or select "other" for manual entry.{/ts}
</p>
{/htxt}
{htxt id="param-op-title"}
{ts}Operator{/ts}
{/htxt}
{htxt id="param-op"}
<p>
{ts}The default operator is equals (=), and is the only operator supported for "create" or "delete" actions.{/ts}
</p>
<p>
{ts}Some apis support a special syntax to allow other operators for "get" type actions. Choosing a different operator will automatically use this syntax, although it may not work with every api.{/ts}
</p>
{/htxt}
{htxt id="param-value-title"}
{ts}Parameter Value{/ts}
{/htxt}
{htxt id="param-value"}
<p>
{ts}The following formats are accepted:{/ts}
<ul>
<li>{ts}Simple values such as numbers, true, false and null.{/ts}</li>
<li>{ts}Strings. You may include quotes around the string to ensure it's not interpreted otherwise, e.g. "false".{/ts}</li>
<li>{ts}Arrays in js format, e.g. [1, 2, 3, 'foo', 'bar', 'baz'].{/ts}</li>
<li>{ts}Associative arrays in js object format, e.g. {ldelim}first: "one", second: "two", third: 3{rdelim}.{/ts}</li>
<li>{ts}A comma-separated list will automatically be turned into an array for multivalue operations, or you can explicitly use the js array format above.{/ts}</li>
</ul>
</p>
{/htxt}
{htxt id="api-chain-title"}
{ts}Api Chaining{/ts}
{/htxt}
{htxt id="api-chain"}
<p>{ts}Chains allow you to execute api calls on the results of this one.{/ts}</p>
<p>{ts}Example: When creating a contact, you can chain the Email.create api to add email addresses for them.{/ts}</p>
<p>{ts}Disambiguation: api chains are different from joins in that chaining executes a separate api call for every result returned from the main call.{/ts}</p>
{/htxt}
{htxt id="api-join-title"}
{ts}Api Joins{/ts}
{/htxt}
{htxt id="api-join"}
<p>{ts}Join this api call to return values from or filter on a related entity.{/ts}</p>
<p>{ts}The new fields will be selectable from the "Params" and "Fields to return" lists.{/ts}</p>
<p>{ts}Example: If the api entity is Email, you can also fetch the display name of the contact this email belongs to.{/ts}</p>
<p>{ts}Disambiguation: Joins are different from api chaining in that joins execute as a single SELECT query, and only work for api "get" operations.{/ts}</p>
{/htxt}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,471 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
<style>
{literal}
#mainTabContainer {
background: transparent;
border: 0 none;
}
#mainTabContainer pre {
line-height: 14px;
font-size: 11px;
margin: 0;
border: 0 none;
}
#mainTabContainer ul.ui-tabs-nav {
font-size: 1.1em;
margin-bottom: .6em;
}
pre#api-result {
max-height: 50em;
}
pre#api-result,
div#doc-result,
pre#example-result {
padding:1em;
border: 1px solid lightgrey;
margin-top: 1em;
overflow: auto;
}
#api-params tr td {
padding-top: 13px;
}
#api-params-table th:first-child,
#api-params-table td:first-child {
width: 35%;
min-width: 190px;
}
#api-params-table td[colspan] {
width: 100%;
}
#api-params-table td:first-child + td,
#api-params-table th:first-child + th {
width: 140px;
}
#api-params-table td:first-child + td select {
width: 132px;
}
#api-params-table td:first-child + td + td,
#api-params-table th:first-child + th + th {
width: 65%
}
#api-params .api-sort-handle {
margin-right: 10px;
cursor: move;
}
#api-params tr td > .crm-i,
#api-params tr td > a .crm-i {
color: lightgrey;
}
#api-params tr:hover td > .crm-i,
#api-params tr:hover td > a .crm-i {
color: grey;
}
#api-params .api-and-or {
margin-left: 1.2em;
font-size: .8em;
position: relative;
top: 5px;
width: 10em;
margin-bottom: -9px;
}
#api-params .api-and-or > span {
padding: 0 1em;
background: white;
cursor: pointer;
}
#api-params .api-or,
#api-params tr.or .api-and {
color: lightgrey;
}
#api-params tr.or .api-or {
color: inherit;
}
#api-params .api-and-or .crm-i {
transform: rotate(180deg);
}
#api-params tr.or .api-and-or .crm-i {
transform: initial;
}
#api-params .api-and-or:hover .crm-i {
color: #2786c2;
}
#api-params tr.or {
border-top: 3px solid lightgrey;
border-left: 3px solid lightgrey;
border-right: 3px solid lightgrey;
}
#api-params tr.or + tr {
border-left: 3px solid lightgrey;
border-right: 3px solid lightgrey;
border-bottom: 3px solid lightgrey;
}
#api-params tr.or + tr.or {
border-top: none;
border-bottom: none;
}
#api-generated td:first-child {
width: 60px;
}
#api-params {
min-height: 1em;
}
#api-params .red-icon {
margin-top: .5em;
}
.api-param-remove {
float: right;
}
#mainTabContainer label {
display: inline;
font-weight: bold;
}
#mainTabContainer label.api-checkbox-label {
font-weight: normal;
}
#mainTabContainer h4 {
font-weight: bold;
font-size: 1.2em;
margin: .2em .2em 0.5em;
}
#api-join {
margin-top: 1em;
font-size: .8em;
}
#api-join ul {
margin: 0;
padding: 0 0 0.25em 2.5em;
}
#api-join li > i {
opacity: .5;
}
#api-join li.join-enabled > i {
opacity: 1;
}
#api-join li.join-not-available {
font-style: italic;
}
#api-generated-wraper,
#api-result {
overflow: auto;
}
#api-explorer .api-options-row + .api-options-row label {
display: none;
}
.api-options-row td:first-child {
text-align: right;
}
.select2-choice .icon {
margin-top: .2em;
background-image: url("{/literal}{$config->resourceBase}{literal}/i/icons/jquery-ui-2786C2.png");
}
.select2-default .icon {
background-image: url("{/literal}{$config->resourceBase}{literal}/i/icons/jquery-ui-52534D.png");
opacity: .8;
}
.api-field-desc {
font-size: .8em;
color: #828282;
line-height: 1.3em;
}
.select2-highlighted .api-field-desc,
.select2-highlighted .crm-marker {
color: #fcfcfc;
}
.api-param-op[readonly] {
width: 4em;
}
pre ol.linenums li {
list-style-type: decimal;
color: #CFCFCF;
}
pre ol.linenums li:hover {
color: #828282;
background-color: #f2f2f2;
}
pre li.L1, pre li.L3, pre li.L5, pre li.L7, pre li.L9,
#api-generated td + td,
#mainTabContainer pre {
background-color: #f9f9f9;
}
.api-doc-code {
margin-top: 1em;
border-top: 1px solid #d3d3d3;
}
.api-doc-code .collapsible-title {
font-weight: bold;
margin-top: .5em;
}
.doc-filename {
text-align: right;
font-style: italic;
}
{/literal}
</style>
<div id="mainTabContainer">
<ul>
<li class="ui-corner-all" title="GUI to build and execute API calls">
<a href="#explorer-tab"><i class="crm-i fa-search"></i> {ts}Explorer{/ts}</a>
</li>
<li class="ui-corner-all" title="Auto-generated examples from the test suite">
<a href="#examples-tab"><i class="crm-i fa-book"></i> {ts}Examples{/ts}</a>
</li>
<li class="ui-corner-all" title="API source-code and code-level documentation">
<a href="#docs-tab"><i class="crm-i fa-code"></i> {ts}Code Docs{/ts}</a>
</li>
</ul>
<div id="explorer-tab">
<form id="api-explorer">
<label for="api-entity">{ts}Entity{/ts}:</label>
<select class="crm-form-select big required" id="api-entity" name="entity">
<option value="" selected="selected">{ts}Choose{/ts}...</option>
{crmAPI entity="Entity" var="entities"}
{foreach from=$entities.values item=entity}
<option value="{$entity}" {if !empty($entities.deprecated) && in_array($entity, $entities.deprecated)}class="strikethrough"{/if}>
{$entity}
</option>
{/foreach}
</select>
&nbsp;&nbsp;
<label for="api-action">{ts}Action{/ts}:</label>
<input class="crm-form-text" id="api-action" name="action" value="get">
&nbsp;&nbsp;
<label for="debug-checkbox" class="api-checkbox-label" title="{ts}Display debug output with results.{/ts}">
<input type="checkbox" class="crm-form-checkbox api-param-checkbox api-input" id="debug-checkbox" name="debug" value="1" >debug
</label>
&nbsp;|&nbsp;
<label for="sequential-checkbox" class="api-checkbox-label" title="{ts}Sequential is more compact format, well-suited for json and smarty.{/ts}">
<input type="checkbox" class="crm-form-checkbox api-param-checkbox api-input" id="sequential-checkbox" name="sequential" checked="checked" value="1">sequential
</label>
<div id="api-join" class="crm-form-block crm-collapsible collapsed" style="display:none;">
<h4 class="collapsible-title">{ts}Join on:{/ts} {help id='api-join'}</h4>
<div></div>
</div>
<table id="api-params-table">
<thead style="display: none;">
<tr>
<th>{ts}Name{/ts} {help id='param-name'}</th>
<th>{ts}Operator{/ts} {help id='param-op'}</th>
<th>{ts}Value{/ts} {help id='param-value'}</th>
</tr>
</thead>
<tbody id="api-params"></tbody>
</table>
<div id="api-param-buttons" style="display: none;">
<a href="#" class="crm-hover-button" id="api-params-add"><i class="crm-i fa-plus"></i> {ts}Add Parameter{/ts}</a>
<a href="#" class="crm-hover-button" id="api-option-add"><i class="crm-i fa-cog"></i> {ts}Add Option{/ts}</a>
<a href="#" class="crm-hover-button" id="api-chain-add"><i class="crm-i fa-link"></i> {ts}Chain API Call{/ts}</a>
{help id="api-chain"}
</div>
<div id="api-generated-wraper">
<table id="api-generated" border=1>
<caption>{ts}Code{/ts}</caption>
<tr><td>Rest</td><td><pre id="api-rest"></pre></td></tr>
<tr><td>Smarty</td><td><pre class="linenums" id="api-smarty" title='smarty syntax (for get actions)'></pre></td></tr>
<tr><td>Php</td><td><pre class="linenums" id="api-php" title='php syntax'></pre></td></tr>
<tr><td>Javascript</td><td><pre class="linenums" id="api-json" title='javascript syntax'></pre></td></tr>
<tr><td><a href="https://github.com/civicrm/cv" target="_blank">cv</a></td><td><pre id="api-cv" title='cv cli syntax'></pre></td></tr>
{if $config->userSystem->is_drupal}
<tr><td><a href="http://www.drush.org/" target="_blank">drush</a></td><td><pre id="api-drush" title='drush syntax'></pre></td></tr>
{/if}
{if $config->userSystem->is_wordpress}
<tr><td><a href="http://wp-cli.org/" target="_blank">wp-cli</a></td><td><pre id="api-wpcli" title='wp-cli syntax'></pre></td></tr>
{/if}
</table>
</div>
<div class="crm-submit-buttons">
<span class="crm-button crm-i-button">
<i class="crm-i fa-bolt"></i><input type="submit" value="{ts}Execute{/ts}" class="crm-form-submit" accesskey="S" title="{ts}Execute API call and display results{/ts}"/>
</span>
</div>
<pre id="api-result" class="linenums">
{ts}Results are displayed here.{/ts}
</pre>
</form>
</div>
<div id="examples-tab">
<form id="api-examples">
<label for="example-entity">{ts}Entity{/ts}:</label>
<select class="crm-form-select big required" id="example-entity" name="entity">
<option value="" selected="selected">{ts}Choose{/ts}...</option>
{foreach from=$examples item=entity}
<option value="{$entity}" {if !empty($entities.deprecated) && in_array($entity, $entities.deprecated)}class="strikethrough"{/if}>
{$entity}
</option>
{/foreach}
</select>
&nbsp;&nbsp;
<label for="example-action">{ts}Example{/ts}:</label>
<select class="crm-form-select big crm-select2" id="example-action" name="action">
<option value="" selected="selected">{ts}Choose{/ts}...</option>
</select>
<pre id="example-result" class="linenums lang-php" placeholder="{ts escape='html'}Results are displayed here.{/ts}">
{ts}Results are displayed here.{/ts}
</pre>
</form>
</div>
<div id="docs-tab">
<form id="api-docs">
<label for="doc-entity">{ts}Entity{/ts}:</label>
<select class="crm-form-select big required" id="doc-entity" name="entity">
<option value="" selected="selected">{ts}Choose{/ts}...</option>
{foreach from=$entities.values item=entity}
<option value="{$entity}" {if !empty($entities.deprecated) && in_array($entity, $entities.deprecated)}class="strikethrough"{/if}>
{$entity}
</option>
{/foreach}
</select>
&nbsp;&nbsp;
<label for="doc-action">{ts}Action{/ts}:</label>
<select class="crm-form-select big crm-select2" id="doc-action" name="action">
<option value="" selected="selected">{ts}Choose{/ts}...</option>
</select>
<div id="doc-result">
{ts}Results are displayed here.{/ts}
</div>
</form>
</div>
</div>
{strip}
<script type="text/template" id="api-param-tpl">
<tr class="api-param-row">
<td>
<i class="crm-i api-sort-handle fa-arrows"></i>
<input style="width: 90%;" class="crm-form-text api-param-name api-input" value="<%= name %>" placeholder="{ts}Parameter{/ts}" />
<div class="api-and-or"><span><span class="api-and">{ts}AND{/ts}</span> <i class="crm-i fa-toggle-on"></i> <span class="api-or">{ts}OR{/ts}</span></span></div>
</td>
<td>
{literal}
<% if (noOps) { %>
<input class="crm-form-text api-param-op" value="=" readonly="true" title="{/literal}{ts}Other operators not available for this action.{/ts}{literal}" />
<% } else { %>
{/literal}
<select class="crm-form-select api-param-op">
{foreach from=$operators item='op'}
<option value="{$op|htmlspecialchars}">{$op|htmlspecialchars}</option>
{/foreach}
</select>
{literal}
<% } %>
{/literal}
</td>
<td>
<input style="width: 85%;" class="crm-form-text api-param-value api-input" placeholder="{ts}Value{/ts}"/>
<a class="crm-hover-button api-param-remove" href="#"><i class="crm-i fa-times"></i></a>
</td>
</tr>
</script>
<script type="text/template" id="api-return-tpl">
<tr class="api-return-row">
<td colspan="3">
<label for="api-return-value">
<%- title %>:
<% if(required) {ldelim} %> <span class="crm-marker">*</span> <% {rdelim} %>
</label> &nbsp;
<input type="hidden" class="api-param-name" value="return" />
<input style="width: 50%;" id="api-return-value" class="crm-form-text api-param-value api-input"/>
</td>
</tr>
</script>
<script type="text/template" id="api-options-tpl">
<tr class="api-options-row">
<td>
<label>{ts}Options{/ts}: &nbsp;</label>
</td>
<td>
<input class="crm-form-text api-option-name api-input" style="width: 12em;" placeholder="{ts}Option{/ts}"/>
</td>
<td>
<input style="width: 85%;" class="crm-form-text api-option-value api-input" placeholder="{ts}Value{/ts}"/>
<a class="crm-hover-button api-param-remove" href="#"><i class="crm-i fa-times"></i></a>
</td>
</tr>
</script>
<script type="text/template" id="api-chain-tpl">
<tr class="api-chain-row">
<td>
<i class="crm-i api-sort-handle fa-arrows"></i>
<select style="width: 90%;" class="crm-form-select api-chain-entity">
<option value=""></option>
{foreach from=$entities.values item=entity}
<option value="{$entity}" {if !empty($entities.deprecated) && in_array($entity, $entities.deprecated)}class="strikethrough"{/if}>
{$entity}
</option>
{/foreach}
</select>
</td>
<td>
<select class="crm-form-select api-chain-action">
<option value="get">get</option>
</select>
</td>
<td>
<input style="width: 85%;" class="crm-form-text api-param-value api-input" value="{ldelim}{rdelim}" placeholder="{ts}API Params{/ts}"/>
<a class="crm-hover-button api-param-remove" href="#"><i class="crm-i fa-times"></i></a>
</td>
</tr>
</script>
<script type="text/template" id="doc-code-tpl">
<div class="crm-collapsible collapsed api-doc-code">
<div class="collapsible-title">{ts}Source Code{/ts}</div>
<div>
<div class="doc-filename"><%- file %></div>
<pre class="lang-php linenums"><%- code %></pre>
</div>
</div>
</script>
<script type="text/template" id="join-tpl">
{literal}
<ul class="fa-ul">
<% _.forEach(joins, function(join, name) { %>
<li <% if(join.checked) { %>class="join-enabled"<% } if(join.disabled) { %>class="join-not-available"<% }%>>
<i class="fa-li crm-i fa-reply fa-rotate-180"></i>
<label for="select-join-<%= name %>" class="api-checkbox-label">
<input type="checkbox" id="select-join-<%= name %>" value="<%= name %>" data-entity="<%= join.entity %>" <% if(join.checked) { %>checked<% } if(join.disabled) { %>disabled<% } %>/>
<%- join.title %>
</label>
</li>
<% if(join.children) print(tpl({joins: join.children, tpl: tpl})); %>
<% }); %>
</ul>
{/literal}
</script>
{/strip}

View file

@ -0,0 +1,67 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{capture assign=docLink}{docURL page="user/initial-set-up/permissions-and-access-control/" text="Access Control Documentation"}{/capture}
<div class="help">
<p>{ts 1=$docLink}ACLs (Access Control Lists) 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}
{if $config->userSystem->is_drupal EQ '1'}{ts}Note that a CiviCRM ACL Role is not related to the Drupal Role.{/ts}{/if}</p>
<p>{ts}<strong>EXAMPLE:</strong> 'Team Leaders' (<em>ACL Role</em>) can 'Edit' (<em>Operation</em>) all contacts in the 'Active Volunteers Group' (<em>Data</em>).{/ts}</p>
{if $config->userSystem->is_drupal EQ '1'}
<p>{ts 1=$ufAccessURL}Use <a href='%1'>Drupal Access Control</a> to manage basic access to CiviCRM components and menu items. Use CiviCRM ACLs to control access to specific CiviCRM contact groups. You can also configure ACLs to grant or deny access to specific Events Profiles, and/or Custom Data Fields.{/ts}</p>
{elseif $config->userFramework EQ 'Joomla'}
<p>{ts 1=$ufAccessURL 2=$jAccessParams}Use <a href='%1' %2>Joomla Access Control</a> to manage basic access to CiviCRM components and menu items. Use CiviCRM ACLs to control access to specific CiviCRM contact groups. You can also configure ACLs to grant or deny access to specific Events, Profiles, and/or Custom Data Fields.{/ts}</p>
{elseif $config->userFramework EQ 'WordPress'}
<p>{ts 1=$ufAccessURL}Use <a href='%1'>WordPress Access Control</a> to manage basic access to CiviCRM components and menu items. Use CiviCRM ACLs to control access to specific CiviCRM contact groups. You can also configure ACLs to grant or deny access to specific Events, Profiles, and/or Custom Data Fields.{/ts}</p>
{/if}
<p>{ts 1=$config->userFramework}Note that %1 Access Control permissions take precedence over CiviCRM ACLs. If you wish to use CiviCRM ACLs, first disable the related permission in %1 Access control for a user role, and then gradually add ACLs to replace that permission for certain groups of contacts.{/ts}
</div>
<table class="report">
<tr>
{if $config->userSystem->is_drupal EQ '1'}
<td class="nowrap"><a href="{$ufAccessURL}" id="adminAccess">&raquo; {ts}Drupal Access Control{/ts}</a></td>
<td>{ts}Grant access to CiviCRM components and other CiviCRM permissions.{/ts}</td>
{elseif $config->userFramework EQ 'Joomla'}
<td class="nowrap"><a href="{$ufAccessURL}" {$jAccessParams} id="adminAccess">&raquo; {ts}Joomla Access Control{/ts}</a></td>
<td>{ts}Grant access to CiviCRM components and other CiviCRM permissions.{/ts}</td>
{elseif $config->userFramework EQ 'WordPress'}
<td class="nowrap"><a href="{$ufAccessURL}" id="adminAccess">&raquo; {ts}WordPress Access Control{/ts}</a></td>
<td>{ts}Grant access to CiviCRM components and other CiviCRM permissions.{/ts}</td>
{/if}
</tr>
<tr><td colspan="2" class="separator"><strong>{ts}Use following steps if you need to control View and/or Edit permissions for specific contact groups, specific profiles or specific custom data fields.{/ts}</strong></td></tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/options/acl_role' q="reset=1"}" id="editACLRoles">&raquo; {ts}1. Manage Roles{/ts}</a></td>
<td>{ts}Each CiviCRM ACL Role is assigned a set of permissions. Use this link to create or edit the different roles needed for your site.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/acl/entityrole' q="reset=1"}" id="editRoleAssignments">&raquo; {ts}2. Assign Users to CiviCRM ACL Roles{/ts}</a></td>
<td>{ts}Once you have defined CiviCRM ACL Roles and granted ACLs to those Roles, use this link to assign users to role(s).{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/acl' q="reset=1"}" id="editACLs">&raquo; {ts}3. Manage ACLs{/ts}</a></td>
<td>{ts}ACLs define permission to do an operation on a set of data, and grant that permission to a CiviCRM ACL Role. Use this link to create or edit the ACLs for your site.{/ts}</td>
</tr>
</table>

View file

@ -0,0 +1,94 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{* Displays Administer CiviCRM Control Panel *}
{if $newer_civicrm_version}
<div class="messages status no-popup">
<table>
<tr><td class="tasklist">
{ts 1=$registerSite}Have you registered this site at CiviCRM.org? If not, please help strengthen the CiviCRM ecosystem by taking a few minutes to <a href="%1" target="_blank">fill out the site registration form</a>. The information collected will help us prioritize improvements, target our communications and build the community. If you have a technical role for this site, be sure to check "Keep in Touch" to receive technical updates (a low volume mailing list).{/ts}</td>
</tr>
</table>
</div>
{/if}
<div id="help" class="description section-hidden-border">
{capture assign=plusImg}<img src="{$config->resourceBase}i/TreePlus.gif" alt="{ts}plus sign{/ts}" style="vertical-align: bottom; height: 20px; width: 20px;" />{/capture}
{ts 1=$plusImg}Administer your CiviCRM site using the links on this page. Click %1 for descriptions of the options in each section.{/ts}
</div>
{strip}
<div class="crm-content-block">
{foreach from=$adminPanel key=groupName item=group name=adminLoop}
<div id="id_{$groupName}_show" class="section-hidden{if $smarty.foreach.adminLoop.last eq false} section-hidden-border{/if}">
<table class="form-layout">
<tr>
<td width="20%" class="font-size11pt" style="vertical-align: top;">{$group.show} {$group.title}</td>
<td width="80%" style="white-space: nowrap;;">
<table class="form-layout" width="100%">
<tr>
<td width="50%" style="padding: 0px;">
{foreach from=$group.fields item=panelItem key=panelName name=groupLoop}
&raquo;&nbsp;<a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} id="idc_{$panelItem.id}">{$panelItem.title}</a><br />
{if $smarty.foreach.groupLoop.iteration EQ $group.perColumn}
</td><td width="50%" style="padding: 0px;">
{/if}
{/foreach}
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div id="id_{$groupName}">
<fieldset><legend><strong>{$group.hide}{$group.title}</strong></legend>
<table class="form-layout">
{foreach from=$group.fields item=panelItem key=panelName name=groupLoop}
<tr class="{cycle values="odd-row,even-row" name=$groupName}">
<td style="vertical-align: top; width:24px;">
<a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} ><img src="{$config->resourceBase}i/{if $panelItem.icon}{$panelItem.icon}{else}admin/small/option.png{/if}" alt="{$panelItem.title|escape}"/></a>
</td>
<td class="report font-size11pt" style="vertical-align: text-top;" width="20%">
<a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} id="id_{$panelItem.id}">{$panelItem.title}</a>
</td>
<td class="description" style="vertical-align: text-top;" width="75%">
{$panelItem.desc}
</td>
</tr>
{/foreach}
</table>
</fieldset>
</div>
{/foreach}
{/strip}
{* Include Javascript to hide and display the appropriate blocks as directed by the php code *}
{include file="CRM/common/showHide.tpl"}
</div>

View file

@ -0,0 +1,128 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
<style>{literal}
.select2-results .ui-icon,
.select2-results .crm-i,
.select2-container .ui-icon,
.select2-container .crm-i,
.select2-results img,
.select2-container img {
display: inline-block;
position: relative;
top: 2px;
}
#toolbarModifierWrapper .toolbar button:last-child,
#toolbarModifierWrapper .toolbar button[data-group=config] {
display: none;
}
.api-field-desc {
font-size: .8em;
color: #828282;
line-height: 1.3em;
}
.select2-highlighted .api-field-desc {
color: #fcfcfc;
}
#crm-custom-config-options > div {
margin: .5em .2em;
}
#crm-container .ui-tabs-nav {
padding-bottom: 0;
}
#crm-container .ui-tabs-nav li {
margin-left: .3em;
}
#crm-container .ui-tabs-nav a {
font-size: 1.1em;
border-bottom: 0 none;
padding: 3px 10px 1px !important;
}
{/literal}</style>
{* Force the custom config file to reload by appending a new query string *}
<script type="text/javascript">
{if $configUrl}CKEDITOR.config.customConfig = '{$configUrl}?{php}print str_replace(array(' ', '.'), array('', '='), microtime());{/php}'{/if};
</script>
<div class="ui-tabs">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header">
<li>{ts}Preset:{/ts}</li>
{foreach from=$presets key='k' item='p'}
<li class="ui-tabs-tab ui-corner-top ui-state-default ui-tab {if $k == $preset}ui-tabs-active ui-state-active{/if}">
<a class="ui-tabs-anchor" href="{crmURL q="preset=$k"}">{$p}</a>
</li>
{/foreach}
</ul>
</div>
<form method="post" action="{crmURL}" id="toolbarModifierForm">
<fieldset>
<div class="crm-block crm-form-block">
<label for="skin">{ts}Skin{/ts}</label>
<select id="skin" name="config_skin" class="crm-select2 eight config-param">
{foreach from=$skins item='s'}
<option value="{$s}" {if $s == $skin}selected{/if}>{$s|ucfirst}</option>
{/foreach}
</select>
&nbsp;&nbsp;
<label for="extraPlugins">{ts}Plugins{/ts}</label>
<input id="extraPlugins" name="config_extraPlugins" class="huge config-param" value="{$extraPlugins}" placeholder="{ts}Select optional extra features{/ts}">
</div>
<div class="editors-container">
<div id="editor-basic"></div>
<div id="editor-advanced"></div>
</div>
<div class="configurator">
<div>
<div id="toolbarModifierWrapper" class="active"></div>
</div>
</div>
<div class="crm-block crm-form-block">
<fieldset>
<legend>{ts}Advanced Options{/ts}</legend>
<div class="description">{ts 1='href="http://docs.ckeditor.com/#!/api/CKEDITOR.config" target="_blank"'}Refer to the <a %1>CKEditor Api Documentation</a> for details.{/ts}</div>
<div id="crm-custom-config-options"></div>
</fieldset>
</div>
<div class="crm-submit-buttons">
<span class="crm-button crm-i-button">
<i class="crm-i fa-wrench"></i> <input type="submit" value="{ts}Save{/ts}" name="save" class="crm-form-submit" accesskey="S"/>
</span>
<span class="crm-button crm-i-button">
<i class="crm-i fa-times"></i> <input type="submit" value="{ts}Revert to Default{/ts}" name="revert" class="crm-form-submit" onclick="return confirm('{$revertConfirm}');"/>
</span>
</div>
<input type="hidden" value="{$preset}" name="preset" />
</fieldset>
</form>
<script type="text/template" id="config-row-tpl">
<div class="crm-config-option-row">
<input class="huge crm-config-option-name" placeholder="{ts}Option{/ts}"/>
</div>
</script>

View file

@ -0,0 +1,189 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{capture assign="linkTitle"}{ts}Edit settings{/ts}{/capture}
{capture assign="adminMenu"}{crmURL p="civicrm/admin" q="reset=1"}{/capture}
<div id="help" class="description">
{ts 1=$adminMenu}Use this checklist to review and complete configuration tasks for your site. You will be redirected back to this checklist after saving each setting. Settings which you have not yet reviewed will be <span class="status-overdue">displayed in red</span>. After you have visited a page, the links will <span class="status-pending">display in green</span> (although you may still need to revisit the page to complete or update the settings). You can access this page again from the <a href="%1">Administer CiviCRM</a> menu at any time.{/ts}
</div>
<table class="selector">
<tr class="columnheader">
<td colspan="2">{ts}Site Configuration and Registration{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/setting/localization" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Localization{/ts}</a></td>
<td>{ts}Localization settings include user language, default currency and available countries for address input.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/domain" q="action=update&reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Organization Address and Contact Info{/ts}</a></td>
<td>{ts}Organization name, email address for system-generated emails, organization address{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/setting/component" q="action=update&reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Enable components{/ts}</a></td>
<td>{ts}Enable the required CiviCRM components.(CiviContribute, CiviEvent etc.){/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{$registerSite}" title="{ts}Register your site at CiviCRM.org. Opens in a new window.{/ts}" target="_blank">{ts}Register your site{/ts}</a></td>
<td>{ts}Register your site, join the community, and help CiviCRM remain a leading CRM for organizations worldwide.{/ts}</td>
</tr>
<tr class="columnheader">
<td colspan="2">{ts}Viewing and Editing Contacts{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/setting/preferences/display" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Display Preferences{/ts}</a></td>
<td>{ts}Configure screen and form elements for Viewing Contacts, Editing Contacts, Advanced Search, Contact Dashboard and WYSIWYG Editor.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/setting/preferences/address" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Address Settings{/ts}</a></td>
<td>{ts}Format addresses in mailing labels, input forms and screen display.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/setting/mapping" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Mapping and Geocoding{/ts}</a></td>
<td>{ts}Configure a mapping provider (e.g. Google or Yahoo) to display maps for contact addresses and event locations.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/setting/search" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Search Settings{/ts}</a></td>
<td>{ts}Adjust search behaviors including wildcards, and data to include in quick search results. Adjusting search settings can improve performance for larger datasets.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/setting/misc" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.){/ts}</a></td>
<td>{ts}Version reporting and alerts, reCAPTCHA configuration and attachments.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/options/subtype" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Contact Types{/ts}</a></td>
<td>{ts}You can modify the names of the built-in contact types (Individual, Household, Organizations), and you can create or modify "contact subtypes" for more specific uses (e.g. Student, Parent, Team, etc.).{/ts}</td>
</tr>
<tr class="columnheader">
<td colspan="2">{ts}Sending Emails (includes contribution receipts and event confirmations){/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/setting/smtp" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Outbound Email{/ts}</a></td>
<td>{ts}Settings for outbound email - either SMTP server, port and authentication or Sendmail path and argument.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/options/from_email_address" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}From Email Addresses{/ts}</a></td>
<td>{ts}Define general email address(es) that can be used as the FROM address when sending email to contacts from within CiviCRM (e.g. info@example.org){/ts}</td>
</tr>
<tr class="columnheader">
<td colspan="2">{ts}Online Contributions / Online Membership Signup / Online Event Registration{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/paymentProcessor" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Payment Processors{/ts}</a></td>
<td>{ts}Select and configure one or more payment processing services for online contributions, events and / or membership fees.{/ts}</td>
</tr>
{if $config->userSystem->is_drupal EQ '1'}
<tr class="even">
{if $config->userFramework EQ 'Drupal'}
<td class="tasklist"><a href="{$config->userFrameworkBaseURL}?q=admin/people/permissions&civicrmDestination=civicrm/admin/configtask">{ts}Permissions for Anonymous Users{/ts}</a></td>
{else}
<td class="tasklist"><a href="{$config->userFrameworkBaseURL}?q=admin/user/permissions&civicrmDestination=civicrm/admin/configtask">{ts}Permissions for Anonymous Users{/ts}</a></td>
{/if}
<td>{ts}You will also need to change Drupal permissions so anonymous users can make contributions, register for events and / or use profiles to enter contact information.{/ts} {docURL page="Default Permissions and Roles" resource="wiki"}</td>
</tr>
{/if}
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/messageTemplates" q="selectedChild=workflow&reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}System Workflow Templates{/ts}</a></td>
<td>{ts}Review and modify the templates used for system-generated emails, including contribution receipts and event registration confirmations.{/ts}</td>
</tr>
</table>
<br />
<div class="description">
{capture assign=docLink}{docURL page="user/organising-your-data/overview" text="Organizing Your Data"}{/capture}
{ts 1=$adminMenu 2=$docLink}The next set of tasks involve planning and have multiple steps. You may want to check out the %2 section in the User and Administrator Guide before you begin. You will not be returned to this page after completing these tasks, but you can always get back here from the <a href="%1">Administer CiviCRM</a> menu.{/ts}
</div>
<table class="selector">
<tr class="columnheader">
<td colspan="2">{ts}Organize your contacts{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/tag" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Tags (Categories){/ts}</a></td>
<td>{ts}Tags can be assigned to any contact record, and are a convenient way to find contacts. You can create as many tags as needed to organize and segment your records.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/group" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Manage Groups{/ts}</a></td>
<td>{ts}Use Groups to organize contacts (e.g. these contacts are part of our 'Steering Committee').{/ts}</td>
</tr>
<tr class="columnheader">
<td colspan="2">{ts}Customize Data, Forms and Screens{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/custom/group" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Custom Fields{/ts}</a></td>
<td>{ts}Configure custom fields to collect and store custom data which is not included in the standard CiviCRM forms.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap"><a href="{crmURL p="civicrm/admin/uf/group" q="reset=1&civicrmDestination=`$destination`"}" title="{$linkTitle|escape}">{ts}Profiles{/ts}</a></td>
<td>{ts}Profiles allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features.{/ts}</td>
</tr>
</table>
<br />
<div class="description">
{ts}Now you can move on to exploring, configuring and using the various optional components for fundraising and constituent engagement. The links below will take you to the online documentation for each component.{/ts}
</div>
<table class="selector">
<tr class="columnheader">
<td colspan="2">{ts}Components{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap" style="width: 10%;">{docURL page="user/contributions/what-is-civicontribute" text="CiviContribute"}</td>
<td>{ts}Online fundraising and donor management, as well as offline contribution processing and tracking.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap" style="width: 10%;">{docURL page="user/pledges/what-is-civipledge" text="CiviPledge"}</td>
<td>{ts}Accept and track pledges (for recurring gifts).{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap">{docURL page="user/events/what-is-civievent" text="CiviEvent"}</td>
<td>{ts}Online event registration and participant tracking.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap">{docURL page="user/membership/what-is-civimember" text="CiviMember"}</td>
<td>{ts}Online signup and membership management.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap">{docURL page="user/email/what-is-civimail" text="CiviMail"}</td>
<td>{ts}Personalized email blasts and newsletters.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap">{docURL page="user/campaign/what-is-civicampaign" text="CiviCampaign"}</td>
<td>{ts}Link together events, mailings, activities, and contributions. Create surveys and online petitions.{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap">{docURL page="user/case-management/what-is-civicase" text="CiviCase"}</td>
<td>{ts}Integrated case management for human service providers{/ts}</td>
</tr>
<tr class="even">
<td class="tasklist nowrap">{docURL page="user/grants/what-is-civigrant" text="CiviGrant"}</td>
<td>{ts}Distribute funds to others, for example foundations, grant givers, etc.{/ts}</td>
</tr>
</table>

View file

@ -0,0 +1,43 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{htxt id="id-contactSubtype-intro-title"}
{ts}Contact Types{/ts}
{/htxt}
{htxt id="id-contactSubtype-intro"}
{ts}CiviCRM comes with 3 basic (built-in) contact types: Individual, Household, and Organization. You can create additional contact types based on these basic types to further differentiate contacts (for example you might create Student, Parent, Staff, and /or Volunteer "subtypes" from the basic Individual type...). You can also re-name the built-in types. Contact subtypes are especially useful when you need to collect and display different sets of custom data for different types of contacts.{/ts}
{/htxt}
{htxt id="id-image_URL-title"}
{ts}Contact Type Icon{/ts}
{/htxt}
{htxt id="id-image_URL"}
<div>{ts 1='<span class="font-italic">sites/.../files</span>' 2='<span class="font-italic">media</span>'}Use this field to set your own icon for this Contact Type. Icon images should be 16 x 16 pixels for best fit. Enter a relative or complete URL to the image file location. Use a location outside of your CiviCRM code directory to reduce the likelihood of losing your image files during an upgrade. (For Drupal sites, you might want to use the %1 directory. For Joomla sites, the consider using the %2 directory.){/ts}</div>
Examples:
<ul>
<li>{ts}Relative URL for a default Drupal site:{/ts}<br /><span class="font-italic">../../../default/files/volunteer_contact_icon.png</span></li>
<li>{ts}Complete URL for icon accessible from an external location:{/ts}<br /><span class="font-italic">http://www.example.com/images/new_icon.gif</span></li>
</ul>
{/htxt}

View file

@ -0,0 +1,69 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/ContactType.tpl"}
{else}
<div class="help">
{ts}CiviCRM comes with 3 basic (built-in) contact types: Individual, Household, and Organization. You can create additional contact types based on these types to further differentiate contacts (for example you might create Student, Parent, Staff, and /or Volunteer types from the basic Individual type...).{/ts} {help id="id-contactSubtype-intro"}
</div>
{if $rows}
<div>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
{include file="CRM/common/jsortable.tpl"}
<table id="options" class="display">
<thead>
<tr>
<th>{ts}Contact Type{/ts}</th>
<th>{ts}Based On{/ts}</th>
<th id="nosort">{ts}Description{/ts}</th>
<th></th>
</tr>
</thead>
{foreach from=$rows item=row}
<tr id="contact_type-{$row.id}" data-action="setvalue" class="{cycle values="odd-row,even-row"} {$row.class} crm-contactType crm-entity {if NOT $row.is_active} disabled{/if}">
<td class="crm-contactType-label crm-editable" data-field="label">{ts}{$row.label}{/ts}</td>
<td class="crm-contactType-parent">{if $row.parent}{ts}{$row.parent_label}{/ts}{else}{ts}(built-in){/ts}{/if}</td>
<td class="crm-contactType-description crm-editable" data-field="description" data-type="textarea">{$row.description}</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</table>
{/strip}
</div>
{else}
<div class="messages status no-popup">
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
{ts}None found.{/ts}
</div>
{/if}
<div class="action-link">
{crmButton q="action=add&reset=1" icon="plus-circle"}{ts}Add Contact Type{/ts}{/crmButton}
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
{/if}

View file

@ -0,0 +1,80 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/EventTemplate.tpl"}
{/if}
<div class="crm-content-block">
{if $action ne 1 and $action ne 2}
<div class="action-link">
{crmButton p="civicrm/event/add" q="action=add&is_template=1&reset=1" id="newEventTemplate" icon="plus-circle"}{ts}Add Event Template{/ts}{/crmButton}
<div class="clear"></div>
</div>
{/if}
{if $rows}
{include file="CRM/common/jsortable.tpl"}
{strip}
<table id="options" class="display">
<thead>
<tr>
<th id="sortable">{ts}Title{/ts}</th>
<th>{ts}Event Type{/ts}</th>
<th>{ts}Participant Role{/ts}</th>
<th>{ts}Participant Listing{/ts}</th>
<th>{ts}Public Event{/ts}</th>
<th>{ts}Paid Event{/ts}</th>
<th>{ts}Allow Online Registration{/ts}</th>
<th>{ts}Is Active?{/ts}</th>
<th></th>
</tr>
</thead>
{foreach from=$rows item=row}
<tr id='rowid{$row.id}' class="{cycle values="odd-row,even-row"} crm-event crm-event_{$row.id}">
<td class="crm-event-template_title">{$row.template_title}</td>
<td class="crm-event-event_type">{$row.event_type}</td>
<td class="crm-event-participant_role">{$row.participant_role}</td>
<td class="crm-event-participant_listing">{$row.participant_listing}</td>
<td class="crm-event-is_public">{if $row.is_public eq 1}{ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td class="crm-event-is_monetary">{if $row.is_monetary eq 1}{ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td class="crm-event-is_online_registration">{if $row.is_online_registration eq 1}{ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td class="crm-event-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td class="crm-event-action">{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</table>
{/strip}
{else}
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
{capture assign=crmURL}{crmURL p='civicrm/event/add' q="action=add&is_template=1&reset=1"}{/capture}
{ts 1=$crmURL}There are no Event Templates present. You can <a href='%1'>add one</a>.{/ts}
</div>
{/if}
</div>

View file

@ -0,0 +1,60 @@
<table class="crm-info-panel">
{if $extension.name}
<tr>
<td class="label">{ts}Name (key){/ts}</td><td>{$extension.name} ({$extension.key})</td>
</tr>
{/if}
<tr>
<td class="label">{ts}Description{/ts}</td><td>{$extension.description}</td>
</tr>
<tr>
<td class="label">{ts}Download location{/ts}</td><td>{$extension.downloadUrl}</td>
</tr>
<tr>
<td class="label">{ts}Local path{/ts}</td><td>{$extension.path}</td>
</tr>
{foreach from=$extension.urls key=label item=url}
<tr><td class="label">{$label}</td><td><a href="{$url}">{$url}</a></td></tr>
{/foreach}
<tr>
<td class="label">{ts}Author{/ts}</td><td>{$extension.maintainer.author} (<a href="mailto:{$extension.maintainer.email}">{$extension.maintainer.email}</a>)</td>
</tr>
<tr>
<td class="label">{ts}Version{/ts}</td><td>{$extension.version}</td>
</tr>
<tr>
<td class="label">{ts}Released on{/ts}</td><td>{$extension.releaseDate}</td>
</tr>
<tr>
<td class="label">{ts}License{/ts}</td><td>{$extension.license}</td>
</tr>
<tr>
<td class="label">{ts}Development stage{/ts}</td><td>{$extension.develStage}</td>
</tr>
<tr>
<td class="label">{ts}Requires{/ts}</td>
<td>
{foreach from=$extension.requires item=ext}
{if array_key_exists($ext, $localExtensionRows)}
{$localExtensionRows.$ext.name} (already downloaded - {$ext})
{elseif array_key_exists($ext, $remoteExtensionRows)}
{$remoteExtensionRows.$ext.name} (not downloaded - {$ext})
{else}
{$ext} {ts}(not available){/ts}
{/if}
<br/>
{/foreach}
</td>
</tr>
<tr>
<td class="label">{ts}Compatible with{/ts}</td>
<td>
{foreach from=$extension.compatibility.ver item=ver}
{$ver} &nbsp;
{/foreach}
</td>
</tr>
<tr>
<td class="label">{ts}Comments{/ts}</td><td>{$extension.comments}</td>
</tr>
</table>

View file

@ -0,0 +1,139 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{if $action eq 1 or $action eq 2 or $action eq 8 or $action eq 32 or $action eq 64}
{include file="CRM/Admin/Form/Extensions.tpl"}
{else}
{if $action ne 1 and $action ne 2}
{include file="CRM/Admin/Page/Extensions/Refresh.tpl"}
{/if}
{if $extDbUpgrades}
<div class="messages warning">
<p>{ts 1=$extDbUpgradeUrl}Your extensions require database updates. Please <a href="%1">execute the updates</a>.{/ts}
</div>
{/if}
{include file="CRM/Admin/Page/Extensions/About.tpl"}
{include file="CRM/common/enableDisableApi.tpl"}
{include file="CRM/common/jsortable.tpl"}
<div id="mainTabContainer" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
<ul class="crm-extensions-tabs-list">
<li id="tab_summary" class="crm-tab-button">
<a href="#extensions-main" title="{ts}Extensions{/ts}">
<span> </span> {ts}Extensions{/ts}
<em>&nbsp;</em>
</a>
</li>
<li id="tab_addnew" class="crm-tab-button">
<a href="#extensions-addnew" title="{ts}Add New{/ts}">
<span> </span> {ts}Add New{/ts}
<em>&nbsp;</em>
</a>
</li>
</ul>
<div id="extensions-main" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
{include file="CRM/Admin/Page/Extensions/Main.tpl"}
</div>
<div id="extensions-addnew" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
{if $extAddNewEnabled}
{if $extAddNewReqs}
{include file="CRM/Admin/Page/Extensions/AddNewReq.tpl"}
{else}
{include file="CRM/Admin/Page/Extensions/AddNew.tpl"}
{/if}
{else}
{ts}The system administrator has disabled this feature.{/ts}
{/if}
</div>
<div class="clear"></div>
</div>
{if $action ne 1 and $action ne 2}
{include file="CRM/Admin/Page/Extensions/Refresh.tpl"}
{/if}
{* Expand/Collapse *}
{literal}
<script type="text/javascript">
CRM.$(function($) {
$('.collapsed').click( function( ) {
var currentObj = $( this );
if ( currentObj.hasClass( 'expanded') ) {
currentObj.removeClass( 'expanded' );
currentObj.parent( ).parent( ).next( ).hide( );
} else {
currentObj.addClass( 'expanded' );
currentObj.parent( ).parent( ).next( ).show( );
}
return false;
});
});
</script>
{/literal}
{* Tab management *}
<script type="text/javascript">
var selectedTab = 'summary';
{if $selectedChild}selectedTab = "{$selectedChild}";{/if}
{literal}
CRM.$(function($) {
var tabIndex = $('#tab_' + selectedTab).prevAll().length;
$("#mainTabContainer").tabs({active: tabIndex});
$(".crm-tab-button").addClass("ui-corner-bottom");
});
{/literal}
</script>
{* Refresh buttons *}
{literal}
<script type="text/javascript">
CRM.$(function($) {
$('.crm-extensions-refresh').click(function(event){
event.stopPropagation();
CRM.alert('', '{/literal}{ts escape="js"}Refreshing...{/ts}{literal}', 'crm-msg-loading', {expires: 0});
CRM.api('Extension', 'refresh', {}, {
'callBack' : function(result){
if (result.is_error) {
CRM.alert(result.error_message, '{/literal}{ts escape="js"}Refresh Error{/ts}{literal}', 'error');
} else {
window.location.reload();
}
}
});
return false;
}); // .click
}); // onload
</script>
{/literal}
{/if}

View file

@ -0,0 +1,5 @@
<div class="messages help">
{capture assign='adminURL'}{crmURL p='civicrm/admin/setting/path' q="reset=1&civicrmDestination=$destination"}{/capture}
<p>{ts 1=$adminURL 2="https://civicrm.org/extensions"}CiviCRM extensions allow you to install additional features for your site. This page will automatically list the available "native" extensions from the <a href="%2" target="_blank">CiviCRM.org extensions directory</a> which are compatible with this version of CiviCRM. If you install Custom Searches, Reports or Payment Processor extensions - these will automatically be available on the corresponding menus and screens.{/ts}</p>
{ts 1=$config->userFramework|replace:'6':'' 2="https://civicrm.org/extensions"}<p>You may also want to check the directory for <a href="%2/%1" target="_blank">native %1 modules</a> that may be useful for you (CMS-specific modules are not listed here).{/ts}</p>
</div>

View file

@ -0,0 +1,47 @@
{*
Display a table of remotely-available extensions
Depends: CRM/common/enableDisableApi.tpl and CRM/common/jsortable.tpl
*}
{if $remoteExtensionRows}
<div id="extensions-addnew">
{strip}
<table id="extensions-addnew-table" class="display">
<thead>
<tr>
<th>{ts}Extension name (key){/ts}</th>
<th>{ts}Version{/ts}</th>
<th>{ts}Type{/ts}</th>
<th></th>
</tr>
</thead>
<tbody>
{foreach from=$remoteExtensionRows key=extKey item=row}
{if $localExtensionRows[$extKey]}
{continue}
{/if}
<tr id="addnew-row_{$row.id}" class="crm-extensions crm-extensions_{$row.id}">
<td class="crm-extensions-label">
<a class="collapsed" href="#"></a>&nbsp;<strong>{$row.label}</strong><br/>({$row.key})
</td>
<td class="crm-extensions-label">{$row.version} {if $row.upgradable}<br/>({$row.upgradeVersion}){/if}</td>
<td class="crm-extensions-description">{$row.type|capitalize}</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
<tr class="hiddenElement" id="crm-extensions-details-addnew-{$row.id}">
<td>
{include file="CRM/Admin/Page/ExtensionDetails.tpl" extension=$row}
</td>
<td></td><td></td><td></td>
</tr>
{/foreach}
</tbody>
</table>
{/strip}
</div>
{else}
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
{ts}There are no extensions to display. Please click "Refresh" to update information about available extensions.{/ts}
</div>
{/if}

View file

@ -0,0 +1,9 @@
<div class="crm-content-block crm-block">
{foreach from=$extAddNewReqs item=req}
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
{$req.title}<br/>
{$req.message}
</div>
{/foreach}
</div>

View file

@ -0,0 +1,51 @@
{*
Display a table of locally-available extensions.
Depends: CRM/common/enableDisableApi.tpl and CRM/common/jsortable.tpl
*}
{if $localExtensionRows}
<div id="extensions">
{strip}
{* handle enable/disable actions*}
<table id="extensions" class="display">
<thead>
<tr>
<th>{ts}Extension name (key){/ts}</th>
<th>{ts}Status{/ts}</th>
<th>{ts}Version{/ts}</th>
<th>{ts}Type{/ts}</th>
<th></th>
</tr>
</thead>
<tbody>
{foreach from=$localExtensionRows key=extKey item=row}
<tr id="extension-{$row.id}" class="crm-entity crm-extension_{$row.id}{if $row.status eq 'disabled'} disabled{/if}{if $row.status eq 'installed-missing' or $row.status eq 'disabled-missing'} extension-missing{/if}{if $row.upgradable} extension-upgradable{elseif $row.status eq 'installed'} extension-installed{/if}">
<td class="crm-extensions-label">
<a class="collapsed" href="#"></a>&nbsp;<strong>{$row.label}</strong><br/>({$row.key})
{if $extAddNewEnabled && $remoteExtensionRows[$extKey] && $remoteExtensionRows[$extKey].is_upgradeable}
{capture assign='upgradeURL'}{crmURL p='civicrm/admin/extensions' q="action=update&id=$extKey&key=$extKey"}{/capture}
<div class="crm-extensions-upgrade">{ts 1=$upgradeURL}Version {$remoteExtensionRows[$extKey].version} is available. <a href="%1">Upgrade</a>{/ts}</div>
{/if}
</td>
<td class="crm-extensions-label">{$row.statusLabel} {if $row.upgradable}<br/>({ts}Outdated{/ts}){/if}</td>
<td class="crm-extensions-label">{$row.version} {if $row.upgradable}<br/>({$row.upgradeVersion}){/if}</td>
<td class="crm-extensions-description">{$row.type|capitalize}</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
<tr class="hiddenElement" id="crm-extensions-details-{$row.id}">
<td>
{include file="CRM/Admin/Page/ExtensionDetails.tpl" extension=$row localExtensionRows=$localExtensionRows remoteExtensionRows=$remoteExtensionRows}
</td>
<td></td><td></td><td></td><td></td>
</tr>
{/foreach}
</tbody>
</table>
{/strip}
</div>
{else}
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
{ts 1="https://civicrm.org/extensions"}There are no extensions to display. Click the "Add New" tab to browse and install extensions posted on the <a href="%1">public CiviCRM Extensions Directory</a>. If you have downloaded extensions manually and don't see them here, try clicking the "Refresh" button.{/ts}
</div>
{/if}

View file

@ -0,0 +1,3 @@
<div class="action-link">
{crmButton q="reset=1" id="new" class="crm-extensions-refresh" icon="refresh"}{ts}Refresh{/ts}{/crmButton}
</div>

View file

@ -0,0 +1,89 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{capture assign=runAllURL}{crmURL p='civicrm/admin/runjobs' q="reset=1"}{/capture}
<div class="help">
{ts 1=$runAllURL}You can configure scheduled jobs (cron tasks) for your CiviCRM installation. For most sites, your system administrator should set up one or more 'cron' tasks to run the enabled jobs. However, you can also <a href="%1">run all scheduled jobs manually</a>, or run specific jobs from this screen (click 'more' and then 'Execute Now').{/ts} {docURL page="Managing Scheduled Jobs" resource="wiki" text="(Job parameters and command line syntax documentation...)"}
</div>
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/Job.tpl"}
{else}
{if $rows}
{if $action ne 1 and $action ne 2}
<div class="action-link">
{crmButton q="action=add&reset=1" id="newJob" icon="plus-circle"}{ts}Add New Scheduled Job{/ts}{/crmButton}
{crmButton p='civicrm/admin/joblog' q="reset=1" id="jobLog" icon="list-alt"}{ts}View Log (all jobs){/ts}{/crmButton}
</div>
{/if}
<div id="ltype">
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
<br/><table class="selector row-highlight">
<tr class="columnheader">
<th >{ts}Name (Frequency)/Description{/ts}</th>
<th >{ts}Command/Parameters{/ts}</th>
<th >{ts}Last Run{/ts}</th>
<th >{ts}Enabled?{/ts}</th>
<th ></th>
</tr>
{foreach from=$rows item=row}
<tr id="job-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
<td class="crm-job-name"><strong><span data-field="name">{$row.name}</span></strong> ({$row.run_frequency})<br/>
{$row.description}<br />
{ts}API Entity:{/ts} {$row.api_entity}<br/>
{ts}API Action:{/ts} <strong>{$row.api_action}</strong><br/>
</td>
<td class="crm-job-name">{if $row.parameters eq null}<em>{ts}no parameters{/ts}</em>{else}<pre>{$row.parameters}</pre>{/if}</td>
<td class="crm-job-name">{if $row.last_run eq null}never{else}{$row.last_run|crmDate:$config->dateformatDatetime}{/if}</td>
<td id="row_{$row.id}_status" class="crm-job-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</table>
{/strip}
{if $action ne 1 and $action ne 2}
<div class="action-link">
{crmButton q="action=add&reset=1" id="newJob-bottom" icon="plus-circle"}{ts}Add New Scheduled Job{/ts}{/crmButton}
{crmButton p='civicrm/admin/joblog' q="reset=1" id="jobLog-bottom" icon="list-alt"}{ts}View Log (all jobs){/ts}{/crmButton}
</div>
{/if}
</div>
{elseif $action ne 1}
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
{ts}There are no jobs configured.{/ts}
</div>
<div class="action-link">
<a href="{crmURL p='civicrm/admin/job' q="action=add&reset=1"}" id="newJob-nojobs" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add New Scheduled Job{/ts}</span></a>
</div>
{/if}
{/if}

View file

@ -0,0 +1,77 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
<div class="help">
{ts}This screen presents the list of most recent 1,000 scheduled jobs log entries.{/ts} {$docLink}
</div>
{if $jobId}
<h1>{ts}List of log entries for:{/ts} {$jobName}</h1>
{/if}
<div class="action-link">
<a href="{crmURL p='civicrm/admin/job' q="reset=1"}" id="jobsList-top" class="button"><span><i class="crm-i fa-chevron-left"></i> {ts}Back to Scheduled Jobs Listing{/ts}</span></a>
</div>
{if $rows}
<div id="ltype">
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
<table class="selector row-highlight">
<tr class="columnheader">
<th >{ts}Date{/ts}</th>
<th >{ts}Job Name{/ts}</th>
<th >{ts}Command{/ts}/{ts}Job Status{/ts}/{ts}Additional Information{/ts}</th>
</tr>
{foreach from=$rows item=row}
<tr id="job-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}">
<td class="crm-joblog-run_datetime">{$row.run_time}</td>
<td class="crm-joblog-name">{$row.name}</td>
<td class="crm-joblog-details">
<div class="crm-joblog-command">{$row.command}</div>
{if $row.description}<div class="crm-joblog-description"><span class="bold">Summary</span><br/>{$row.description}</div>{/if}
{if $row.data}<div class="crm-joblog-data" style="border-top:1px solid #ccc; margin-top: 10px;"><span class="bold">Details</span><br/><pre>{$row.data}</pre></div>{/if}
</td>
</tr>
{/foreach}
</table>
{/strip}
</div>
{elseif $action ne 1}
<div class="messages status no-popup">
<div class="icon inform-icon"></div>&nbsp;
{if $jobId}
{ts}This scheduled job does not have any log entries.{/ts}
{else}
{ts}There are no scheduled job log entries.{/ts}
{/if}
</div>
{/if}
<div class="action-link">
<a href="{crmURL p='civicrm/admin/job' q="reset=1"}" id="jobsList-bottom" class="button"><span><i class="crm-i fa-chevron-left"></i> {ts}Back to Scheduled Jobs Listing{/ts}</span></a>
</div>

View file

@ -0,0 +1,77 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright (C) 2011 Marty Wright |
| Licensed to CiviCRM under the Academic Free License version 3.0. |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{* this template is for configuring label formats *}
<div class="help">
{ts}You can configure one or more Label Formats for your CiviCRM installation. Label Formats are used when creating mailing labels.{/ts}
</div>
{if $action eq 1 or $action eq 2 or $action eq 8 or $action eq 16384}
{include file="CRM/Admin/Form/LabelFormats.tpl"}
{else}
{if $rows}
<div id="ltype">
{strip}
<table id="labelFormats" class="row-highlight">
<thead>
<tr class="columnheader">
<th>{ts}Name{/ts}</th>
<th>{ts}Used for{/ts}</th>
<th>{ts}Order{/ts}</th>
<th>{ts}Grouping{/ts}</th>
<th>{ts}Default?{/ts}</th>
<th>{ts}Reserved?{/ts}</th>
<th></th>
</tr>
</thead>
{foreach from=$rows item=row}
<tr id="row_{$row.id}" class="crm-labelFormat {cycle values="odd-row,even-row"} {$row.class}">
<td class="crm-labelFormat-name">{$row.label}</td>
<td class="crm-labelFormat-name">{$row.groupName}</td>
<td class="crm-labelFormat-order nowrap">{$row.weight}</td>
<td class="crm-labelFormat-description">{$row.grouping}</td>
<td class="crm-labelFormat-is_default">{if $row.is_default eq 1}
<img src="{$config->resourceBase}i/check.gif" alt="{ts}Default{/ts}"/>{/if}&nbsp;</td>
<td class="crm-labelFormat-is_reserved">{if $row.is_reserved eq 1}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
&nbsp;</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</table>
{/strip}
<div class="action-link">
{crmButton q="action=add&reset=1" id="newLabelFormat" icon="crm-i fa-plus-circle"}{ts}Add Label Format{/ts}{/crmButton}
</div>
</div>
{else}
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
{capture assign=crmURL}{crmURL p='civicrm/admin/labelFormats' q="action=add&reset=1"}{/capture}
{ts 1=$crmURL}There are no Label Formats configured. You can<a href='%1'>add one</a>.{/ts}
</div>
{/if}
{/if}

View file

@ -0,0 +1,75 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/LocationType.tpl"}
{else}
<div class="help">
{ts}Location types provide convenient labels to differentiate contacts' location(s). Administrators may define as many additional types as appropriate for your constituents (examples might be Main Office, School, Vacation Home...).{/ts}
</div>
{if $rows}
<div id="ltype">
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
{include file="CRM/common/jsortable.tpl"}
<table id="options" class="display">
<thead>
<tr>
<th id="sortable">{ts}Name{/ts}</th>
<th>{ts}Display Name{/ts}</th>
<th>{ts}vCard{/ts}</th>
<th id="nosort">{ts}Description{/ts}</th>
<th>{ts}Enabled?{/ts}</th>
<th>{ts}Default?{/ts}</th>
<th></th>
</tr>
</thead>
{foreach from=$rows item=row}
<tr id="location_type-{$row.id}" data-action="setvalue" class="{cycle values="odd-row,even-row"} {$row.class} crm-entity {if NOT $row.is_active} disabled{/if}">
<td class="crmf-name">{$row.name}</td>
<td class="crmf-display_name crm-editable">{$row.display_name}</td>
<td class="crmf-vcard_name crm-editable">{$row.vcard_name}</td>
<td class="crmf-description crm-editable">{$row.description}</td>
<td id="row_{$row.id}_status" class="crmf-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td class="crmf-is_default" >{if $row.is_default eq 1}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Default{/ts}" />{/if}&nbsp;</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</table>
{/strip}
</div>
{else}
<div class="messages status no-popup">
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
{ts}None found.{/ts}
</div>
{/if}
<div class="action-link">
{crmButton q="action=add&reset=1" id="newLocationType" icon="plus-circle"}{ts}Add Option{/ts}{/crmButton}
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
{/if}

View file

@ -0,0 +1,81 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/MailSettings.tpl"}
{else}
{if $rows}
<div id="mSettings">
<p></p>
<div class="form-item">
{strip}
<table cellpadding="0" cellspacing="0" border="0">
<thead class="sticky">
<th>{ts}Name{/ts}</th>
<th>{ts}Server{/ts}</th>
<th>{ts}Username{/ts}</th>
<th>{ts}Localpart{/ts}</th>
<th>{ts}Domain{/ts}</th>
<th>{ts}Return-Path{/ts}</th>
<th>{ts}Protocol{/ts}</th>
<th>{ts}Source{/ts}</th>
<!--<th>{ts}Port{/ts}</th>-->
<th>{ts}Use SSL?{/ts}</th>
<th>{ts}Used For{/ts}</th>
<th></th>
</thead>
{foreach from=$rows item=row}
<tr id='rowid{$row.id}' class="crm-mailSettings {cycle values="odd-row,even-row"}">
<td class="crm-mailSettings-name">{$row.name}</td>
<td class="crm-mailSettings-server">{$row.server}</td>
<td class="crm-mailSettings-username">{$row.username}</td>
<td class="crm-mailSettings-localpart">{$row.localpart}</td>
<td class="crm-mailSettings-domain">{$row.domain}</td>
<td class="crm-mailSettings-return_path">{$row.return_path}</td>
<td class="crm-mailSettings-protocol">{$row.protocol}</td>
<td class="crm-mailSettings-source">{$row.source}</td>
<!--<td>{$row.port}</td>-->
<td class="crm-mailSettings-is_ssl">{if $row.is_ssl eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td class="crm-mailSettings-is_default">{if $row.is_default eq 1}{ts}Bounce Processing <strong>(Default)</strong>{/ts}{else}{ts}Email-to-Activity{/ts}{/if}&nbsp;</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</table>
{/strip}
</div>
</div>
{else}
<div class="messages status no-popup">
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
{ts}None found.{/ts}
</div>
{/if}
<div class="action-link">
{crmButton q="action=add&reset=1" id="newMailSettings" icon="plus-circle"}{ts}Add Mail Account{/ts}{/crmButton}
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
{/if}

View file

@ -0,0 +1,62 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/Mapping.tpl"}
{else}
<div class="help">
{ts}Saved mappings allow you to easily run the same import or export job multiple times. Mappings are created and updated as part of an Import or Export task. This screen allows you to rename or delete existing mappings.{/ts}
</div>
{if $rows}
<div id="mapping">
<p></p>
<div class="form-item">
{strip}
<table cellpadding="0" cellspacing="0" border="0">
<tr class="columnheader">
<th>{ts}Name{/ts}</th>
<th>{ts}Description{/ts}</th>
<th>{ts}Mapping Type{/ts}</th>
<th></th>
</tr>
{foreach from=$rows item=row}
<tr class="{cycle values="odd-row,even-row"} {$row.class} crm-mapping">
<td class="crm-mapping-name">{$row.name}</td>
<td class="crm-mapping-description">{$row.description}</td>
<td class="crm-mapping-mapping_type">{$row.mapping_type}</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</table>
{/strip}
</div>
</div>
{else}
<div class="messages status no-popup">
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
{ts}There are currently no saved import or export mappings. You create saved mappings as part of an Import or Export task.{/ts}
</div>
{/if}
{/if}

View file

@ -0,0 +1,64 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{capture assign=tokenDocLink}{docURL page="user/common-workflows/tokens-and-mail-merge"}{/capture}
{capture assign=schedRemindersDocLink}{docURL page="user/email/scheduled-reminders/"}{/capture}
{capture assign=schedRemURL}{crmURL p='civicrm/admin/scheduleReminders' q="reset=1"}{/capture}
{capture assign=upgradeTemplatesDocLink}{docURL page="Updating System Workflow Message Templates after Upgrades - method 1 - kdiff" resource="wiki"}{/capture}
{htxt id="id-intro-title"}
{ts}Message Templates{/ts}
{/htxt}
{htxt id="id-intro"}
<p>
{ts}Templates allow you to save and re-use messages with layouts. You can use them when sending email or letters to one or more contacts. If you are using CiviMail for enewsletters, newsletter templates take care of the layout so authors can focus on content.</p>{/ts}
<p>
{ts}You may include tokens to represent fields (like a contact's "first name") in the message subject and body. These will be replaced with the actual value of the corresponding field in the outgoing message. Click "Insert Tokens" for a searchable list of available tokens.{/ts} {$tokenDocLink}
</p>
<p>
{ts 1=$schedRemURL}Messages used for membership renewal reminders, as well as event and activity related reminders generally use tokens specific to membership, participant or activity records. For example, a membership renewal reminder may include the membership type and end date tokens. The <a href="%1">Scheduled Reminders</a> screen includes these tokens in the "Insert Tokens" tool, so it is best to create reminder templates there.{/ts} {$schedRemindersDocLink}
</p>
{/htxt}
{htxt id="id-system-workflow-title"}
{ts}System Workflow Message Templates{/ts}
{/htxt}
{htxt id="id-system-workflow"}
<p>
{ts}System workflow message templates are used to generate the emails sent to consituents and administrators for contribution receipts, event confirmations and many other workflows. You can customize the style and wording of these messages here.{/ts}
</p>
<p>
{ts}Workflow messages include text AND necessary program logic. Use caution when editing so as not to modify the program logic. Be sure to test the workflow and review the emails sent after making any changes. If you find that your changes have caused problems, errors or missing information - you can always &quot;Revert&quot; to the system default for that workflow.{/ts}
</p>
<p>
{ts}If your organization has modified the default versions of System Workflow message templates, then the changes and bug fixes included in an upgrade will need to be merged with your modified versions.{/ts} {$upgradeTemplatesDocLink}
</p>
{/htxt}
{htxt id="id-view_system_default-title"}
{ts}Default{/ts}
{/htxt}
{htxt id="id-view_system_default"}
{ts}You can view or revert to the default version of any system workflow message template which you've modified. After upgrades OR if you are having issues with your modified version, it is useful to compare your active version to the default code shown on this screen. You can use the 'Select' buttons below (with copy and paste commands) to copy the default code into a text editor and then compare it to your customized version.{/ts}
{/htxt}

View file

@ -0,0 +1,182 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{capture assign=crmURL}{crmURL p='civicrm/admin/messageTemplates/add' q="action=add&reset=1"}{/capture}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/MessageTemplates.tpl"}
{elseif $action eq 4}
{* View a system default workflow template *}
<div class="help">
{ts}You are viewing the default message template for this system workflow.{/ts} {help id="id-view_system_default"}
</div>
<fieldset>
<div class="crm-section msg_title-section">
<div class="bold">{$form.msg_title.value}</div>
</div>
<div class="crm-section msg_subject-section">
<h3 class="header-dark">{$form.msg_subject.label}</h3>
<div class="text">
<textarea name="msg-subject" id="msg_subject" style="height: 6em; width: 45em;">{$form.msg_subject.value}</textarea>
<div class='spacer'></div>
<div class="section">
<a href='#' onclick='MessageTemplates.msg_subject.select(); return false;' class='button'><span>Select Subject</span></a>
<div class='spacer'></div>
</div>
</div>
</div>
<div class="crm-section msg_txt-section">
<h3 class="header-dark">{$form.msg_text.label}</h3>
<div class="text">
<textarea class="huge" name='msg_text' id='msg_text'>{$form.msg_text.value|htmlentities}</textarea>
<div class='spacer'></div>
<div class="section">
<a href='#' onclick='MessageTemplates.msg_text.select(); return false;' class='button'><span>Select Text Message</span></a>
<div class='spacer'></div>
</div>
</div>
</div>
<div class="crm-section msg_html-section">
<h3 class="header-dark">{$form.msg_html.label}</h3>
<div class='text'>
<textarea class="huge" name='msg_html' id='msg_html'>{$form.msg_html.value|htmlentities}</textarea>
<div class='spacer'></div>
<div class="section">
<a href='#' onclick='MessageTemplates.msg_html.select(); return false;' class='button'><span>Select HTML Message</span></a>
<div class='spacer'></div>
</div>
</div>
</div>
<div class="crm-section msg_html-section">
<h3 class="header-dark">{$form.pdf_format_id.label}</h3>
<div class='text'>
{$form.pdf_format_id.html}
</div>
</div>
<div id="crm-submit-buttons">{$form.buttons.html}</div>
</fieldset>
{/if}
{if $rows and $action ne 2 and $action ne 4}
<div id='mainTabContainer'>
<ul>
<li id='tab_user'> <a href='#user' title='{ts}User-driven Messages{/ts}'> {ts}User-driven Messages{/ts} </a></li>
<li id='tab_workflow'><a href='#workflow' title='{ts}System Workflow Messages{/ts}'>{ts}System Workflow Messages{/ts}</a></li>
</ul>
{* create two selector tabs, first being the user one, the second being the workflow one *}
{include file="CRM/common/enableDisableApi.tpl"}
{include file="CRM/common/jsortable.tpl"}
{foreach from=$rows item=template_row key=type}
<div id="{if $type eq 'userTemplates'}user{else}workflow{/if}" class='ui-tabs-panel ui-widget-content ui-corner-bottom'>
<div class="help">
{if $type eq 'userTemplates'}
{capture assign=schedRemURL}{crmURL p='civicrm/admin/scheduleReminders' q="reset=1"}{/capture}
{ts 1=$schedRemURL}Message templates allow you to easily create similar emails or letters on a recurring basis. Messages used for membership renewal reminders, as well as event and activity related reminders should be created via <a href="%1">Schedule Reminders</a>.{/ts}
{if array_search('CiviMail', $config->enableComponents)}
{capture assign=automatedMsgURL}{crmURL p='civicrm/admin/component' q="reset=1"}{/capture}
{ts 1=$automatedMsgURL}You can also use message templates for CiviMail (bulk email) content. However, subscribe, unsubscribe and opt-out messages are configured at <a href="%1">Administer > CiviMail > Headers, Footers and Automated Messages</a>.{/ts}
{/if}
{help id="id-intro"}
{else}
{ts}System workflow message templates are used to generate the emails sent to constituents and administrators for contribution receipts, event confirmations and many other workflows. You can customize the style and wording of these messages here.{/ts} {help id="id-system-workflow"}
{/if}
</div>
<div>
{if $action ne 1 and $action ne 2 and $type eq 'userTemplates'}
<div class="action-link">
{crmButton p='civicrm/admin/messageTemplates/add' q="action=add&reset=1" id="newMessageTemplates" icon="plus-circle"}{ts}Add Message Template{/ts}{/crmButton}
</div>
<div class="spacer"></div>
{/if}
{if !empty( $template_row) }
<table class="display">
<thead>
<tr>
<th class="sortable">{if $type eq 'userTemplates'}{ts}Message Title{/ts}{else}{ts}Workflow{/ts}{/if}</th>
{if $type eq 'userTemplates'}
<th>{ts}Message Subject{/ts}</th>
<th>{ts}Enabled?{/ts}</th>
{/if}
<th></th>
</tr>
</thead>
<tbody>
{foreach from=$template_row item=row}
<tr id="message_template-{$row.id}" class="crm-entity {$row.class}{if NOT $row.is_active} disabled{/if}">
<td>{$row.msg_title}</td>
{if $type eq 'userTemplates'}
<td>{$row.msg_subject}</td>
<td id="row_{$row.id}_status">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
{/if}
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</tbody>
</table>
{/if}
{if $action ne 1 and $action ne 2 and $type eq 'userTemplates'}
<div class="action-link">
{crmButton p='civicrm/admin/messageTemplates/add' q="action=add&reset=1" id="newMessageTemplates" icon="plus-circle"}{ts}Add Message Template{/ts}{/crmButton}
</div>
<div class="spacer"></div>
{/if}
{if empty( $template_row) }
<div class="messages status no-popup">
<div class="icon inform-icon"></div>&nbsp;
{ts 1=$crmURL}There are no User-driven Message Templates entered. You can <a href='%1'>add one</a>.{/ts}
</div>
{/if}
</div>
</div>
{/foreach}
</div>
<script type='text/javascript'>
var selectedTab = 'user';
{if $selectedChild}selectedTab = '{$selectedChild}';{/if}
{literal}
CRM.$(function($) {
var tabIndex = $('#tab_' + selectedTab).prevAll().length
$("#mainTabContainer").tabs( {active: tabIndex} );
});
{/literal}
</script>
{elseif $action ne 1 and $action ne 2 and $action ne 4 and $action ne 8}
<div class="messages status no-popup">
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
{ts 1=$crmURL}There are no Message Templates entered. You can <a href='%1'>add one</a>.{/ts}
</div>
{/if}

View file

@ -0,0 +1,44 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{htxt id="id-navigation-title"}
{ts}Navigation Menu{/ts}
{/htxt}
{htxt id="id-navigation"}
<p>
{ts}This screen shows the current CiviCRM navigation menu for your site - viewed as a 'tree'. The top-level menu items are listed vertically. Click the triangle to the left of any top-level item ('branch') to expand it and see the menu items underneath it. Remember that some menu items shown here will not be displayed in the live menu bar which appears at the top of each CiviCRM screen. Users will only see menu items which they have permissions for, and menu items associated with disabled components will also be hidden.{/ts}
</p>
<p>
{ts}You can customize the CiviCRM navigation menu bar to better meet the needs of your users. You can:{/ts}
</p>
<ul>
<li>{ts}Add menu items at any level to support specific work-flows. For example, if your organization uses profile(s) for data entry, you can add menu items linking to those profiles. New menu items can also link to external (non-CiviCRM) web pages and web applications. Click 'New Menu Item' to add an item at any level.{/ts}</li>
<li>{ts}Rename menu items. Move your cursor over the menu item and right-click with your mouse. Then select 'Rename'.{/ts}</li>
<li>{ts}Delete menu items that you don't use. Right-click and select 'Delete'.{/ts}</li>
<li>{ts}Change the permissions for a menu item. Right-click and select 'Edit'.{/ts}</li>
<li>{ts}Re-order menu items (including moving them from one branch of the menu 'tree' to another. Simply use your mouse to 'drag and drop' the menu item to the new location.{/ts}</li>
</ul>
<p><em>{ts}Changes you make to the menu are saved immediately. However, you will need reload this page to see your changes in the menu bar above.{/ts}</em></p>
{/htxt}

View file

@ -0,0 +1,171 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/Navigation.tpl"}
{else}
<div class="help">
{ts}Customize the CiviCRM navigation menu bar for your users here.{/ts} {help id="id-navigation"}
</div>
<div class="crm-block crm-content-block">
<div id="new-menu-item">
{crmButton p="civicrm/admin/menu" q="action=add&reset=1" id="newMenuItem" icon="crm-i fa-plus-circle" style="margin-left: 6px;"}{ts}Add Menu Item{/ts}{/crmButton}&nbsp;&nbsp;&nbsp;&nbsp;
<span id="reset-menu" class="status" style="display:none">
{capture assign=rebuildURL}{crmURL p='civicrm/admin/menu' q="reset=1"}{/capture}
{ts 1=$rebuildURL}<a href='%1' title="Reload page"><strong>Click here</strong></a> to reload the page and see your changes in the menu bar above.{/ts}
</span><br/><br/>
</div>
<div class="spacer"></div>
<div style="padding-left: 25px;"><div class="crm-logo-sm"></div></div>
<div id="navigation-tree" class="navigation-tree" style="height:auto; border-collapse:separate; background-color:#FFFFFF;"></div>
<div class="spacer"></div>
<div>
<a href="#" class="nav-reset crm-hover-button">
{* TODO: fa-broom would be better, but not implemented yet. https://github.com/FortAwesome/Font-Awesome/issues/239 *}
<i class="crm-i fa-undo"></i> {ts}Cleanup reports menu{/ts}
</a>
</div>
<div class="spacer"></div>
</div>
{literal}
<script type="text/javascript">
CRM.$(function($) {
$("#navigation-tree").jstree({
plugins: ["dnd", "contextmenu"],
core: {
data: function(tree, callBack) {
CRM.api3('Navigation', 'get', {
domain_id: {/literal}{$config->domainID()}{literal},
options: {limit: 0, sort: 'weight'},
return: ['label', 'parent_id', 'icon'],
name: {'!=': 'Home'},
sequential: 1
}).done(function(data) {
var items = [];
$.each(data.values, function(key, value) {
items.push({
id: value.id,
text: value.label,
icon: value.icon || false,
parent: value.parent_id || '#'
});
});
callBack(items);
});
},
progressive_render: true,
check_callback: true
},
dnd: {
copy: false
},
contextmenu: {
items: function (node, callBack) {
var items = {
add: {
label: "{/literal}{ts escape='js'}Add{/ts}{literal}",
icon: 'crm-i fa-plus',
action: editForm
},
edit: {
label: "{/literal}{ts escape='js'}Edit{/ts}{literal}",
icon: 'crm-i fa-pencil',
action: editForm
},
delete: {
label: "{/literal}{ts escape='js'}Delete{/ts}{literal}",
icon: 'crm-i fa-trash',
action: function (menu) {
var nodeID = menu.reference.attr('id').replace('_anchor', ''),
node = $("#navigation-tree").jstree(true).get_node(nodeID),
menuName = node.text;
var deleteMsg = {/literal}"{ts escape='js'}Are you sure you want to delete this menu item:{/ts} " + '"'{literal} + menuName + {/literal}'"? {ts escape='js'}This action cannot be undone.{/ts}'{literal};
if (node.children.length) {
deleteMsg += {/literal}"<br /><br />" + ts('{ts escape='js' 1='<strong>%1</strong>'}%1 sub-menu items will also be deleted.{/ts}'{literal}, {1: node.children.length});
}
CRM.confirm({message: deleteMsg})
.on('crmConfirm:yes', function() {
CRM.api3('Navigation', 'delete', {id: nodeID}, true);
$("#navigation-tree").jstree(true).delete_node(menu.reference.closest('li'));
$("#reset-menu").show();
});
}
}
};
callBack(items);
}
}
}).on("move_node.jstree", function (e, data) {
var nodeID = data.node.id;
var refID = data.parent === '#' ? '' : data.parent;
var ps = data.position;
var postURL = {/literal}"{crmURL p='civicrm/ajax/menutree' h=0 q='key='}{crmKey name='civicrm/ajax/menutree'}"{literal};
CRM.status({}, $.get( postURL + '&type=move&id=' + nodeID + '&ref_id=' + refID + '&ps='+ps));
$("#reset-menu").show();
});
function editForm(menu) {
var nodeID = menu.reference.attr('id').replace('_anchor', ''),
action = menu.item.icon === 'crm-i fa-pencil' ? 'update' : 'add',
args = {reset: 1, action: action};
if (action === 'add') {
args.parent_id = nodeID;
} else {
args.id = nodeID;
}
CRM.loadForm(CRM.url('civicrm/admin/menu', args)).on('crmFormSuccess', function() {
$("#navigation-tree").jstree(true).refresh();
$("#reset-menu").show();
});
}
$('#new-menu-item a.button')
.on('click', CRM.popup)
.on('crmPopupFormSuccess', function() {
$("#navigation-tree").jstree(true).refresh();
$("#reset-menu").show();
});
$('a.nav-reset').on('click', function(e) {
e.preventDefault();
CRM.confirm({
title: $(this).text(),
message: '{/literal}{ts escape='js'}This will add links for all currently active reports to the "Reports" menu under the relevant component. If you have added report instances to other menus, they will be moved to "Reports". Are you sure?{/ts}{literal}'
})
.on('crmConfirm:yes', function() {
$('#crm-container').block();
CRM.api3('Navigation', 'reset', {'for': 'report'}, true)
.done(function() {
$('#crm-container').unblock();
$("#navigation-tree").jstree(true).refresh();
$("#reset-menu").show();
})
});
});
});
</script>
{/literal}
{/if}

View file

@ -0,0 +1,71 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{* Admin page for browsing Option Group *}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/OptionGroup.tpl"}
{else}
<div class="help">
{ts}CiviCRM stores configurable choices for various drop-down fields as 'option groups'. You can click <strong>Options</strong> to view the available choices.{/ts}
<p><i class="crm-i fa-exclamation-triangle"></i> {ts}WARNING: Many option groups are used programatically and values should be added or modified with caution.{/ts}</p>
</div>
{/if}
{if $rows}
<div id="browseValues">
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
<table cellpadding="0" cellspacing="0" border="0">
<tr class="columnheader">
<th>{ts}Title{/ts}</th>
<th>{ts}Name{/ts}</th>
<th></th>
</tr>
{foreach from=$rows item=row}
<tr id="optionGroup-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
<td class="crm-admin-optionGroup-title">{if $row.title}{$row.title}{else}( {ts}none{/ts} ){/if}</td>
<td class="crm-admin-optionGroup-name">{$row.name}</td>
<td><a href="{crmURL p="civicrm/admin/options" q="gid=`$row.id`&reset=1"}" title="{ts}View and Edit Options{/ts}">{ts}Options{/ts}</a></td>
</tr>
{/foreach}
</table>
{/strip}
{if $action ne 1 and $action ne 2}
<div class="action-link">
{crmButton q="action=add&reset=1" id="newOptionGroup" icon="plus-circle"}{ts}Add Option Group{/ts}{/crmButton}
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
{/if}
</div>
{elseif $action NEQ 1 && $action NEQ 2}
<div class="messages status no-popup">
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
{capture assign=crmURL}{crmURL p='civicrm/admin/optionGroup' q="action=add&reset=1"}{/capture}
{ts 1=$crmURL}There are no Option Groups entered. You can <a href='%1'>add one</a>.{/ts}
</div>
{/if}

View file

@ -0,0 +1,35 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{htxt id='id-activity-types-title'}
{ts}Activity Types{/ts}
{/htxt}
{htxt id='id-activity-types'}
{capture assign=docLink}{docURL page="CiviCRM Public APIs" text="API Documentation" resource="wiki"}{/capture}
<p>{ts}Activities are 'interactions with contacts' which you want to record and track. CiviCRM has several reserved (e.g. 'built-in') activity types (meetings, phone calls, emails sent). Create additional 'activity types' here if you need to record other types of activities. For example, you might want to add 'Job Interview', or 'Site Audit', etc.{/ts}</p>
{capture assign=crmURL}{crmURL p='civicrm/admin/custom/group' q='reset=1'}{/capture}
<p>{ts 1=$crmURL}Subject, location, date/time and description fields are provided for all activity types. You can add custom fields for tracking additional information about activities <a href='%1'>here</a>.{/ts}</p>
<p>{ts 1=$docLink}Scheduled and Completed Activities are searchable by type and/or activity date using 'Advanced Search'. Other applications may record activities for CiviCRM contacts using our APIs. For more information, refer to the online %1.{/ts}</p>
{/htxt}

View file

@ -0,0 +1,177 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{if empty($gName)}
{include file="CRM/Admin/Page/OptionGroup.tpl"}
{elseif $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/Options.tpl"}
{else}
{if $gName eq "acl_role"}
{include file="CRM/ACL/Header.tpl" step=1}
{else}
<div class="help">
{if $gName eq "gender"}
{ts}CiviCRM is pre-configured with standard options for individual gender (Male, Female, Other). Modify these options as needed for your installation.{/ts}
{elseif $gName eq "individual_prefix"}
{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}
{elseif $gName eq "mobile_provider"}
{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}
{elseif $gName eq "instant_messenger_service"}
{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}
{elseif $gName eq "individual_suffix"}
{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}
{elseif $gName eq "activity_type"}
{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'}
{elseif $gName eq "payment_instrument"}
{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}
{elseif $gName eq "accept_creditcard"}
{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 />
{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}
{elseif $gName eq 'event_type'}
{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}
{elseif $gName eq 'participant_role'}
{ts}Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.{/ts}
{elseif $gName eq 'participant_status'}
{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}
{elseif $gName eq 'from_email_address'}
{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" &lt;clientservices@example.org&gt;</em>{/ts}
{elseif $isLocked}
{ts}This option group is reserved for system use. You cannot add or delete options in this list.{/ts}
{else}
{ts 1=$gLabel}The existing option choices for %1 group are listed below. You can add, edit or delete them from this screen.{/ts}
{/if}
</div>
{/if}
<div class="crm-content-block crm-block">
{if $rows}
{if $isLocked ne 1}
<div class="action-link">
{crmButton p="civicrm/admin/options/$gName" q='action=add&reset=1' class="new-option" icon="plus-circle"}{ts 1=$gLabel}Add %1{/ts}{/crmButton}
</div>
{/if}
{foreach from=$rows item=row}
{if !empty($row.icon)}{assign var='hasIcons' value=TRUE}{/if}
{/foreach}
<div id={$gName}>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
<table id="options" class="row-highlight">
<thead>
<tr>
{if !empty($hasIcons)}
<th></th>
{/if}
{if $showComponent}
<th>{ts}Component{/ts}</th>
{/if}
<th>
{if $gName eq "redaction_rule"}
{ts}Match Value or Expression{/ts}
{else}
{ts}Label{/ts}
{/if}
</th>
{if $gName eq "case_status"}
<th>
{ts}Status Class{/ts}
</th>
{/if}
<th>
{if $gName eq "redaction_rule"}
{ts}Replacement{/ts}
{elseif $gName eq "activity_type"}
{ts}Activity Type ID{/ts}
{else}
{ts}Value{/ts}
{/if}
</th>
{if $gName eq "payment_instrument"}<th>Account</th>{/if}
{if $showCounted}<th>{ts}Counted?{/ts}</th>{/if}
{if $showVisibility}<th>{ts}Visibility{/ts}</th>{/if}
<th id="nosort">{ts}Description{/ts}</th>
<th>{ts}Order{/ts}</th>
{if $showIsDefault}<th>{ts}Default{/ts}</th>{/if}
<th>{ts}Reserved{/ts}</th>
<th>{ts}Enabled?{/ts}</th>
<th></th>
</tr>
</thead>
<tbody>
{foreach from=$rows item=row}
<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}">
{if !empty($hasIcons)}
<td class="crm-admin-options-icon"><i class="crm-i {$row.icon}"></i></td>
{/if}
{if $showComponent}
<td class="crm-admin-options-component_name">{$row.component_name}</td>
{/if}
<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}>
{$row.label}
</td>
{if $gName eq "case_status"}
<td class="crm-admin-options-grouping">{$row.grouping}</td>
{/if}
<td class="crm-admin-options-value">{$row.value}</td>
{if $gName eq "payment_instrument"}
<td>{$row.financial_account}</td>
{/if}
{if $showCounted}
<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>
{/if}
{if $showVisibility}<td class="crm-admin-visibility_label">{$row.visibility_label}</td>{/if}
<td class="crm-admin-options-description crm-editable" data-field="description" data-type="textarea">{$row.description}</td>
<td class="nowrap crm-admin-options-order">{$row.weight}</td>
{if $showIsDefault}
<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}&nbsp;</td>
{/if}
<td class="crm-admin-options-is_reserved">{if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<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>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</tbody>
</table>
{/strip}
</div>
{else}
<div class="messages status no-popup">
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
{ts}None found.{/ts}
</div>
{/if}
<div class="action-link">
{if $isLocked ne 1}
{crmButton p="civicrm/admin/options/$gName" q='action=add&reset=1' class="new-option" icon="plus-circle"}{ts 1=$gLabel}Add %1{/ts}{/crmButton}
{/if}
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
</div>
{/if}

View file

@ -0,0 +1,34 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{htxt id="id-disabled_statuses-title"}
{ts}Disabled Statuses{/ts}
{/htxt}
{htxt id="id-disabled_statuses"}
<p><strong>{ts}Waitlisting Statuses{/ts}</strong><br />
{ts}To enable event waitlist management the following statuses must be enabled:{/ts} <strong>{ts}On waitlist{/ts}</strong>, <strong>{ts}Pending from waitlist{/ts}</strong>. {ts}Once these statuses are enabled, the event Info and Settings screen will have controls to enable (and configure) waitlisting.{/ts}</p>
<p><strong>{ts}Approval Statuses{/ts}</strong><br />
{ts}To enable event participation approval the following statuses must be enabled:{/ts} <strong>{ts}Awaiting approval{/ts}</strong>, <strong>{ts}Pending from approval{/ts}</strong>, <strong>{ts}Rejected{/ts}</strong>. {ts}Once these statuses are enabled, the event Online Registration screen will have controls to enable (and configure) participation approval.{/ts}</p>
{/htxt}

View file

@ -0,0 +1,70 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/ParticipantStatusType.tpl"}
{else}
<div class="help">{ts}Manage event participant statuses below. Enable selected statuses to allow event waitlisting and/or participant approval.{/ts} {help id="id-disabled_statuses"}</div>
<div class="crm-section participant-status">
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
<table cellpadding="0" cellspacing="0" border="0">
<thead class="sticky">
<th>{ts}Label{/ts}</th>
<th>{ts}Name (Status ID){/ts}</th>
<th>{ts}Class{/ts}</th>
<th>{ts}Reserved?{/ts}</th>
<th>{ts}Active?{/ts}</th>
<th>{ts}Counted?{/ts}</th>
<th>{ts}Order{/ts}</th>
<th>{ts}Visibility{/ts}</th>
<th></th>
</thead>
{foreach from=$rows item=row}
<tr id="participant_status_type-{$row.id}" class="crm-entity crm-participant_{$row.id} {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
<td class="crmf-label crm-editable" data-field="label">{$row.label}</td>
<td class="crmf-name">{$row.name} ({$row.id})</td>
<td class="crmf-class {if !$row.is_reserved} crm-editable {/if}" data-type="select">{$row.class}</td>
<td class="center crmf-is_reserved">{if $row.is_reserved}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Reserved{/ts}" />{/if}</td>
<td id="row_{$row.id}_status" class="crmf-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td class="center crmf-is_counted">{if $row.is_counted} <img src="{$config->resourceBase}i/check.gif" alt="{ts}Counted{/ts}" />{/if}</td>
<td class="crmf-weight">{$row.weight}</td>
<td class="crmf-visibility">{$row.visibility}</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</table>
{/strip}
{if $action ne 1 and $action ne 2}
<div class="action-link">
{crmButton q="action=add&reset=1" icon="plus-circle"}{ts}Add Participant Status{/ts}{/crmButton}
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
{/if}
</div>
{/if}

View file

@ -0,0 +1,276 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{htxt id='proc-type-title'}
{ts}Payment Processors{/ts}
{/htxt}
{htxt id='proc-type'}
<p>{ts}Refer to the following documentation:{/ts}</p>
<ul>
<li>{docURL page="user/contributions/payment-processors" text="Payment processor overview"}</li>
<li>{docURL page="Payment Processors" text="Processor comparison and setup guide" resource="wiki"}</li>
</ul>
<p>{ts}If you're not sure which processor to use - we recommend reviewing terms, limitations and coverage areas on each processor's website before proceeding.{/ts}</p>
<p>{ts 1="https://civicrm.org/extensions/civicrm?cat=125"}If your desired processor is not in the list, check the <a href="%1">Extensions Directory</a> for more payment processors you can download. If you still can't find it, consider partnering with a developer and contributing a new extension.{/ts}</p>
{/htxt}
{htxt id='AuthNet-live-user-name'}
{ts}Generate your API Login and Transaction Key by logging in to your Merchant Account and navigating to <strong>Settings &raquo; General Security Settings</strong>.{/ts}</p>
{/htxt}
{htxt id='AuthNet-live-password'}
{ts}Generate your API Login and Transaction Key by logging in to your Merchant Account and navigating to <strong>Settings &raquo; General Security Settings</strong>.{/ts}</p>
{/htxt}
{htxt id='AuthNet-live-signature'}
{ts}You may also optionally set an MD5 Hash Key to verify that responses come directly from Authorize.Net. Login to your merchant account and navigate to <strong>Account Settings</strong>. Select MD5-Hash and enter a new hash value. This can be just about any string of characters or words. Then enter the exact same value here.{/ts}</p>
{/htxt}
{htxt id='AuthNet-live-url-site'}
{ts}The URL for Authorize.net's LIVE Payment server. Use the default value unless otherwise advised by the processor.{/ts}
{/htxt}
{htxt id='AuthNet-live-url-recur'}
{ts}The URL for recurring payments. Use the default value unless otherwise advised by the processor.{/ts}
{/htxt}
{htxt id='AuthNet-test-user-name'}
{ts}Generate your API Login and Transaction Key by logging in to your Merchant Account and navigating to <strong>Settings &raquo; General Security Settings</strong>.{/ts}</p>
{/htxt}
{htxt id='AuthNet-test-password'}
{ts}Generate your API Login and Transaction Key by logging in to your Merchant Account and navigating to <strong>Settings &raquo; General Security Settings</strong>.{/ts}</p>
{/htxt}
{htxt id='AuthNet-test-signature'}
{ts}You may also optionally set an MD5 Hash Key to verify that responses come directly from Authorize.Net. Login to your merchant account and navigate to <strong>Account Settings</strong>. Select MD5-Hash and enter a new hash value. This can be just about any string of characters or words. Then enter the exact same value here.{/ts}</p>
{/htxt}
{htxt id='AuthNet-test-url-site'}
{ts}The URL for Authorize.net's TEST Payment server. Use the default value unless otherwise advised by the processor.{/ts}
{/htxt}
{htxt id='AuthNet-test-url-recur'}
{ts}The URL for recurring payments. Use the default value unless otherwise advised by the processor.{/ts}
{/htxt}
{htxt id='PayPal-live-user-name'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Username</strong> as displayed in your LIVE account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal-live-password'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Password</strong> as displayed in your LIVE account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal-live-signature'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Signature</strong> as displayed in your LIVE account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal-live-url-site'}
{ts}The URL for PayPal's LIVE Payment server. Use the default value (unless otherwise advised by PayPal):{/ts}<br /> https://www.paypal.com/
{/htxt}
{htxt id='PayPal-live-url-api'}
{ts}The URL for PayPal's LIVE API gateway server. Use the default value (unless otherwise advised by PayPal):{/ts}<br />https://api-3t.paypal.com/
{/htxt}
{htxt id='PayPal-live-url-button'}
{ts}The URL for displaying PayPal's 'Pay with PayPal' payment button image. Use the default value unless otherwise advised by PayPal.{/ts}
{/htxt}
{htxt id='PayPal-test-user-name'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Username</strong> as displayed in your TEST (sandbox) account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal-test-password'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Password</strong> as displayed in your TEST (sandbox) account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal-test-signature'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Signature</strong> as displayed in your TEST (sandbox) account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal-test-url-site'}
{ts}The URL for PayPal's TEST Payment server. Use the default value (unless otherwise advised by PayPal):{/ts}<br />https://www.sandbox.paypal.com/
{/htxt}
{htxt id='PayPal-test-url-api'}
{ts}The URL for PayPal's TEST API gateway server. Use the default value (unless otherwise advised by PayPal):{/ts}<br />https://api-3t.sandbox.paypal.com/
{/htxt}
{htxt id='PayPal-test-url-button'}
{ts}The URL for displaying PayPal's 'Pay with PayPal' payment button image. Use the default value unless otherwise advised by PayPal.{/ts}
{/htxt}
{htxt id='PayPal_Express-live-user-name'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Username</strong> as displayed in your LIVE account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal_Express-live-password'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Password</strong> as displayed in your LIVE account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal_Express-live-signature'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Signature</strong> as displayed in your LIVE account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal_Express-live-url-site'}
{ts}The URL for PayPal's LIVE Payment server. Use the default value (unless otherwise advised by PayPal):{/ts}<br /> https://www.paypal.com/
{/htxt}
{htxt id='PayPal_Express-live-url-api'}
{ts}The URL for PayPal's LIVE API gateway server. Use the default value (unless otherwise advised by PayPal):{/ts}<br />https://api-3t.paypal.com/
{/htxt}
{htxt id='PayPal_Express-live-url-button'}
{ts}The URL for displaying PayPal's 'Pay with PayPal' payment button image. Use the default value unless otherwise advised by PayPal.{/ts}
{/htxt}
{htxt id='PayPal_Express-test-user-name'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Username</strong> as displayed in your TEST (sandbox) account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal_Express-test-password'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Password</strong> as displayed in your TEST (sandbox) account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal_Express-test-signature'}
{ts}CiviCRM requires that you use the <strong>Signature-based API Credentials</strong> for PayPal Pro and Express. Enter your <strong>API Signature</strong> as displayed in your TEST (sandbox) account's <strong>Profile - View API Signature</strong> screen.{/ts}</p>
{/htxt}
{htxt id='PayPal_Express-test-url-site'}
{ts}The URL for PayPal's TEST Payment server. Use the default value (unless otherwise advised by PayPal):{/ts}<br />https://www.sandbox.paypal.com/
{/htxt}
{htxt id='PayPal_Express-test-url-api'}
{ts}The URL for PayPal's TEST API gateway server. Use the default value (unless otherwise advised by PayPal):{/ts}<br />https://api-3t.sandbox.paypal.com/
{/htxt}
{htxt id='PayPal_Express-test-url-button'}
{ts}The URL for displaying PayPal's 'Pay with PayPal' payment button image. Use the default value unless otherwise advised by PayPal.{/ts}
{/htxt}
{htxt id='PayPal_Standard-live-user-name'}
{ts}Enter the Merchant Account Email Address linked to your LIVE PayPal Merchant Account.{/ts}</p>
{/htxt}
{htxt id='PayPal_Standard-live-url-site'}
{ts}The URL for PayPal's LIVE Payment server. Use the default value unless otherwise indicated by PayPal.{/ts}
{/htxt}
{htxt id='PayPal_Standard-live-url-recur'}
{ts}The URL for PayPal Standard recurring payments. Use the default value unless otherwise indicated by PayPal.{/ts}
{/htxt}
{htxt id='PayPal_Standard-test-user-name'}
{ts}Enter the Merchant Account Email Address linked to your PayPal Sandbox merchant account (NOT your Developer Central login - unless it's the same).{/ts}</p>
{/htxt}
{htxt id='PayPal_Standard-test-url-site'}
{ts}The URL for PayPal's TEST Payment server. Use the default value unless otherwise indicated by PayPal.{/ts}
{/htxt}
{htxt id='PayPal_Standard-test-url-recur'}
{ts}The URL for PayPal Standard recurring payments. Use the default value unless otherwise indicated by PayPal.{/ts}
{/htxt}
{htxt id='PayJunction-test-user-name'}
<p>{ts}Enter <strong>pj-ql-01</strong>. This is the User Name associated with the shared PayJunction test account.{/ts}</p>
{/htxt}
{htxt id='PayJunction-test-password'}
<p>{ts}Enter <strong>pj-ql-01p</strong>. This is the Password associated with the shared PayJunction test account.{/ts}</p>
{/htxt}
{htxt id='PayJunction-test-url-site'}
{ts}The URL for PayJunction's Payment server. This is the same for TEST and LIVE transactions. Use the default value unless otherwise advised by PayJunction.{/ts}
{/htxt}
{htxt id='PayJunction-test-url-recur'}
<p>{ts}The Recurring Payments URL is not currently used.{/ts}</p>
{/htxt}
{htxt id='PayJunction-live-user-name'}
<p>{ts}Enter the User Name associated with your LIVE merchant account.{/ts}</p>
{/htxt}
{htxt id='PayJunction-live-password'}
<p>{ts}Enter the Password associated with your LIVE merchant account.{/ts}</p>
{/htxt}
{htxt id='PayJunction-live-url-site'}
{ts}The URL for PayJunction's Payment server. This is the same for TEST and LIVE transactions. Use the default value unless otherwise advised by PayJunction.{/ts}
{/htxt}
{htxt id='PayJunction-live-url-recur'}
<p>{ts}The Recurring Payments URL is not currently used.{/ts}</p>
{/htxt}
{htxt id='Dummy-live-user-name'}
{ts}Set up a 'Dummy' Processor if you want to test Online Contribution pages or Event Registration pages prior to selecting and configuring a real payment processor. You can enter any values for User Name and Site URL.{/ts}</p>
{/htxt}
{htxt id='Dummy-live-url-site'}
{ts}Set up a 'Dummy' Processor if you want to test Online Contribution pages or Event Registration pages prior to selecting and configuring a real payment processor. You can enter any values for User Name and Site URL.{/ts}</p>
{/htxt}
{htxt id='Dummy-test-user-name'}
{ts}Set up a 'Dummy' Processor if you want to test Online Contribution pages or Event Registration pages prior to selecting and configuring a real payment processor. You can enter any values for User Name and Site URL.{/ts}</p>
{/htxt}
{htxt id='Dummy-test-url-site'}
{ts}Set up a 'Dummy' Processor if you want to test Online Contribution pages or Event Registration pages prior to selecting and configuring a real payment processor. You can enter any values for User Name and Site URL.{/ts}</p>
{/htxt}
{htxt id='eWAY-test-user-name'}
<p>{ts 1='<strong>eWAYCustomerID</strong>'}This is the TEST %1 used solely for testing.{/ts}
<br />{ts 1='<strong>87654321</strong>'}Use %1 unless otherwise advised by eWAY.{/ts}
<br />{ts 1='<strong>4444333322221111</strong>'}The test Credit Card number is %1 - this is the only credit card number that will work on the test gateway.{/ts}
<br />{ts 1='00' 2='08'}The test Total Amount should end in <strong>%1</strong> or <strong>%2</strong> to get a successful response (e.g. $10.%1 or $10.%2) - all other amounts will return a failed response.{/ts}</p>
{/htxt}
{htxt id='eWAY-test-url-site'}
{ts}The <strong>URL</strong> for eWAY's TEST Gateway.{/ts}
<br />{ts 1='<strong>https://www.eway.com.au/gateway_cvn/xmltest/testpage.asp</strong>'}Use %1 unless otherwise advised by eWAY.{/ts}
{/htxt}
{htxt id='eWAY-live-user-name'}
<p>{ts}This is the LIVE <strong>eWAYCustomerID</strong> associated with your eWAY account.{/ts}</p>
{/htxt}
{htxt id='eWAY-live-url-site'}
{ts}The <strong>URL</strong> for eWAY's LIVE Gateway.{/ts}
<br />{ts 1='<strong>https://www.eway.com.au/gateway_cvn/xmlpayment.asp</strong>'}Use %1 unless otherwise advised by eWAY.{/ts}
{/htxt}
{htxt id='Payment_Express-test-user-name'} {ts}Payment Express UserID (Development account):{/ts}
{ts}This is the development user name provided to you by DPS/Payment Express.{/ts}
{ts 1='4111111111111111' 2='76'}The test Credit Card number is %1 - this is the only credit card number that will work on the test gateway. The test Total Amount can be any amount except one that ends in a value of .%2 (e.g. $10.%2) - all amounts ending in .%2 will return a failed response.{/ts}
{/htxt}
{htxt id='Payment_Express-test-url-site'} {ts}This is the URL for accessing the DPS/Payment Express payment site. If you have been given a MAC key please fill in the Mac Key field, and use https://sec.paymentexpress.com/pxpay/pxpay.aspx for the Site URL. Otherwise use https://sec.paymentexpress.com/pxpay/pxaccess.aspx for the Site URL.{/ts} {/htxt}
{htxt id='Payment_Express-live-user-name'} {ts}Payment Express UserID (LIVE account):{/ts}
{ts}This is the live user name provided to you by DPS/Payment Express.{/ts}{/htxt}
{htxt id='Payment_Express-live-url-site'} {ts}This is the URL for accessing the DPS/Payment Express payment site. If you have been given a MAC key please fill in the Mac Key field, and use https://sec.paymentexpress.com/pxpay/pxpay.aspx for the Site URL. Otherwise use https://sec.paymentexpress.com/pxpay/pxaccess.aspx for the Site URL.{/ts} {/htxt}
{htxt id='Elavon-live-user-name'}
<p>{ts}This is the LIVE <strong>Elavon Merchant ID</strong> associated with your Elavon account.{/ts}</p>
{/htxt}
{htxt id='Elavon-live-password'}
<p>{ts}This is the LIVE <strong>Elavon User ID</strong> associated with your Elavon account.{/ts}</p>
{/htxt}
{htxt id='Elavon-live-signature'}
<p>{ts}This is the LIVE <strong>Elavon SSL PIN</strong> associated with your Elavon account.{/ts}</p>
{/htxt}
{htxt id='Elavon-live-url-site'}
<p>{ts}Use 'https://www.myvirtualmerchant.com/VirtualMerchant/processxml.do' unless otherwise advised by Elavon..{/ts}</p>
{/htxt}
{htxt id='Elavon-test-user-name'}
<p>{ts}This is the TEST <strong>Elavon Merchant ID</strong> associated with your Elavon account.{/ts}</p>
{/htxt}
{htxt id='Elavon-test-password'}
<p>{ts}This is the TEST <strong>Elavon User ID</strong> associated with your Elavon account.{/ts}</p>
{/htxt}
{htxt id='Elavon-test-signature'}
<p>{ts}This is the TEST <strong>Elavon SSL PIN</strong> associated with your Elavon account.{/ts}</p>
{/htxt}
{htxt id='Elavon-test-url-site'}
<p>{ts}Use 'https://www.myvirtualmerchant.com/VirtualMerchant/processxml.do' unless otherwise advised by Elavon.{/ts}</p>
{/htxt}
{htxt id='FirstData-live-user-name'}
<p>{ts}This is the LIVE <strong>First Data Store Name</strong> associated with your First Data account (This is Certificate file number without the extension).{/ts}</p>
{/htxt}
{htxt id='FirstData-live-password'}
<p>{ts}This is the LIVE <strong>Certificate Path</strong> associated with your First Data account.{/ts}</p>
{/htxt}
{htxt id='FirstData-live-url-site'}
<p>{ts}The URL for First Data's Live Payment server. Use the default value (unless otherwise advised by First Data):{/ts}<br />https://secure.linkpt.net</p>
{/htxt}
{htxt id='FirstData-test-user-name'}
<p>{ts}This is the TEST <strong>First Data Store Name</strong> associated with your First Data account (This is Certificate file number without the extension).{/ts}</p>
{/htxt}
{htxt id='FirstData-test-password'}
<p>{ts}This is the TEST <strong>Certificate Path</strong> associated with your First Data account.{/ts}</p>
{/htxt}
{htxt id='FirstData-test-url-site'}
<p>{ts}The URL for First Data's TEST Payment server. Use the default value (unless otherwise advised by First Data):{/ts}<br />https://staging.linkpt.net</p>
{/htxt}

View file

@ -0,0 +1,78 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
<div class="help">
{ts}You can configure one or more Payment Processors for your CiviCRM installation. You must then assign an active Payment Processor to each <strong>Online Contribution Page</strong> and each paid <strong>Event</strong>.{/ts} {help id='proc-type'}
</div>
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/PaymentProcessor.tpl"}
{else}
{if $rows}
<div id="ltype">
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
<table class="selector row-highlight">
<tr class="columnheader">
<th >{ts}Name{/ts}</th>
<th >{ts}Processor Type{/ts}</th>
<th >{ts}Description{/ts}</th>
<th >{ts}Financial Account{/ts}</th>
<th >{ts}Enabled?{/ts}</th>
<th >{ts}Default?{/ts}</th>
<th ></th>
</tr>
{foreach from=$rows item=row}
<tr id="payment_processor-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
<td class="crmf-name">{$row.name}</td>
<td class="crmf-payment_processor_type">{$row.payment_processor_type}</td>
<td class="crmf-description">{$row.description}</td>
<td class="crmf-financial_account_id">{$row.financialAccount}</td>
<td class="crmf-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td class="crmf-is_default">{if $row.is_default eq 1}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Default{/ts}" />{/if}&nbsp;</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</table>
{/strip}
{if $action ne 1 and $action ne 2}
<div class="action-link">
{crmButton q="action=add&reset=1&pp=$defaultPaymentProcessorType" id="newPaymentProcessor" icon="plus-circle"}{ts}Add Payment Processor{/ts}{/crmButton}
</div>
{/if}
</div>
{elseif $action ne 1}
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
{ts}There are no Payment Processors entered.{/ts}
</div>
<div class="action-link">
{crmButton p='civicrm/admin/paymentProcessor' q="action=add&reset=1&pp=$defaultPaymentProcessorType" id="newPaymentProcessor" icon="plus-circle"}{ts}Add Payment Processor{/ts}{/crmButton}
</div>
{/if}
{/if}

View file

@ -0,0 +1,76 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
<div class="help">
{ts}Payment Processor configurations for all payment processors that can be used in this installation of CiviCRM.{/ts}
</div>
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/PaymentProcessorType.tpl"}
{else}
{if $rows}
<div id="ltype">
<p></p>
<div class="form-item">
{strip}
{include file="CRM/common/enableDisableApi.tpl"}
<table cellpadding="0" cellspacing="0" border="0">
<tr class="columnheader">
<th>{ts}Name{/ts}</th>
<th>{ts}Title{/ts}</th>
<th>{ts}Description{/ts}</th>
<th>{ts}Enabled?{/ts}</th>
<th>{ts}Default?{/ts}</th>
<th></th>
</tr>
{foreach from=$rows item=row}
<tr id="paymentProcessorType-{$row.id}" class="{cycle values="odd-row,even-row"} {$row.class} crm-entity {if NOT $row.is_active} disabled{/if}">
<td class="crm-paymentProcessorType-name">{$row.name}</td>
<td class="crm-paymentProcessorType-title crm-editable" data-field="title">{$row.title}</td>
<td class="crm-paymentProcessorType-description">{$row.description}</td>
<td id="row_{$row.id}_status" class="crm-paymentProcessorType-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td class="crm-paymentProcessorType-is_default">{if $row.is_default eq 1}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Default{/ts}" />{/if}&nbsp;</td>
<td>{$row.action}</td>
</tr>
{/foreach}
</table>
{/strip}
{if $action ne 1 and $action ne 2}
<div class="action-link">
<a href="{crmURL q="action=add&reset=1"}" id="newPaymentProcessor">&raquo; {ts}New Payment Processor{/ts}</a>
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
{/if}
</div>
</div>
{elseif $action ne 1}
<div class="messages status no-popup">
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
{ts}None found.{/ts}
</div>
{/if}
{/if}

View file

@ -0,0 +1,71 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright (C) 2011 Marty Wright |
| Licensed to CiviCRM under the Academic Free License version 3.0. |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{* this template is for configuring PDF Page Formats *}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/PdfFormats.tpl"}
{else}
<div class="help">
{capture assign="messageTemplatesURL"}{crmURL p="civicrm/admin/messageTemplates" q="reset=1"}{/capture}
{ts 1=$messageTemplatesURL}You can configure one or more PDF Page Formats for your CiviCRM installation. PDF Page Formats may be assigned to <strong><a href="%1">Message Templates</a></strong> to use when creating PDF letters.{/ts}
</div>
{if $rows}
<div id="ltype">
{strip}
<table id="pdfFormats" class="row-highlight">
<thead>
<tr class="columnheader">
<th>{ts}Name{/ts}</th>
<th>{ts}Description{/ts}</th>
<th >{ts}Default?{/ts}</th>
<th>{ts}Order{/ts}</th>
<th ></th>
</tr>
</thead>
{foreach from=$rows item=row}
<tr id="row_{$row.id}" class="crm-pdfFormat {cycle values="odd-row,even-row"} {$row.class}">
<td class="crm-pdfFormat-name">{$row.name}</td>
<td class="crm-pdfFormat-description">{$row.description}</td>
<td class="crm-pdfFormat-is_default">{if $row.is_default eq 1}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Default{/ts}" />{/if}&nbsp;</td>
<td class="crm-pdfFormat-order nowrap">{$row.weight}</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</table>
{/strip}
</div>
{else}
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
{ts}None found.{/ts}
</div>
{/if}
<div class="spacer"></div>
<div class="action-link">
{crmButton q="action=add&reset=1" id="newPdfFormat" icon="plus-circle"}{ts}Add PDF Page Format{/ts}{/crmButton}
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
{/if}

View file

@ -0,0 +1,61 @@
{foreach from=$rows item=template_row key=type}
{if $type eq 'configTemplates'}
<table class="report-layout">
<div class="action-link">
{crmButton p='civicrm/admin/tplstrings/add' q='reset=1&action=add' icon="plus-circle"}{ts}Add New String{/ts}{/crmButton}
</div>
{if !empty( $template_row) }
<tr>
<th>Context</th>
<th>Name</th>
<th>Data</th>
{if $editClass}
<th style="width: 10%"></th>
{/if}
</tr>
{foreach from=$template_row item=values}
<tr class="{cycle values="odd-row,even-row"}">
<td>{$values.context}</td>
<td>{$values.name}</td>
<td>{$values.data}</td>
{if $editClass}
<td>{$values.action}</td>
{/if}
</tr>
{/foreach}
{/if}
</table>
{/if}
{if $type eq 'customizeTemplates'}
<table class="report-layout">
<head>
<h1>Config String</h1>
</head>
<br/>
<div class="action-link">
{crmButton p='civicrm/admin/tplstrings/add' q='reset=1&action=add&config=1' icon="plus-circle"}{ts}Add New Config{/ts}{/crmButton}
</div>
<br/>
{if !empty( $template_row) }
<tr>
<th>Context</th>
<th>Name</th>
<th>Data</th>
{if $editClass}
<th style="width: 10%"></th>
{/if}
</tr>
{foreach from=$template_row item=values}
<tr class="{cycle values="odd-row,even-row"}">
<td>{$values.context}</td>
<td>{$values.name}</td>
<td>{$values.data}</td>
{if $editClass}
<td>{$values.action}</td>
{/if}
</tr>
{/foreach}
{/if}
</table>
{/if}
{/foreach}

View file

@ -0,0 +1,55 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/Admin/Form/PreferencesDate.tpl"}
{else}
<div class="help">
{capture assign=crmURL}{crmURL p='civicrm/admin/setting/date' q='action=reset=1'}{/capture}
{ts 1=$crmURL}Changing the parameters here affects the input and display for specific fields types. Setting the default date format for the entire site is a Localisation setting. See <a href="%1">Administer > Localization > Date Formats</a>{/ts}
</div>
<div class="form-item">
<table cellpadding="0" cellspacing="0" border="0">
<tr class="columnheader">
<th >{ts}Date Class{/ts}</th>
<th >{ts}Description{/ts}</th>
<th >{ts}Date Format{/ts}</th>
<th >{ts}Start Offset{/ts}</th>
<th >{ts}End Offset{/ts}</th>
<th ></th>
</tr>
{foreach from=$rows item=row}
<tr class="{cycle values="odd-row,even-row"} {$row.class}">
<td>{$row.name}</td>
<td>{$row.description}</td>
<td class="nowrap">{if !$row.date_format}{ts}Default{/ts}{else}{$row.date_format}{/if}</td>
<td align="right">{$row.start}</td>
<td align="right">{$row.end}</td>
<td><span>{$row.action|replace:'xx':$row.id}</span></td>
</tr>
{/foreach}
</table>
</div>
{/if}

View file

@ -0,0 +1,39 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{htxt id='id-relationship-types-title'}
{ts}Special Relationships{/ts}
{/htxt}
{htxt id='id-relationship-types'}
<p>
<em>{ts}Employee <-> Employer and Household relationships both have special characteristics.{/ts}</em>
</p>
<p>
{ts}<strong>Employee <-> Employer relationship</strong> is created anytime the 'Current Employer' field is filled in, either in the Contact Summary form or via a Profile. When filled in, it will create an Organisation if one does not already exist with that name.{/ts}
</p>
<p>
{ts}<strong>Household relationship</strong> enables household members to have the 'household address' applied to their record. Again, if a Household already exists then the individual will have a relationship created with it, if none exists then a new household will be created.{/ts}
</p>
{/htxt}

View file

@ -0,0 +1,88 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{capture assign=customURL}{crmURL p='civicrm/admin/custom/group' q="reset=1"}{/capture}
{capture assign=docLink}{docURL page="user/organising-your-data/relationships"}{/capture}
{if $action eq 1 or $action eq 2 or $action eq 4 or $action eq 8}
{include file="CRM/Admin/Form/RelationshipType.tpl"}
{else}
<div class="help">
<p>{ts}Relationship types describe relationships between people, households and organizations. Relationship types labels describe the relationship from the perspective of each of the two entities (e.g. Parent &gt;-&lt; Child, Employer &gt;-&lt; Employee). For some types of relationships, the labels may be the same in both directions (e.g. Spouse &gt;-&lt; Spouse).{/ts} {$docLink}</p>
<p>{ts 1=$customURL}You can define as many additional relationships types as needed to cover the types of relationships you want to track. Once a relationship type is created, you may also define custom fields to extend relationship information for that type from <a href='%1'>Administer CiviCRM &raquo; Custom Data</a>.{/ts}{help id='id-relationship-types'} </p>
</div>
{if $rows}
{if !($action eq 1 and $action eq 2)}
<div class="action-link">
{crmButton q="action=add&reset=1" class="newRelationshipType" icon="plus-circle"}{ts}Add Relationship Type{/ts}{/crmButton}
</div>
{/if}
<div id="ltype">
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
{include file="CRM/common/jsortable.tpl"}
<table id="options" class="display">
<thead>
<tr>
<th id="sortable">{ts}Relationship A to B{/ts}</th>
<th>{ts}Relationship B to A{/ts}</th>
<th>{ts}Contact Type A{/ts}</th>
<th>{ts}Contact Type B{/ts}</th>
<th>{ts}Enabled?{/ts}</th>
<th></th>
</tr>
</thead>
{foreach from=$rows item=row}
<tr id="relationship_type-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if} crm-relationship">
<td class="crm-relationship-label_a_b crm-editable" data-field="label_a_b">{$row.label_a_b}</td>
<td class="crm-relationship-label_b_a crm-editable" data-field="label_b_a">{$row.label_b_a}</td>
<td class="crm-relationship-contact_type_a_display">
{if $row.contact_type_a_display} {$row.contact_type_a_display}
{if $row.contact_sub_type_a} - {$row.contact_sub_type_a} {/if}{else} {ts}All Contacts{/ts} {/if} </td>
<td class="crm-relationship-contact_type_b_display">
{if $row.contact_type_b_display} {$row.contact_type_b_display}
{if $row.contact_sub_type_b} - {$row.contact_sub_type_b}{/if} {else} {ts}All Contacts{/ts} {/if} </td>
<td class="crm-relationship-is_active" id="row_{$row.id}_status">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td>{$row.action|replace:'xx':$row.id}</td>
</tr>
{/foreach}
</table>
{/strip}
</div>
{else}
<div class="messages status no-popup">
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
{ts}None found.{/ts}
</div>
{/if}
<div class="action-link">
{crmButton q="action=add&reset=1" class="newRelationshipType" icon="plus-circle"}{ts}Add Relationship Type{/ts}{/crmButton}
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
{/if}

View file

@ -0,0 +1,64 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{* this template is for configuring Scheduled Reminders Table*}
{strip}
{if $rows and is_array($rows)}
{include file="CRM/common/enableDisableApi.tpl"}
{include file="CRM/common/jsortable.tpl"}
{/if}
<table id="scheduleReminders" class="display">
<thead>
<tr id="options" class="columnheader">
<th class="sortable">{ts}Title{/ts}</th>
<th >{ts}Reminder For{/ts}</th>
<th >{ts}When{/ts}</th>
<th >{ts}While{/ts}</th>
<th >{ts}Repeat{/ts}</th>
<th >{ts}Active?{/ts}</th>
<th class="hiddenElement"></th>
<th ></th>
</tr>
</thead>
{if $rows and is_array($rows)}
{foreach from=$rows item=row}
<tr id="action_schedule-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
<td class="crm-scheduleReminders-title crm-editable" data-field="title">{$row.title}</td>
<td class="crm-scheduleReminders-value">{$row.entity} - {$row.value}</td>
<td class="crm-scheduleReminders-description">{if $row.absolute_date}{$row.absolute_date|crmDate}{else}{$row.start_action_offset}&nbsp;{$row.start_action_unit}{if $row.start_action_offset > 1}{ts}(s){/ts}{/if}&nbsp;{$row.start_action_condition}&nbsp;{$row.entityDate}{/if}</td>
<td class="crm-scheduleReminders-title">{$row.status}</td>
<td class="crm-scheduleReminders-is_repeat">{if $row.is_repeat eq 1}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}&nbsp;</td>
<td id="row_{$row.id}_status" class="crm-scheduleReminders-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td>{$row.action|replace:'xx':$row.id}</td>
<td class="hiddenElement"></td>
</tr>
{/foreach}
{else}
<tr><td colspan="8">{ts}No Scheduled Reminders have been created.{/ts}</td></tr>
{/if}
</table>
{/strip}

View file

@ -0,0 +1,52 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{htxt id="limit_to"}
<p>{ts}Select 'Limit to' if you want to only send reminders to contacts with the criteria selected above AND who ALSO match this criteria. If you select 'Choose Recipients' - only the chosen contacts will receive the reminder (AND only if they ALSO match the criteria above).{/ts}</p>
<p>{ts}Select 'Also include' if you want to also send reminders to contacts who match this criteria. If you select 'Choose Recipients' - the chosen contacts will also receive the reminder (in ADDITION TO the contacts who match the criteria above).{/ts}
{/htxt}
{htxt id="recipient"}
<p>{ts}For Activities, the reminder recipients can be contacts Assigned to the activity, contacts who created the activity (Activity Source), OR contacts whom the activity is with (Activity Targets). Alternatively you can direct the reminder to specific contacts (Choose Recipients), or to a group of contacts.{/ts}</p>
<p>{ts}For Events, you can limit or additionally include recipients by participant role (e.g. Volunteer, Speaker, etc.), choose specific contacts, or choose a group.{/ts}</p>
<p>{ts}For Membership and Contact reminders, you can limit or additionally include recipients by choosing specific contacts, or choosing a group.{/ts}</p>
{/htxt}
{htxt id="id-from_name_email-title"}
{ts}Specify FROM Name and Email{/ts}
{/htxt}
{htxt id="id-from_name_email"}
{ts}You can set the FROM name and email address for this reminder in these fields. If you leave these fields blank, the default FROM name and email address for your site will be used (Administer > Communications > FROM Email Addresses).{/ts}
{/htxt}
{htxt id="filter_contact_language"}
{ts}You can limit the recipient of the reminder to contacts with the specified preferred language. You can also choose to add contacts that have no preferred language defined.{/ts}
{/htxt}
{htxt id="communication_language"}
{ts}This is the communication language. If there are template translation or tokens, they will be localized accordingly. By default, the system default language will be used.{/ts}
{/htxt}

View file

@ -0,0 +1,61 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{* this template is for configuring Scheduled Reminders *}
{if $setTab eq 1}
{if $component eq 'event'}
{include file="CRM/Event/Form/ManageEvent/Tab.tpl"}
{/if}
{else}
{if $action eq 1 or $action eq 2 or $action eq 8 or $action eq 16384}
{include file="CRM/Admin/Form/ScheduleReminders.tpl"}
{else}
{if !$component}
{capture assign=schedRemindersDocLink}{docURL page="user/email/scheduled-reminders/"}{/capture}
<div class="help">
{ts}Scheduled reminders allow you to automatically send messages to contacts regarding their memberships, participation in events, or other activities.{/ts} {$schedRemindersDocLink}
</div>
{/if}
{if $rows}
<div id="reminder">
{include file="CRM/Admin/Page/Reminders.tpl"}
</div>
{else}
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
{ts}None found.{/ts}
</div>
{/if}
<div class="action-link">
{assign var='link' value="civicrm/admin/scheduleReminders"}
{if $component}
{assign var='urlParams' value="action=add&context=$component&compId=$id&reset=1"}
{else}
{assign var='urlParams' value="action=add&reset=1"}
{/if}
{crmButton p=$link q=$urlParams id="newScheduleReminder" icon="plus-circle"}{ts}Add Reminder{/ts}{/crmButton}
</div>
{/if}
{/if}

View file

@ -0,0 +1,100 @@
{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{capture assign=docLink}{docURL page="user/initial-set-up/customizing-the-user-interface" text="Administration Documentation"}{/capture}
<div class="help">
{ts 1=$docLink}Use the links below to configure or modify the global settings for CiviCRM for this site. Refer to the %1 for details on settings and options.{/ts}
</div>
<table class="report">
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/component' q='reset=1'}" id="idComponents">&raquo; {ts}Enable Components{/ts}</a></td>
<td>{ts}Enable CiviContribute, CiviPledge, CiviEvent, CiviMember, CiviMail, CiviCase, CiviReport and/or CiviGrant components.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/preferences/display' q='reset=1'}" id="idPreferences">&raquo; {ts}Site Preferences{/ts}</a></td>
<td>{ts}Configure screen and form elements for Viewing Contacts, Editing Contacts, Advanced Search, Contact Dashboard and WYSIWYG Editor.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/path' q='reset=1'}" id="idPath">&raquo; {ts}Directories{/ts}</a></td>
<td>{ts}Configure directories in your file system for temporary uploads, images, custom files and custom templates.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/url' q='reset=1'}" id="idUrls">&raquo; {ts}Resource URLs{/ts}</a></td>
<td>{ts}URLs used to access CiviCRM resources (CSS files, Javascript files, images, etc.). Enable secure URLs.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/smtp' q='reset=1'}" id="idSMTP">&raquo; {ts}Outbound Email (SMTP/Sendmail){/ts}</a></td>
<td>{ts}Settings for outbound email - either SMTP server, port and authentication or Sendmail path and argument.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/mapping' q='reset=1'}" id="idMapping">&raquo; {ts}Mapping and Geocoding{/ts}</a></td>
<td>{ts}Configure a mapping provider (e.g. Google or Yahoo) to display maps for contact addresses and event locations.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/paymentProcessor' q='reset=1'}" id="idPayments">&raquo; {ts}Payment Processors{/ts}</a></td>
<td>{ts}Select and configure one or more payment processing services for online contributions, events and / or membership fees.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/localization' q='reset=1'}" id="idLocale">&raquo; {ts}Localization{/ts}</a></td>
<td>{ts}Localization settings include user language, default currency and available countries for address input.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/preferences/address' q='reset=1'}" id="idAddress">&raquo; {ts}Address Settings{/ts}</a></td>
<td>{ts}Format addresses in mailing labels, input forms and screen display. Configure optional Address Standardization provider.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/search' q='reset=1'}" id="idMisc">&raquo; {ts}Search Settings{/ts}</a></td>
<td>{ts}Configure Contact Search behavior.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/date' q='reset=1'}" id="idDates">&raquo; {ts}Date Formats{/ts}</a></td>
<td>{ts}Configure input and display formats for Date fields.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/uf' q='reset=1'}" id="idUF">&raquo; {ts 1=$config->userFramework}%1 Integration Settings{/ts}</a></td>
<td>{ts 1=$config->userFramework}%1 version and user table name.{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/misc' q='reset=1'}" id="idMisc">&raquo; {ts}Miscellaneous Settings{/ts}</a></td>
<td>{ts}Dashboard caching time, move to trash / undelete, change logging, version checking and reCAPTCHA (prevents automated abuse of public forms).{/ts}</td>
</tr>
<tr>
<td class="nowrap"><a href="{crmURL p='civicrm/admin/setting/debug' q='reset=1'}" id="idDebug">&raquo; {ts}Debugging{/ts}</a></td>
<td>{ts}Enable debugging features including display of template variables and backtracing.{/ts}</td>
</tr>
</table>