First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
|
@ -0,0 +1,38 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 synchronizing CMS user*}
|
||||
<div class="crm-block crm-form-block crm-cms-user-form-block">
|
||||
<div class="help">
|
||||
<p>{ts 1=$config->userFramework}Synchronize %1 Users{/ts}</p>
|
||||
</div>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<div class="messages status no-popup">
|
||||
<img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
|
||||
<span class="label">{ts}Synchronize Users to Contacts:{/ts}</span> {ts}CiviCRM will check each user record for a contact record. A new contact record will be created for each user where one does not already exist.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for adding/editing Contact Type *}
|
||||
|
||||
<div class="crm-block crm-form-block crm-contact-type-form-block">
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}WARNING: {ts}This action cannot be undone.{/ts} {ts}Do you want to continue?{/ts}{/ts}
|
||||
</div>
|
||||
{else}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-contact-type-form-block-label">
|
||||
<td class="label">{$form.label.label}
|
||||
{if $action eq 2}
|
||||
{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contact_type' field='label' id= $cid }
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
<td>{$form.label.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-contact-type-form-block-parent_id">
|
||||
<td class="label">{$form.parent_id.label}</td>
|
||||
{if $is_parent OR $action EQ 1}
|
||||
<td>{$form.parent_id.html}</td>
|
||||
{else}
|
||||
<td>{ts}{$contactTypeName}{/ts} {ts}(built-in){/ts}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr class="crm-contact-type-form-block-image_URL">
|
||||
<td class="label">{$form.image_URL.label} {help id="id-image_URL"}</td>
|
||||
<td>{$form.image_URL.html|crmAddClass:'huge40'}</td>
|
||||
</tr>
|
||||
<tr class="crm-contact-type-form-block-description">
|
||||
<td class="label">{$form.description.label}
|
||||
{if $action eq 2}
|
||||
{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contact_type' field='description' id= $cid}
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
<td>{$form.description.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-contact-type-form-block-is_active">
|
||||
<td class="label">{$form.is_active.label}</td><td>{$form.is_active.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -0,0 +1,51 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for install /uninstall extensions *}
|
||||
<h3>{$title}</h3>
|
||||
<div class="crm-block crm-form-block crm-admin-optionvalue-form-block">
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}WARNING: Uninstalling this extension might result in the loss of all records which use the extension.{/ts} {ts}This may mean the loss of a substantial amount of data, and the action cannot be undone. Please review the extension information below before you make final decision.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
{/if}
|
||||
{if $action eq 1}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}Installing this extension will provide you with new functionality. Please make sure that the extension you're installing comes from a trusted source.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
{/if}
|
||||
{if $action eq 2}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}Downloading this extension will provide you with new functionality. Please make sure that the extension you're installing or upgrading comes from a trusted source.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
{/if}
|
||||
{if $action eq 8 or $action eq 1 or $action eq 2}
|
||||
{include file="CRM/Admin/Page/ExtensionDetails.tpl"}
|
||||
{/if}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
123
sites/all/modules/civicrm/templates/CRM/Admin/Form/Job.tpl
Normal file
123
sites/all/modules/civicrm/templates/CRM/Admin/Form/Job.tpl
Normal file
|
@ -0,0 +1,123 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for adding/configuring Scheduled Jobs. *}
|
||||
<h3>{if $action eq 1}{ts}New Scheduled Job{/ts}{elseif $action eq 2}{ts}Edit Scheduled Job{/ts}{elseif $action eq 128}{ts}Execute Scheduled Job{/ts}{else}{ts}Delete Scheduled Job{/ts}{/if}</h3>
|
||||
<div class="crm-block crm-form-block crm-job-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}WARNING: Deleting this Scheduled Job will cause some important site functionality to stop working.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
{elseif $action eq 128}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}Are you sure you would like to execute this job?{/ts}
|
||||
</div>
|
||||
{else}
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-job-form-block-name">
|
||||
<td class="label">{$form.name.label}</td><td>{$form.name.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-job-form-block-description">
|
||||
<td class="label">{$form.description.label}</td><td>{$form.description.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-job-form-block-run_frequency">
|
||||
<td class="label">{$form.run_frequency.label}</td><td>{$form.run_frequency.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-job-form-block-api_action">
|
||||
<td class="label">{ts}API call:{/ts}</td>
|
||||
<td>
|
||||
|
||||
<div id="fname"><br/>
|
||||
</div>
|
||||
<select name="api_entity" type="text" id="api_entity" class="crm-form-select required">
|
||||
{crmAPI entity="Entity" var="entities"}
|
||||
{foreach from=$entities.values item=entity}
|
||||
<option value="{$entity}"{if $entity eq $form.api_entity.value} selected="selected"{/if}>{$entity}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{$form.api_action.html}
|
||||
|
||||
<div class="description">{ts}Put in the API method name. You need to enter pieces of full API function name as described in the documentation.{/ts}</div>
|
||||
<script>
|
||||
{literal}
|
||||
CRM.$(function($) {
|
||||
function assembleName( ) {
|
||||
|
||||
// dunno yet
|
||||
var apiName = "";
|
||||
|
||||
// building prefix
|
||||
if( $('#api_action').val() == '' ) {
|
||||
$('#fname').html( "<em>API name will start appearing here as you type in fields below.</em>" );
|
||||
return;
|
||||
}
|
||||
|
||||
var apiPrefix = 'api'
|
||||
|
||||
// building entity
|
||||
var apiEntity = $('#api_entity').val().replace( /([A-Z])/g, function($1) {
|
||||
return $1.toLowerCase();
|
||||
});
|
||||
// building action
|
||||
var apiAction = $('#api_action').val().replace(/(\_[a-z])/g, function($1) {return $1.toUpperCase().replace('_','');});
|
||||
apiName = apiPrefix + '.' + apiEntity + '.' + apiAction;
|
||||
$('#fname').text( apiName );
|
||||
}
|
||||
|
||||
// bind to different events to build API name live
|
||||
$('#api_entity').change(assembleName)
|
||||
$('#api_action').change(assembleName).keyup(assembleName);
|
||||
assembleName();
|
||||
});
|
||||
|
||||
{/literal}
|
||||
</script>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-job-form-block-parameters">
|
||||
<td class="label">{$form.parameters.label}<br />{docURL page="Managing Scheduled Jobs" resource="wiki"}</td>
|
||||
<td>{$form.parameters.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-job-form-block-scheduled-run-date">
|
||||
<td class="label">{$form.scheduled_run_date.label}</td>
|
||||
<td>{$form.scheduled_run_date.html}<br />
|
||||
<div dlass="description">{ts}Do not run this job before this date / time. The run frequency selected above will apply thereafter.{/ts}<br />
|
||||
{if $action eq 1}{ts}Leave blank to run as soon as possible.{/ts}{else}{ts}Leave blank to run at next run frequency.{/ts}{/if}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-job-form-block-is_active">
|
||||
<td></td><td>{$form.is_active.html} {$form.is_active.label}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for adding/configuring Label Formats. *}
|
||||
<div class="crm-block crm-form-block crm-labelFormat-form-block">
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts 1=$formatName}WARNING: You are about to delete the Label Format titled <strong>%1</strong>.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
{elseif $action eq 16384}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts 1=$formatName}Are you sure you would like to make a copy of the Label Format titled <strong>%1</strong>?{/ts}
|
||||
</div>
|
||||
{else}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-labelFormat-form-block-name">
|
||||
<td class="right">{$form.label.label}</td>
|
||||
<td colspan="3">{$form.label.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-labelFormat-form-block-description">
|
||||
<td class="right">{$form.description.label}</td>
|
||||
<td colspan="3">{$form.description.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-labelFormat-form-block-is_default">
|
||||
<td> </td>
|
||||
<td colspan="3">{$form.is_default.html} {$form.is_default.label}</td>
|
||||
</tr>
|
||||
<!--tr class="crm-labelFormat-form-block-label_type">
|
||||
<td class="right">{$form.label_type.label}</td>
|
||||
<td colspan="3">{$form.label_type.html}</td>
|
||||
</tr-->
|
||||
<tr>
|
||||
<td class="right">{$form.paper_size.label}</td>
|
||||
<td>{$form.paper_size.html}</td>
|
||||
<td class="right">{$form.font_name.label}</td>
|
||||
<td>{$form.font_name.html}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.orientation.label}</td>
|
||||
<td>{$form.orientation.html}</td>
|
||||
<td class="right">{$form.font_size.label}</td>
|
||||
<td>{$form.font_size.html}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.metric.label}</td>
|
||||
<td>{$form.metric.html}</td>
|
||||
<td class="right">{$form.font_style.label}</td>
|
||||
<td>{$form.bold.html} {$form.bold.label} {$form.italic.html} {$form.italic.label}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.paper_dimensions.html}</td>
|
||||
<td colspan="3" id="paper_dimensions"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.NX.label}</td>
|
||||
<td>{$form.NX.html}</td>
|
||||
<td class="right">{$form.NY.label}</td>
|
||||
<td>{$form.NY.html}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.lMargin.label}</td>
|
||||
<td>{$form.lMargin.html}</td>
|
||||
<td class="right">{$form.tMargin.label}</td>
|
||||
<td>{$form.tMargin.html}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.width.label}</td>
|
||||
<td>{$form.width.html}</td>
|
||||
<td class="right">{$form.height.label}</td>
|
||||
<td>{$form.height.html}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.SpaceX.label}</td>
|
||||
<td>{$form.SpaceX.html}<br/><span class="description">{ts}Space between labels.{/ts}</span></td>
|
||||
<td class="right">{$form.SpaceY.label}</td>
|
||||
<td>{$form.SpaceY.html}<br/><span class="description">{ts}Space between labels.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.lPadding.label}</td>
|
||||
<td>{$form.lPadding.html}<br/><span class="description">{ts}Pad inside each label.{/ts}</span></td>
|
||||
<td class="right">{$form.tPadding.label}</td>
|
||||
<td>{$form.tPadding.html}<br/><span class="description">{ts}Pad inside each label.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-labelFormat-form-block-weight">
|
||||
<td class="right">{$form.weight.label}</td>
|
||||
<td colspan="3">{$form.weight.html}
|
||||
<div class="description">{ts}Weight controls the order in which Label Formats are displayed in selection lists. Enter a positive or negative integer. Lower numbers are displayed ahead of higher numbers.{/ts}</div>
|
||||
</tr>
|
||||
</table>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
var currentWidth;
|
||||
var currentHeight;
|
||||
var currentMetric = document.getElementById('metric').value;
|
||||
selectPaper(document.getElementById('paper_size').value);
|
||||
|
||||
function selectPaper(val) {
|
||||
dataUrl = {/literal}"{crmURL p='civicrm/ajax/paperSize' h=0 }"{literal};
|
||||
cj.post(dataUrl, {paperSizeName: val}, function (data) {
|
||||
cj("#paper_size").val(data.name);
|
||||
metric = document.getElementById('metric').value;
|
||||
currentWidth = convertMetric(data.width, data.metric, metric);
|
||||
currentHeight = convertMetric(data.height, data.metric, metric);
|
||||
updatePaperDimensions();
|
||||
}, 'json');
|
||||
}
|
||||
|
||||
function selectMetric(metric) {
|
||||
convertField('tMargin', currentMetric, metric);
|
||||
convertField('lMargin', currentMetric, metric);
|
||||
convertField('width', currentMetric, metric);
|
||||
convertField('height', currentMetric, metric);
|
||||
convertField('SpaceX', currentMetric, metric);
|
||||
convertField('SpaceY', currentMetric, metric);
|
||||
convertField('lPadding', currentMetric, metric);
|
||||
convertField('tPadding', currentMetric, metric);
|
||||
currentWidth = convertMetric(currentWidth, currentMetric, metric);
|
||||
currentHeight = convertMetric(currentHeight, currentMetric, metric);
|
||||
updatePaperDimensions();
|
||||
}
|
||||
|
||||
function updatePaperDimensions() {
|
||||
metric = document.getElementById('metric').value;
|
||||
width = new String(currentWidth.toFixed(2));
|
||||
height = new String(currentHeight.toFixed(2));
|
||||
if (document.getElementById('orientation').value == 'landscape') {
|
||||
width = new String(currentHeight.toFixed(2));
|
||||
height = new String(currentWidth.toFixed(2));
|
||||
}
|
||||
document.getElementById('paper_dimensions').innerHTML = parseFloat(width) + ' ' + metric + ' x ' + parseFloat(height) + ' ' + metric;
|
||||
currentMetric = metric;
|
||||
}
|
||||
|
||||
function convertField(id, from, to) {
|
||||
val = document.getElementById(id).value;
|
||||
if (val == '' || isNaN(val)) {
|
||||
return;
|
||||
}
|
||||
val = convertMetric(val, from, to);
|
||||
val = new String(val.toFixed(3));
|
||||
document.getElementById(id).value = parseFloat(val);
|
||||
}
|
||||
|
||||
function convertMetric(value, from, to) {
|
||||
switch (from + to) {
|
||||
case 'incm':
|
||||
return value * 2.54;
|
||||
case 'inmm':
|
||||
return value * 25.4;
|
||||
case 'inpt':
|
||||
return value * 72;
|
||||
case 'cmin':
|
||||
return value / 2.54;
|
||||
case 'cmmm':
|
||||
return value * 10;
|
||||
case 'cmpt':
|
||||
return value * 72 / 2.54;
|
||||
case 'mmin':
|
||||
return value / 25.4;
|
||||
case 'mmcm':
|
||||
return value / 10;
|
||||
case 'mmpt':
|
||||
return value * 72 / 25.4;
|
||||
case 'ptin':
|
||||
return value / 72;
|
||||
case 'ptcm':
|
||||
return value * 2.54 / 72;
|
||||
case 'ptmm':
|
||||
return value * 25.4 / 72;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -0,0 +1,65 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for adding/editing location type *}
|
||||
<div class="crm-block crm-form-block crm-location-type-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}WARNING: Deleting this option will result in the loss of all location type records which use the option.{/ts} {ts}This may mean the loss of a substantial amount of data, and the action cannot be undone.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
{else}
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-location-type-form-block-label">
|
||||
<td class="label">{$form.name.label}</td>
|
||||
<td>{$form.name.html}<br />
|
||||
<span class="description">{ts}WARNING: Do NOT use spaces in the Location Name.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-location-type-form-block-display_name">
|
||||
<td class="label">{$form.display_name.label}</td>
|
||||
<td>{$form.display_name.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-location-type-form-block-vcard_name">
|
||||
<td class="label">{$form.vcard_name.label}</td>
|
||||
<td>{$form.vcard_name.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-location-type-form-block-description">
|
||||
<td class="label">{$form.description.label}</td>
|
||||
<td>{$form.description.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-location-type-form-block-is_active">
|
||||
<td class="label">{$form.is_active.label}</td>
|
||||
<td>{$form.is_active.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-location-type-form-block-is_default">
|
||||
<td class="label">{$form.is_default.label}</td>
|
||||
<td>{$form.is_default.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -0,0 +1,86 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for adding/editing email settings. *}
|
||||
<div class="crm-block crm-form-block crm-mail-settings-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}WARNING: Deleting this option will result in the loss of mail settings data.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
{else}
|
||||
<table class="form-layout-compressed">
|
||||
|
||||
<tr class="crm-mail-settings-form-block-name"><td class="label">{$form.name.label}</td><td>{$form.name.html}</td></tr>
|
||||
<tr><td class="label"> </td><td class="description">{ts}Name of this group of settings.{/ts}</td></tr>
|
||||
|
||||
<tr class="crm-mail-settings-form-block-server"><td class="label">{$form.server.label}</td><td>{$form.server.html}</td></tr>
|
||||
<tr><td class="label"> </td><td class="description">{ts}Name or IP address of mail server machine.{/ts}</td></tr>
|
||||
|
||||
<tr class="crm-mail-settings-form-block-username"><td class="label">{$form.username.label}</td><td>{$form.username.html}</td></tr>
|
||||
<tr><td class="label"> </td><td class="description">{ts}Username to use when polling (for IMAP and POP3).{/ts}</td></tr>
|
||||
|
||||
<tr class="crm-mail-settings-form-block-password"><td class="label">{$form.password.label}</td><td>{$form.password.html}</td></tr>
|
||||
<tr><td class="label"> </td><td class="description">{ts}Password to use when polling (for IMAP and POP3).{/ts}</td></tr>
|
||||
|
||||
<tr class="crm-mail-settings-form-block-localpart"><td class="label">{$form.localpart.label}</td><td>{$form.localpart.html}</td></tr>
|
||||
<tr><td class="label"> </td><td class="description">{ts}Optional local part (e.g., 'civimail+' for addresses like civimail+s.1.2@example.com).{/ts}</td></tr>
|
||||
|
||||
<tr class="crm-mail-settings-form-block-domain"><td class="label">{$form.domain.label}</td><td>{$form.domain.html}</td></tr>
|
||||
<tr><td class="label"> </td><td class="description">{ts}Email address domain (the part after @).{/ts}</td></tr>
|
||||
|
||||
<tr class="crm-mail-settings-form-block-return_path"><td class="label">{$form.return_path.label}</td><td>{$form.return_path.html}</td><tr>
|
||||
<tr><td class="label"> </td><td class="description">{ts}Contents of the Return-Path header.{/ts}</td></tr>
|
||||
|
||||
<tr class="crm-mail-settings-form-block-protocol"><td class="label">{$form.protocol.label}</td><td>{$form.protocol.html}</td></tr>
|
||||
<tr><td class="label"> </td><td class="description">{ts}Name of the protocol to use for polling.{/ts}</td></tr>
|
||||
|
||||
<tr class="crm-mail-settings-form-block-source"><td class="label">{$form.source.label}</td><td>{$form.source.html}</td></tr>
|
||||
<tr><td class="label"> </td><td class="description">{ts}Folder to poll from when using IMAP (will default to INBOX when empty), path to poll from when using Maildir, etc..{/ts}</td></tr>
|
||||
|
||||
<tr class="crm-mail-settings-form-block-is_ssl"><td class="label">{$form.is_ssl.label}</td><td>{$form.is_ssl.html}</td></tr>
|
||||
<tr><td class="label"> </td><td class="description">{ts}Whether to use SSL for IMAP and POP3 or not.{/ts}</td></tr>
|
||||
|
||||
<tr class="crm-mail-settings-form-block-is_default"><td class="label">{$form.is_default.label}</td><td>{$form.is_default.html}</td></tr>
|
||||
<tr><td class="label"> </td><td class="description">{ts}How this mail account will be used. Only one box may be used for bounce processing. It will also be used as the envelope email when sending mass mailings.{/ts}</td></tr>
|
||||
|
||||
<tr class="crm-mail-settings-form-block-activity_status"><td class="label">{$form.activity_status.label}</td><td>{$form.activity_status.html}</td></tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
{/if}
|
||||
</div>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
CRM.$(function($) {
|
||||
var $form = $('form.{/literal}{$form.formClass}{literal}');
|
||||
function showActivityStatus() {
|
||||
$('.crm-mail-settings-form-block-activity_status', $form).toggle($(this).val() === '0');
|
||||
}
|
||||
$('select[name=is_default]').each(showActivityStatus).change(showActivityStatus);
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
|
@ -0,0 +1,53 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for adding/editing a saved mapping *}
|
||||
<div class="crm-block crm-form-block crm-mapping-form-block">
|
||||
{if $action eq 1 or $action eq 2 }
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-mapping-form-block-name">
|
||||
<td class="label">{$form.name.label}</td>
|
||||
<td>{$form.name.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-mapping-form-block-description">
|
||||
<td class="label">{$form.description.label}</td>
|
||||
<td>{$form.description.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-mapping-form-block-mapping_type_id">
|
||||
<td class="label">{$form.mapping_type_id.label}</td>
|
||||
<td>{$form.mapping_type_id.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts 1=$mappingName}WARNING: Are you sure you want to delete mapping '<b>%1</b>'?{/ts} {ts}This action cannot be undone.{/ts}
|
||||
</div>
|
||||
<br />
|
||||
{/if}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" loaction="bottom"}</div>
|
||||
<div class="spacer"></div>
|
||||
</div>
|
|
@ -0,0 +1,179 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for adding/editing/deleting Message Templates *}
|
||||
{capture assign=tokenDocsRepeated}{docURL page="user/common-workflows/tokens-and-mail-merge" text="token documentation"}{/capture}
|
||||
|
||||
<h3>{if $action eq 1}{ts}New Message Template{/ts}{elseif $action eq 2}{ts}Edit Message Template{/ts}{else}{ts}Delete Message Template{/ts}{/if}</h3>
|
||||
{if $action neq 8}
|
||||
<div class="help">
|
||||
{ts}Use this form to add or edit re-usable message templates.{/ts} {help id="id-intro" file="CRM/Admin/Page/MessageTemplates.hlp"}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="crm-block crm-form-block">
|
||||
<div class="form-item" id="message_templates">
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}Do you want to delete this message template?{/ts}
|
||||
</div>
|
||||
{else}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout-compressed">
|
||||
<tr>
|
||||
<td class="label-left">{$form.msg_title.label}</td>
|
||||
<td>{$form.msg_title.html}
|
||||
<br /><span class="description html-adjust">{ts}Descriptive title of message - used for template selection.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label-left">{$form.file_type.label}</td>
|
||||
<td>{$form.file_type.html}
|
||||
<br /><span class="description html-adjust">{ts}Compose a message on-screen for general use in emails or document output, or upload a pre-composed document for mail-merge.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label-left">{$form.msg_subject.label}</td>
|
||||
<td>
|
||||
{$form.msg_subject.html|crmAddClass:huge}
|
||||
<input class="crm-token-selector big" data-field="msg_subject" />
|
||||
{help id="id-token-subject" tplFile=$tplFile isAdmin=$isAdmin file="CRM/Contact/Form/Task/Email.hlp"}
|
||||
<br /><span class="description">{ts}Subject for email message.{/ts} {ts 1=$tokenDocsRepeated}Tokens may be included (%1).{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label-left">{$form.file_id.label}</td>
|
||||
<td>{$form.file_id.html}
|
||||
{if $attachment}
|
||||
{foreach from=$attachment key=attKey item=attVal}
|
||||
<div class="crm-attachment-wrapper crm-entity" id="file_{$attVal.fileID}">
|
||||
<strong><a class="crm-attachment" href="{$attVal.url}">{$attVal.cleanName}</a></strong>
|
||||
{if $attVal.description} - {$attVal.description}{/if}
|
||||
{if $attVal.deleteURLArgs}
|
||||
<a href="#" class="crm-hover-button delete-attachment" data-mimetype="{$attVal.mime_type}" data-filename="{$attVal.cleanName}" data-args="{$attVal.deleteURLArgs}" title="{ts}Delete File{/ts}"><span class="icon delete-icon"></span></a>
|
||||
{/if}
|
||||
{include file="CRM/Form/attachmentjs.tpl" context='MessageTemplate'}
|
||||
{/foreach}
|
||||
{/if}
|
||||
<br /><span class="description html-adjust">{ts}Upload the document in .docx or .odt format.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</table>
|
||||
|
||||
<div id="msg_html_section" class="crm-accordion-wrapper crm-html_email-accordion ">
|
||||
<div class="crm-accordion-header">
|
||||
{ts}HTML Format{/ts}
|
||||
{help id="id-message-text" file="CRM/Contact/Form/Task/Email.hlp"}
|
||||
</div><!-- /.crm-accordion-header -->
|
||||
<div class="crm-accordion-body">
|
||||
<div class="helpIcon" id="helphtml">
|
||||
<input class="crm-token-selector big" data-field="msg_html" />
|
||||
{help id="id-token-html" tplFile=$tplFile isAdmin=$isAdmin file="CRM/Contact/Form/Task/Email.hlp"}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class='html'>
|
||||
{$form.msg_html.html}
|
||||
<div class="description">{ts}An HTML formatted version of this message will be sent to contacts whose Email Format preference is 'HTML' or 'Both'.{/ts} {ts 1=$tokenDocsRepeated}Tokens may be included (%1).{/ts}</div>
|
||||
</div>
|
||||
</div><!-- /.crm-accordion-body -->
|
||||
</div><!-- /.crm-accordion-wrapper -->
|
||||
|
||||
<div id="msg_text_section" class="crm-accordion-wrapper crm-plaint_text_email-accordion ">
|
||||
<div class="crm-accordion-header">
|
||||
{ts}Plain-Text Format{/ts}
|
||||
</div><!-- /.crm-accordion-header -->
|
||||
<div class="crm-accordion-body">
|
||||
<div class="helpIcon" id="helptext">
|
||||
<input class="crm-token-selector big" data-field="msg_text" />
|
||||
{help id="id-token-text" tplFile=$tplFile file="CRM/Contact/Form/Task/Email.hlp"}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class='text'>
|
||||
{$form.msg_text.html|crmAddClass:huge}
|
||||
<div class="description">{ts}Text formatted message.{/ts} {ts 1=$tokenDocsRepeated}Tokens may be included (%1).{/ts}</div>
|
||||
</div>
|
||||
</div><!-- /.crm-accordion-body -->
|
||||
</div><!-- /.crm-accordion-wrapper -->
|
||||
|
||||
<div id="pdf_format" class="crm-accordion-wrapper crm-html_email-accordion ">
|
||||
<div class="crm-accordion-header">
|
||||
{$form.pdf_format_id.label}
|
||||
</div><!-- /.crm-accordion-header -->
|
||||
<div class="crm-accordion-body">
|
||||
<div class="spacer"></div>
|
||||
<div class='html'>
|
||||
{$form.pdf_format_id.html}
|
||||
{help id="id-msg-template" file="CRM/Contact/Form/Task/PDFLetterCommon.hlp"}
|
||||
<div class="description">{ts}Page format to use when creating PDF files using this template.{/ts}</div>
|
||||
</div>
|
||||
</div><!-- /.crm-accordion-body -->
|
||||
</div><!-- /.crm-accordion-wrapper -->
|
||||
|
||||
{if !$workflow_id}
|
||||
<table class="form-layout-compressed">
|
||||
<tr>
|
||||
<td class="label-left">{$form.is_active.label}</td>
|
||||
<td>{$form.is_active.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
{/if}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
<br clear="all" />
|
||||
</div>
|
||||
</div> <!-- end of crm-form-block -->
|
||||
{include file="CRM/Mailing/Form/InsertTokens.tpl"}
|
||||
|
||||
{literal}
|
||||
<script type='text/javascript'>
|
||||
CRM.$(function($) {
|
||||
var mimeType = null;
|
||||
// if default file is selected then hide the file upload field
|
||||
if ($('a.delete-attachment').length) {
|
||||
$('#file_id').hide();
|
||||
mimeType = $('a.delete-attachment').data('mimetype');
|
||||
}
|
||||
|
||||
var selector = $("input[id$='_file_type']").attr('type') == 'radio' ? "input[id$='_file_type']:checked" : "input[id$='_file_type']";
|
||||
showHideUpload($(selector).val());
|
||||
$("input[id$='_file_type']").on('click', function(){
|
||||
showHideUpload(this.value);
|
||||
});
|
||||
function showHideUpload(type) {
|
||||
var show = (type == 1) ? false : true;
|
||||
$("#msg_html_section, #msg_text_section, #pdf_format").toggle(show);
|
||||
$("#file_id").parent().parent().toggle(!show);
|
||||
|
||||
// auto file type validation
|
||||
if (type) {
|
||||
var validType = 'application/vnd.oasis.opendocument.text, application/vnd.openxmlformats-officedocument.wordprocessingml.document';
|
||||
$("#file_id").attr('accept', validType);
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
|
@ -0,0 +1,66 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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-menu_url-title"}
|
||||
{ts}Destination{/ts}
|
||||
{/htxt}
|
||||
{htxt id="id-menu_url"}
|
||||
{ts}Enter the destination URL. Generally you should use relative URLs for CiviCRM pages (e.g. links to profiles). Use complete URLs for external pages. Leave this field empty if you are creating a menu section that does not have a clickable destination.{/ts}
|
||||
{/htxt}
|
||||
|
||||
{htxt id="id-menu_icon-title"}
|
||||
{ts}Icon{/ts}
|
||||
{/htxt}
|
||||
{htxt id="id-menu_icon"}
|
||||
{ts}Select an icon to appear to the left side of the navigation menu item.{/ts}
|
||||
{/htxt}
|
||||
|
||||
{htxt id="id-parent-title"}
|
||||
{ts}Parent Section{/ts}
|
||||
{/htxt}
|
||||
{htxt id="id-parent"}
|
||||
{ts}Select the menu item corresponding to the section this item should be placed in. If this is a top-level menu, leave this field empty.{/ts}
|
||||
{/htxt}
|
||||
|
||||
{htxt id="id-has_separator-title"}
|
||||
{ts}Separators{/ts}
|
||||
{/htxt}
|
||||
{htxt id="id-has_separator"}
|
||||
{ts}Check this box to add a separator line between this menu item and the one below it.{/ts}
|
||||
{/htxt}
|
||||
|
||||
{htxt id="id-menu_permission-title"}
|
||||
{ts}Permissions{/ts}
|
||||
{/htxt}
|
||||
{htxt id="id-menu_permission"}
|
||||
{ts}You can assign one or more permissions to this menu item. Multiple permissions are additive by default. EXAMPLE: If you assign <em>access CiviContribute</em> and <em>administer CiviCRM</em> to a menu item, a user will need to have BOTH permissions to access it. You can change this behavior to "either / or" by changing the Operator below.{/ts}
|
||||
{/htxt}
|
||||
|
||||
{htxt id="id-permission_operator-title"}
|
||||
{ts}Permission Operator{/ts}
|
||||
{/htxt}
|
||||
{htxt id="id-permission_operator"}
|
||||
{ts}Set the Operator to "OR" if you've assigned multiple permissions and want access to be granted for any one of them. EXAMPLE: If you assign <em>access CiviContribute</em> and <em>administer CiviCRM</em> to a menu item, and set the Operator to "OR", users who have either of those permissions will have access.{/ts}
|
||||
{/htxt}
|
|
@ -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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{* Template for adding/editing a CiviCRM Navigation Menu Item *}
|
||||
<div class="crm-block crm-form-block crm-navigation-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-navigation-form-block-label">
|
||||
<td class="label">{$form.label.label}</td><td>{$form.label.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-navigation-form-block-url">
|
||||
<td class="label">{$form.url.label} {help id="id-menu_url" file="CRM/Admin/Form/Navigation.hlp"}</td>
|
||||
<td>{$form.url.html} </td>
|
||||
</tr>
|
||||
<tr class="crm-navigation-form-block-icon">
|
||||
<td class="label">{$form.icon.label} {help id="id-menu_icon" file="CRM/Admin/Form/Navigation.hlp"}</td>
|
||||
<td>{$form.icon.html} </td>
|
||||
</tr>
|
||||
{if $form.parent_id.html}
|
||||
<tr class="crm-navigation-form-block-parent_id">
|
||||
<td class="label">{$form.parent_id.label} {help id="id-parent" file="CRM/Admin/Form/Navigation.hlp"}</td>
|
||||
<td>{$form.parent_id.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="crm-navigation-form-block-has_separator">
|
||||
<td class="label">{$form.has_separator.label} {help id="id-has_separator" file="CRM/Admin/Form/Navigation.hlp"}</td>
|
||||
<td>{$form.has_separator.html} </td>
|
||||
</tr>
|
||||
<tr class="crm-navigation-form-block-permission">
|
||||
<td class="label">{$form.permission.label} {help id="id-menu_permission" file="CRM/Admin/Form/Navigation.hlp"}</td>
|
||||
<td>{$form.permission.html} <span class="permission_operator_wrapper">{$form.permission_operator.html} {help id="id-permission_operator" file="CRM/Admin/Form/Navigation.hlp"}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-navigation-form-block-is_active">
|
||||
<td class="label">{$form.is_active.label}</td><td>{$form.is_active.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
CRM.$(function($) {
|
||||
var $form = $('form.{/literal}{$form.formClass}{literal}');
|
||||
$('input[name=permission]', $form)
|
||||
.on('change', function() {
|
||||
$('span.permission_operator_wrapper').toggle(CRM._.includes($(this).val(), ','));
|
||||
})
|
||||
.change()
|
||||
.crmSelect2({
|
||||
formatResult: CRM.utils.formatSelect2Result,
|
||||
formatSelection: function(row) {return row.label},
|
||||
multiple: true
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
|
@ -0,0 +1,58 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
<h3>{if $action eq 1}{ts}New Option Group{/ts}{elseif $action eq 2}{ts}Edit Option Group{/ts}{else}{ts}Delete Option Group{/ts}{/if}</h3>
|
||||
<div class="crm-block crm-form-block crm-admin-optiongroup-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}WARNING: Deleting this option gruop will result in the loss of all records which use the option.{/ts} {ts}This may mean the loss of a substantial amount of data, and the action cannot be undone.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
{else}
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-admin-optiongroup-form-block-name">
|
||||
<tr class="crm-admin-optiongroup-form-block-title">
|
||||
<td class="label">{$form.title.label}
|
||||
{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_option_group' field='title' id=$id}{/if}</td><td>{$form.title.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-admin-optiongroup-form-block-description">
|
||||
<td class="label">{$form.description.label}
|
||||
{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_option_group' field='description' id=$id}{/if}</td><td>{$form.description.html}</td>
|
||||
</tr>
|
||||
<td class="label">{$form.name.label}</td>
|
||||
<td>{$form.name.html}</td></tr>
|
||||
<tr class="crm-admin-optiongroup-form-block-data-type">
|
||||
<td class="label">{$form.data_type.label}</td>
|
||||
<td>{$form.data_type.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-admin-optiongroup-form-block-is_active">
|
||||
<td class="label">{$form.is_active.label}</td>
|
||||
<td>{$form.is_active.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
176
sites/all/modules/civicrm/templates/CRM/Admin/Form/Options.tpl
Normal file
176
sites/all/modules/civicrm/templates/CRM/Admin/Form/Options.tpl
Normal file
|
@ -0,0 +1,176 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for adding/editing options *}
|
||||
<div class="crm-block crm-form-block crm-admin-options-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts 1=$gLabel}WARNING: Deleting this option will result in the loss of all %1 related records which use the option.{/ts} {ts}This may mean the loss of a substantial amount of data, and the action cannot be undone.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
{else}
|
||||
<table class="form-layout-compressed">
|
||||
{if $gName eq 'custom_search'}
|
||||
<tr class="crm-admin-options-form-block-custom_search_path">
|
||||
<td class="label">{ts}Custom Search Path{/ts}</td>
|
||||
<td>{$form.label.html}<br />
|
||||
<span class="description">{ts}Enter the "class path" for this custom search here.{/ts}
|
||||
</td>
|
||||
</tr>
|
||||
{elseif $gName eq 'from_email_address'}
|
||||
<tr class="crm-admin-options-form-block-from_email_address">
|
||||
<td class="label">{ts}FROM Email Address{/ts} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_option_value' field='label' id=$id}{/if}</td>
|
||||
<td>{$form.label.html}<br />
|
||||
<span class="description">{ts}Include double-quotes (") around the name and angle-brackets (< >) around the email address.<br />EXAMPLE: <em>"Client Services" <clientservices@example.org></em>{/ts}<span>
|
||||
</td>
|
||||
</tr>
|
||||
{elseif $gName eq 'redaction_rule'}
|
||||
<tr class="crm-admin-options-form-block-expression">
|
||||
<td class="label">{ts}Match Value or Expression{/ts} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_option_value' field='label' id=$id}{/if}</td>
|
||||
<td>{$form.label.html}<br />
|
||||
<span class="description">{ts}A "string value" or regular expression to be redacted (replaced).{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{else}
|
||||
<tr class="crm-admin-options-form-block-label">
|
||||
<td class="label">{$form.label.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_option_value' field='label' id=$id}{/if}</td>
|
||||
<td class="html-adjust">{$form.label.html}<br />
|
||||
<span class="description">{ts}The option label is displayed to users.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{if $form.financial_account_id.html}
|
||||
<tr class="crm-admin-options-form-block-grouping">
|
||||
<td class="label">{$form.financial_account_id.label}</td>
|
||||
<td>{$form.financial_account_id.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if $form.value.html && $gName neq 'redaction_rule'}
|
||||
<tr class="crm-admin-options-form-block-value">
|
||||
<td class="label">{$form.value.label}</td>
|
||||
<td>{$form.value.html}<br />
|
||||
{if $action == 2}
|
||||
<span class="description"><i class="crm-i fa-exclamation-triangle"></i> {ts}Changing the Value field will unlink records which have been marked with this option. This change can not be undone except by restoring the previous value.{/ts}</span>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{if $gName eq 'custom_search'}
|
||||
<tr class="crm-admin-options-form-block-search_title">
|
||||
<td class="label">{ts}Search Title{/ts}</td>
|
||||
<td>{$form.description.html}<br />
|
||||
<span class="description">{ts}This title is displayed to users in the Custom Search listings.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{else}
|
||||
{if $gName eq 'redaction_rule'}
|
||||
<tr class="crm-admin-options-form-block-replacement">
|
||||
<td class="label">{ts}Replacement (prefix){/ts}</td>
|
||||
<td>{$form.value.html}<br />
|
||||
<span class="description">{ts}Matched values are replaced with this prefix plus a unique code. EX: If replacement prefix for "Vancouver" is <em>city_</em>, occurrences will be replaced with <em>city_39121</em>.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $form.name.html} {* Get the name value also *}
|
||||
<tr class="crm-admin-options-form-block-name">
|
||||
<td class="label">{$form.name.label}</td>
|
||||
<td>{$form.name.html}<br />
|
||||
<span class="description">{ts}The class name which implements this functionality.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $form.filter.html} {* Filter property is only exposed for some option groups. *}
|
||||
<tr class="crm-admin-options-form-block-filter">
|
||||
<td class="label">{$form.filter.label}</td>
|
||||
<td>{$form.filter.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="crm-admin-options-form-block-desciption">
|
||||
<td class="label">{$form.description.label}</td>
|
||||
<td>{$form.description.html}<br />
|
||||
{if $gName eq 'activity_type'}
|
||||
<span class="description">{ts}Description is included at the top of the activity edit and view pages for this type of activity.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/if}
|
||||
{if $gName eq 'participant_status'}
|
||||
<tr class="crm-admin-options-form-block-visibility_id">
|
||||
<td class="label">{$form.visibility_id.label}</td>
|
||||
<td>{$form.visibility_id.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $form.grouping.html}
|
||||
<tr class="crm-admin-options-form-block-grouping">
|
||||
<td class="label">{$form.grouping.label}</td>
|
||||
<td>{$form.grouping.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="crm-admin-options-form-block-weight">
|
||||
<td class="label">{$form.weight.label}</td>
|
||||
<td>{$form.weight.html}</td>
|
||||
</tr>
|
||||
{if $form.icon.html}
|
||||
<tr class="crm-admin-options-form-block-icon">
|
||||
<td class="label">{$form.icon.label}</td>
|
||||
<td>{$form.icon.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $form.color.html}
|
||||
<tr class="crm-admin-options-form-block-color">
|
||||
<td class="label">{$form.color.label}</td>
|
||||
<td>{$form.color.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $form.component_id.html} {* Component ID is exposed for activity types if CiviCase is enabled. *}
|
||||
<tr class="crm-admin-options-form-block-component_id">
|
||||
<td class="label">{$form.component_id.label}</td>
|
||||
<td>{$form.component_id.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="crm-admin-options-form-block-is_active">
|
||||
<td class="label">{$form.is_active.label}</td>
|
||||
<td>{$form.is_active.html}</td>
|
||||
</tr>
|
||||
{if $showDefault}
|
||||
<tr class="crm-admin-options-form-block-is_default">
|
||||
<td class="label">{$form.is_default.label}</td>
|
||||
<td>{$form.is_default.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $showContactFilter}{* contactOptions is exposed for email/postal greeting and addressee types to set filter for contact types *}
|
||||
<tr class="crm-admin-options-form-block-contactOptions">
|
||||
<td class="label">{$form.contactOptions.label}</td>
|
||||
<td>{$form.contactOptions.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
{/if}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</fieldset>
|
||||
</div>
|
|
@ -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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
<div class="crm-block crm-form-block crm-participant-status-form-block">
|
||||
<fieldset>
|
||||
<legend>
|
||||
{if $action eq 1}{ts}New Participant Status{/ts}{elseif $action eq 2}{ts}Edit Participant Status{/ts}{else}{ts}Delete Participant Status{/ts}{/if}
|
||||
</legend>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}WARNING: Deleting this Participant Status will remove all of its settings.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
<div>{include file="CRM/common/formButtons.tpl"}
|
||||
</div>
|
||||
{else}
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-participant-status-form-block-name">
|
||||
<td class="label">{$form.name.label}</td>
|
||||
<td>{$form.name.html}<br />
|
||||
<span class="description">{ts}Name of this status type, for use in the code.{/ts}</span></td>
|
||||
</tr>
|
||||
|
||||
<tr class="crm-participant-status-form-block-label">
|
||||
<td class="label">{$form.label.label}{if $action == 2} {include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_participant_status_type' field='label' id=$id}{/if}</td>
|
||||
<td>{$form.label.html}<br />
|
||||
<span class="description">{ts}Display label for this status.{/ts}</span></td>
|
||||
</tr>
|
||||
|
||||
<tr class="crm-participant-status-form-block-class">
|
||||
<td class="label">{$form.class.label}</td>
|
||||
<td>{$form.class.html}<br />
|
||||
<span class="description">{ts}The general class of this status. Participant counts are grouped by class on the CiviEvent Dashboard. Participants with a 'Pending' class status will be moved to 'Expired' status if Pending Participant Hours has elapsed (when the ParticipantProcessor.php background processing script is run).{/ts}</span></td>
|
||||
</tr>
|
||||
|
||||
<tr class="crm-participant-status-form-block-is_reserved">
|
||||
<td class="label">{$form.is_reserved.label}</td>
|
||||
<td>{$form.is_reserved.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-participant-status-form-block-is_active">
|
||||
<td class="label">{$form.is_active.label}</td>
|
||||
<td>{$form.is_active.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-participant-status-form-block-is_counted">
|
||||
<td class="label">{$form.is_counted.label}</td>
|
||||
<td>{$form.is_counted.html}<br />
|
||||
<span class="description">{ts}Should a person with this status be counted as a participant for the purpose of controlling the Maximum Number of Participants?{/ts}</td>
|
||||
</tr>
|
||||
|
||||
<tr class="crm-participant-status-form-block-weight">
|
||||
<td class="label">{$form.weight.label}</td>
|
||||
<td>{$form.weight.html}</td>
|
||||
</tr>
|
||||
|
||||
<tr class="crm-participant-status-form-block-visibility_id">
|
||||
<td class="label">{$form.visibility_id.label}</td>
|
||||
<td>{$form.visibility_id.html}<br />
|
||||
<span class="description">{ts}If you allow users to select a Participant Status by including that field on a profile - only statuses with 'Public' visibility are listed.{/ts}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
{/if}
|
||||
<div class="spacer"></div>
|
||||
</fieldset>
|
||||
</div>
|
|
@ -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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{* This template is used for adding/configuring Payment Processors used by a particular site/domain. *}
|
||||
<h3>{if $action eq 1}{ts}New Payment Processor{/ts}{elseif $action eq 2}{ts}Edit Payment Processor{/ts}{else}{ts}Delete Payment Processor{/ts}{/if}</h3>
|
||||
<div class="crm-block crm-form-block crm-paymentProcessor-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}WARNING: Deleting this Payment Processor may result in some transaction pages being rendered inactive.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
{else}
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-paymentProcessor-form-block-payment_processor_type">
|
||||
<td class="label">{$form.payment_processor_type_id.label}</td><td>{$form.payment_processor_type_id.html} {help id='proc-type'}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-form-block-name">
|
||||
<td class="label">{$form.name.label}</td><td>{$form.name.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-form-block-description">
|
||||
<td class="label">{$form.description.label}</td><td>{$form.description.html}</td>
|
||||
</tr>
|
||||
|
||||
<tr class="crm-paymentProcessor-form-block-financial_account">
|
||||
<td class="label">{$form.financial_account_id.label}</td>
|
||||
<td>
|
||||
{if $financialAccount}
|
||||
{$form.financial_account_id.html}
|
||||
{else}
|
||||
{capture assign=ftUrl}{crmURL p='civicrm/admin/financial/financialAccount' q="reset=1"}{/capture}
|
||||
{ts 1=$ftUrl}There are no financial accounts configured with Financial Account Type 'Asset' Type. <a href='%1'>Click here</a> if you want to configure financial accounts for your site.{/ts}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-form-block-payment-instrument-id">
|
||||
<td class="label">{$form.payment_instrument_id.label}</td><td>{$form.payment_instrument_id.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-form-block-is_active">
|
||||
<td></td><td>{$form.is_active.html} {$form.is_active.label}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-form-block-is_default">
|
||||
<td></td><td>{$form.is_default.html} {$form.is_default.label}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-form-block-accept_credit_cards">
|
||||
<td class="label">{$form.accept_credit_cards.label}</td><td>{$form.accept_credit_cards.html}<br />
|
||||
<span class="description">{ts}Select Credit Card Types that this payment processor can accept{/ts}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<fieldset>
|
||||
<legend>{ts}Processor Details for Live Payments{/ts}</legend>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-paymentProcessor-form-block-user_name">
|
||||
<td class="label">{$form.user_name.label}</td><td>{$form.user_name.html} {help id=$ppTypeName|cat:'-live-user-name' title=$form.user_name.label}</td>
|
||||
</tr>
|
||||
{if $form.password}
|
||||
<tr class="crm-paymentProcessor-form-block-password">
|
||||
<td class="label">{$form.password.label}</td><td>{$form.password.html} {help id=$ppTypeName|cat:'-live-password' title=$form.password.label}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $form.signature}
|
||||
<tr class="crm-paymentProcessor-form-block-signature">
|
||||
<td class="label">{$form.signature.label}</td><td>{$form.signature.html} {help id=$ppTypeName|cat:'-live-signature' title=$form.signature.label}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $form.subject}
|
||||
<tr class="crm-paymentProcessor-form-block-subject">
|
||||
<td class="label">{$form.subject.label}</td><td>{$form.subject.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="crm-paymentProcessor-form-block-url_site">
|
||||
<td class="label">{$form.url_site.label}</td><td>{$form.url_site.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-live-url-site' title=$form.url_site.label}</td>
|
||||
</tr>
|
||||
{if $form.url_api}
|
||||
<tr class="crm-paymentProcessor-form-block-url_api">
|
||||
<td class="label">{$form.url_api.label}</td><td>{$form.url_api.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-live-url-api' title=$form.url_api.label}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $is_recur}
|
||||
<tr class="crm-paymentProcessor-form-block-url_recur">
|
||||
<td class="label">{$form.url_recur.label}</td><td>{$form.url_recur.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-live-url-recur' title=$form.url_recur.label}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $form.url_button}
|
||||
<tr class="crm-paymentProcessor-form-block-url_button">
|
||||
<td class="label">{$form.url_button.label}</td><td>{$form.url_button.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-live-url-button' title=$form.url_button.label}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{ts}Processor Details for Test Payments{/ts}</legend>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-paymentProcessor-form-block-test_user_name">
|
||||
<td class="label">{$form.test_user_name.label}</td><td>{$form.test_user_name.html} {help id=$ppTypeName|cat:'-test-user-name' title=$form.test_user_name.label}</td></tr>
|
||||
{if $form.test_password}
|
||||
<tr class="crm-paymentProcessor-form-block-test_password">
|
||||
<td class="label">{$form.test_password.label}</td><td>{$form.test_password.html} {help id=$ppTypeName|cat:'-test-password' title=$form.test_password.label}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $form.test_signature}
|
||||
<tr class="crm-paymentProcessor-form-block-test_signature">
|
||||
<td class="label">{$form.test_signature.label}</td><td>{$form.test_signature.html} {help id=$ppTypeName|cat:'-test-signature' title=$form.test_signature.label}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $form.test_subject}
|
||||
<tr class="crm-paymentProcessor-form-block-test_subject">
|
||||
<td class="label">{$form.test_subject.label}</td><td>{$form.test_subject.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="crm-paymentProcessor-form-block-test_url_site">
|
||||
<td class="label">{$form.test_url_site.label}</td><td>{$form.test_url_site.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-test-url-site' title=$form.test_url_site.label}</td>
|
||||
</tr>
|
||||
{if $form.test_url_api}
|
||||
<tr class="crm-paymentProcessor-form-block-test_url_api">
|
||||
<td class="label">{$form.test_url_api.label}</td><td>{$form.test_url_api.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-test-url-api' title=$form.test_url_api.label}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $is_recur}
|
||||
<tr class="crm-paymentProcessor-form-block-test_url_recur">
|
||||
<td class="label">{$form.test_url_recur.label}</td><td>{$form.test_url_recur.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-test-url-recur' title=$form.test_url_recur.label}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $form.test_url_button}
|
||||
<tr class="crm-paymentProcessor-form-block-test_url_button">
|
||||
<td class="label">{$form.test_url_button.label}</td><td>{$form.test_url_button.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-test-url-button' title=$form.test_url_button.label}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/if}
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
{if $action eq 1 or $action eq 2}
|
||||
<script type="text/javascript">
|
||||
{literal}
|
||||
function reload(refresh) {
|
||||
var paymentProcessorType = cj("#payment_processor_type_id");
|
||||
var url = {/literal}"{$refreshURL}"{literal} + "&pp=" + paymentProcessorType.val();
|
||||
paymentProcessorType.closest('form').attr('data-warn-changes', 'false');
|
||||
window.location.href = url;
|
||||
}
|
||||
{/literal}
|
||||
</script>
|
||||
|
||||
{/if}
|
|
@ -0,0 +1,119 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for adding/editing available Payment Processors *}
|
||||
<div class="crm-block crm-form-block crm-paymentProcessor-type-form-block">
|
||||
<fieldset><legend>{if $action eq 1}{ts}New Payment Procesor Type{/ts}{elseif $action eq 2}{ts}Edit Payment Procesor Type{/ts}{else}{ts}Delete Payment Procesor Type{/ts}{/if}</legend>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
{else}
|
||||
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-paymentProcessor-type-form-block-title">
|
||||
<td class="label">{$form.title.label}</td>
|
||||
<td>{$form.title.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-name">
|
||||
<td class="label">{$form.name.label}</td>
|
||||
<td>{$form.name.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-description">
|
||||
<td class="label">{$form.description.label}</td>
|
||||
<td>{$form.description.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-billing_mode">
|
||||
<td class="label">{$form.billing_mode.label}</td>
|
||||
<td>{$form.billing_mode.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-class_name">
|
||||
<td class="label">{$form.class_name.label}</td>
|
||||
<td>{$form.class_name.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-is_active">
|
||||
<td class="label"></td><td>{$form.is_active.html} {$form.is_active.label}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-is_default">
|
||||
<td class="label"></td><td>{$form.is_default.html} {$form.is_default.label}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-is_recur">
|
||||
<td class="label"></td><td>{$form.is_recur.html} {$form.is_recur.label}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-user_name_label">
|
||||
<td class="label">{$form.user_name_label.label}</td>
|
||||
<td>{$form.user_name_label.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-password_label">
|
||||
<td class="label">{$form.password_label.label}</td>
|
||||
<td>{$form.password_label.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-signature_label">
|
||||
<td class="label">{$form.signature_label.label}</td>
|
||||
<td>{$form.signature_label.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-subject_label">
|
||||
<td class="label">{$form.subject_label.label}</td>
|
||||
<td>{$form.subject_label.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-url_site_default">
|
||||
<td class="label">{$form.url_site_default.label}</td>
|
||||
<td>{$form.url_site_default.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-url_api_default">
|
||||
<td class="label">{$form.url_api_default.label}</td>
|
||||
<td>{$form.url_api_default.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-url_recur_default">
|
||||
<td class="label">{$form.url_recur_default.label}</td>
|
||||
<td>{$form.url_recur_default.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-url_button_default">
|
||||
<td class="label">{$form.url_button_default.label}</td>
|
||||
<td>{$form.url_button_default.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-url_site_test_default">
|
||||
<td class="label">{$form.url_site_test_default.label}</td>
|
||||
<td>{$form.url_site_test_default.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-url_api_test_default">
|
||||
<td class="label">{$form.url_api_test_default.label}</td>
|
||||
<td>{$form.url_api_test_default.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-url_recur_test_default">
|
||||
<td class="label">{$form.url_recur_test_default.label}</td>
|
||||
<td>{$form.url_recur_test_default.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-paymentProcessor-type-form-block-url_button_test_default">
|
||||
<td class="label">{$form.url_button_test_default.label}</td>
|
||||
<td>{$form.url_button_test_default.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
</fieldset>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -0,0 +1,145 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for adding/configuring PDF Page Formats. *}
|
||||
<div class="crm-block crm-form-block crm-pdfFormat-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts 1=$formatName}WARNING: You are about to delete the PDF Page Format titled <strong>%1</strong>.{/ts}<p>{ts}This will remove the format from all Message Templates that use it. Do you want to continue?{/ts}</p>
|
||||
</div>
|
||||
{else}
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-pdfFormat-form-block-name">
|
||||
<td class="right">{$form.name.label}</td><td colspan="3">{$form.name.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-pdfFormat-form-block-description">
|
||||
<td class="right">{$form.description.label}</td><td colspan="3">{$form.description.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-pdfFormat-form-block-is_default">
|
||||
<td></td><td colspan="3">{$form.is_default.html} {$form.is_default.label}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.paper_size.label}</td><td>{$form.paper_size.html}</td>
|
||||
<td class="right">{$form.orientation.label}</td><td>{$form.orientation.html}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.paper_dimensions.html}</td><td id="paper_dimensions"> </td>
|
||||
<td class="right">{$form.metric.label}</td><td>{$form.metric.html}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.margin_top.label}</td><td>{$form.margin_top.html}</td>
|
||||
<td class="right">{$form.margin_bottom.label}</td><td>{$form.margin_bottom.html}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="right">{$form.margin_left.label}</td><td>{$form.margin_left.html}</td>
|
||||
<td class="right">{$form.margin_right.label}</td><td>{$form.margin_right.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-pdfFormat-form-block-weight">
|
||||
<td class="right">{$form.weight.label}</td><td colspan="3">{$form.weight.html}<br />
|
||||
<span class="description">{ts}Weight controls the order in which PDF Page Formats are displayed <br />in selection lists. Enter a positive or negative integer. Lower numbers <br />are displayed ahead of higher numbers.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{literal}
|
||||
<script type="text/javascript" >
|
||||
|
||||
var currentWidth;
|
||||
var currentHeight;
|
||||
var currentMetric = document.getElementById('metric').value;
|
||||
selectPaper( document.getElementById('paper_size').value );
|
||||
|
||||
function selectPaper( val )
|
||||
{
|
||||
dataUrl = {/literal}"{crmURL p='civicrm/ajax/paperSize' h=0 }"{literal};
|
||||
cj.post( dataUrl, {paperSizeName: val}, function( data ) {
|
||||
cj("#paper_size").val( data.name );
|
||||
metric = document.getElementById('metric').value;
|
||||
currentWidth = convertMetric( data.width, data.metric, metric );
|
||||
currentHeight = convertMetric( data.height, data.metric, metric );
|
||||
updatePaperDimensions( );
|
||||
}, 'json');
|
||||
}
|
||||
|
||||
function selectMetric( metric )
|
||||
{
|
||||
convertField( 'margin_top', currentMetric, metric );
|
||||
convertField( 'margin_bottom', currentMetric, metric );
|
||||
convertField( 'margin_left', currentMetric, metric );
|
||||
convertField( 'margin_right', currentMetric, metric );
|
||||
currentWidth = convertMetric( currentWidth, currentMetric, metric );
|
||||
currentHeight = convertMetric( currentHeight, currentMetric, metric );
|
||||
updatePaperDimensions( );
|
||||
}
|
||||
|
||||
function updatePaperDimensions( )
|
||||
{
|
||||
metric = document.getElementById('metric').value;
|
||||
width = new String( currentWidth.toFixed( 2 ) );
|
||||
height = new String( currentHeight.toFixed( 2 ) );
|
||||
if ( document.getElementById('orientation').value == 'landscape' ) {
|
||||
width = new String( currentHeight.toFixed( 2 ) );
|
||||
height = new String( currentWidth.toFixed( 2 ) );
|
||||
}
|
||||
document.getElementById('paper_dimensions').innerHTML = parseFloat( width ) + ' ' + metric + ' x ' + parseFloat( height ) + ' ' + metric;
|
||||
currentMetric = metric;
|
||||
}
|
||||
|
||||
function convertField( id, from, to )
|
||||
{
|
||||
val = document.getElementById( id ).value;
|
||||
if ( val == '' || isNaN( val ) ) return;
|
||||
val = convertMetric( val, from, to );
|
||||
val = new String( val.toFixed( 3 ) );
|
||||
document.getElementById( id ).value = parseFloat( val );
|
||||
}
|
||||
|
||||
function convertMetric( value, from, to ) {
|
||||
switch( from + to ) {
|
||||
case 'incm': return value * 2.54;
|
||||
case 'inmm': return value * 25.4;
|
||||
case 'inpt': return value * 72;
|
||||
case 'cmin': return value / 2.54;
|
||||
case 'cmmm': return value * 10;
|
||||
case 'cmpt': return value * 72 / 2.54;
|
||||
case 'mmin': return value / 25.4;
|
||||
case 'mmcm': return value / 10;
|
||||
case 'mmpt': return value * 72 / 25.4;
|
||||
case 'ptin': return value / 72;
|
||||
case 'ptcm': return value * 2.54 / 72;
|
||||
case 'ptmm': return value * 25.4 / 72;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
{/if}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -0,0 +1,20 @@
|
|||
<div class="form-item">
|
||||
<legend>DB Template Strings Information</legend>
|
||||
<div class="crm-block crm-form-block crm-admin-options-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout-compressed">
|
||||
<tr>
|
||||
<td class="label ">{$form.context.label}</td>
|
||||
<td>{$form.context.html|crmAddClass:huge}</dd>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label ">{$form.name.label}</td>
|
||||
<td>{$form.name.html|crmAddClass:huge}</dd>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label ">{$form.data.label}</td>
|
||||
<td>{$form.data.html}</dd>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{htxt id="label-tokens-title"}
|
||||
{ts}Mailing Label Tokens{/ts}
|
||||
{/htxt}
|
||||
{htxt id="label-tokens"}
|
||||
{capture assign="example"}{ldelim}contact.custom_12{rdelim}{/capture}
|
||||
<p>{ts}Configure mailing labels for your site using tokens, which are replaced by contact field values when the labels are generated. Place your cursor within the Mailing Labels box where you want to the token to be inserted. Then click the "Insert Tokens" link to see a list of available tokens (including custom fields). Insert the token by clicking the desired token name.{/ts}</p>
|
||||
<ul>
|
||||
<li>{ts}Address field values are taken from the contact's <strong>primary</strong> location.{/ts}</li>
|
||||
<li>{ts 1={contact.state_province} 2={contact.state_province_name}}Use the %1 token for state/province abbreviation or %2 for full state/province name.{/ts}</li>
|
||||
<li>{ts}Add spaces or punctuation to layout by surrounding them with brackets.{/ts}
|
||||
<ul><li>{ts}EXAMPLE:{/ts} {literal}{, }{/literal}</li></ul></li>
|
||||
<li>{ts}If you want to include the county in your mailing labels, the <strong>County</strong> checkbox must be checked in the Address Editing section on this screen, and county names must be added to the civicrm_county table in your database.{/ts}</li>
|
||||
<li>{ts 1=$example}Custom tokens (based on custom data) can be added for organizations as well. These tokens will not be displayed in the list of available tokens, but can be added manually. The format is %1 – where 12 is the ID of the custom data field. To find the custom data field ID, go Administer > Customize Data & Screens > Custom Fields and click ‘edit’ on the field you want to use. Look at the URL. The last part of the URL will be an equal sign and a number (=12). The number (12 in this example) is the id of that custom field.{/ts}</li>
|
||||
</ul>
|
||||
{/htxt}
|
||||
|
||||
{htxt id="address-tokens-title"}
|
||||
{ts}Address Tokens{/ts}
|
||||
{/htxt}
|
||||
{htxt id="address-tokens"}
|
||||
<p>{ts}The following tokens are available to format Address display on Contact and Event screens.{/ts}</p>
|
||||
<table>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.address_name}{/literal}</td><td>{ts}Descriptive name assigned to a contact or event address. EXAMPLES: 'College address' for a person. 'Johnson Pavilion' for an event.{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.street_address}{/literal}</td><td>{ts}Full street address (e.g. 110 Main Street).{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.supplemental_address_1}{/literal}</td><td>{ts}Supplemental address 1 (line is skipped if empty).{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.supplemental_address_2}{/literal}</td><td>{ts}Supplemental address 2 (line is skipped if empty).{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.supplemental_address_3}{/literal}</td><td>{ts}Supplemental address 3 (line is skipped if empty).{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.city}{/literal}</td><td>{ts}City.{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.county}{/literal}</td><td>{ts}County name. If you want to include the county in your screen displays, the <strong>County</strong> checkbox should be set under <strong>Address Editing » Address Fields</strong> on this screen, and county names must be added to the civicrm_county table in your database.{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.state_province}{/literal}</td><td>{ts}State or province <strong>abbreviation</strong>.{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.state_province_name}{/literal}</td><td>{ts}State or province <strong>full name</strong>.{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.postal_code}{/literal}</td><td>{ts}Postal code.{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.country}{/literal}</td><td>{ts}Country name (e.g. Canada).{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{, }{/literal}</td><td>{ts}Add spaces or punctuation to layout by surrounding them with brackets.{/ts}</td>
|
||||
</table>
|
||||
{/htxt}
|
||||
|
||||
{htxt id="name-tokens-title"}
|
||||
{ts}Name Tokens{/ts}
|
||||
{/htxt}
|
||||
{htxt id="name-tokens"}
|
||||
<p>{ts}The following tokens are available to control the format of individuals' contact names when they are included in <strong>mailing labels</strong>.{/ts}</p>
|
||||
<table>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.individual_prefix}{/literal}</td><td>{ts}Assigned name prefix, if any (e.g. 'Ms.', 'Dr.', 'Hon.' etc.).{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.individual_suffix}{/literal}</td><td>{ts}Assigned name suffix, if any (e.g. 'II', 'Jr.', 'Sr.' etc.).{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.first_name}{/literal}</td><td>{ts}Contact's first name.{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.middle_name}{/literal}</td><td>{ts}Contact's middle name.{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.last_name}{/literal}</td><td>{ts}Contact's last name.{/ts}</td>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{contact.current_employer}{/literal}</td><td>{ts}Current employer name as configured in the individual contact edit form. You will probably want this on a separate line, so use the Enter key to create a line-break after the name fields.{/ts}</td></tr>
|
||||
<tr style="vertical-align:top;"><td style="padding-right:1em;">{literal}{, }{/literal}</td><td>{ts}Add spaces or punctuation to layout by surrounding them with brackets.{/ts}</td>
|
||||
</table>
|
||||
{/htxt}
|
|
@ -0,0 +1,105 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-block crm-form-block crm-preferences-address-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<h3>{ts}Mailing Labels{/ts}</h3>
|
||||
<table class="form-layout">
|
||||
<tr class="crm-preferences-address-form-block-mailing_format">
|
||||
<td class="label">{$form.mailing_format.label}<br />{help id='label-tokens'}</td>
|
||||
<td>
|
||||
<div class="helpIcon" id="helphtml">
|
||||
<input class="crm-token-selector big" data-field="mailing_format" />
|
||||
{help id="id-token-text" tplFile=$tplFile file="CRM/Contact/Form/Task/Email.hlp"}
|
||||
</div>
|
||||
{$form.mailing_format.html|crmAddClass:huge12}<br />
|
||||
<span class="description">{ts}Content and format for mailing labels.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-address-form-block-hideCountryMailingLabels">
|
||||
<td class="label">{$form.hideCountryMailingLabels.label}
|
||||
<td>{$form.hideCountryMailingLabels.html}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<h3>{ts}Address Display{/ts}</h3>
|
||||
<table class="form-layout">
|
||||
<tr class="crm-preferences-address-form-block-address_format">
|
||||
<td class="label">{$form.address_format.label}<br />{help id='address-tokens'}</td>
|
||||
<td>
|
||||
<div class="helpIcon" id="helphtml">
|
||||
<input class="crm-token-selector big" data-field="address_format" />
|
||||
{help id="id-token-text" tplFile=$tplFile file="CRM/Contact/Form/Task/Email.hlp"}
|
||||
</div>
|
||||
{$form.address_format.html|crmAddClass:huge12}<br />
|
||||
<span class="description">{ts}Format for displaying addresses in the Contact Summary and Event Information screens.{/ts}<br />{ts 1={contact.state_province} 2={contact.state_province_name}}Use %1 for state/province abbreviation or %2 for state province name.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3>{ts}Address Editing{/ts}</h3>
|
||||
<table class="form-layout">
|
||||
<tr class="crm-preferences-address-form-block-address_options">
|
||||
<td class="label">{$form.address_options.label}
|
||||
<td>{$form.address_options.html}<br />
|
||||
<span class="description">{ts}Select the fields to be included when editing a contact or event address.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3>{ts}Address Standardization{/ts}</h3>
|
||||
<table class="form-layout">
|
||||
<tr class="crm-preferences-address-form-block-description">
|
||||
<td colspan="2">
|
||||
<span class="description">
|
||||
{ts 1=https://www.usps.com/business/web-tools-apis/welcome.htm}CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at <a href='%1' target='_blank'>%1</a>. If you are approved, they will provide you with a User ID and the URL for the service.{/ts}
|
||||
{ts}Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below.{/ts}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-address-form-block-address_standardization_provider">
|
||||
<td class="label">{$form.address_standardization_provider.label}</td>
|
||||
<td>{$form.address_standardization_provider.html}<br />
|
||||
<span class="description">{ts}Address Standardization Provider.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-address-form-block-address_standardization_userid">
|
||||
<td class="label">{$form.address_standardization_userid.label}
|
||||
<td>{$form.address_standardization_userid.html}<br />
|
||||
<span class="description">{ts}Web service user ID.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-address-form-block-address_standardization_url">
|
||||
<td class="label">{$form.address_standardization_url.label}
|
||||
<td>{$form.address_standardization_url.html}<br />
|
||||
<span class="description">{ts}Web Service URL{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
||||
{include file="CRM/Mailing/Form/InsertTokens.tpl"}
|
|
@ -0,0 +1,26 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{include file="CRM/Form/basicForm.tpl"}
|
|
@ -0,0 +1,33 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="acl_financial_type-title"}
|
||||
{ts}Access Control by Financial Type{/ts}
|
||||
{/htxt}
|
||||
{htxt id="acl_financial_type"}
|
||||
<p>{ts}Enabling Access Control by Financial Types is only required if you need users in one role to access some financial transactions but not ones with certain financial types.</p>
|
||||
<p>For example, Planned Giving bequests may be highly confidential and not appropriate for staff organizing events to see, even though they need to be able to administer the payments for ticket purchases.</p>
|
||||
<p>After enabling, you will be able to set create, view, edit, and delete permissions separately for each financial type by navigating to Administer > Users and Permissions > Permissions (Access Control), and clicking on the Access Control link for your CMS.{/ts}</p>
|
||||
{/htxt}
|
|
@ -0,0 +1,26 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{include file="CRM/Form/basicForm.tpl"}
|
|
@ -0,0 +1,46 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="editor_id-title"}
|
||||
{ts}WYSIWYG Editor{/ts}
|
||||
{/htxt}
|
||||
{htxt id="editor_id"}
|
||||
<p>
|
||||
{ts}A "WYSIWYG" (What You See Is What You Get) is a rich-text editor, like a mini word-processor, for editing HTML content in CiviCRM.{/ts}
|
||||
</p>
|
||||
<ul>
|
||||
<li>{ts}Select 'CKEditor' for the built-in WYSIWYG option. You can customize the toolbar buttons and other settings by clicking "Configure CKEditor."{/ts}</li>
|
||||
<li>{ts}Select 'Textarea' if you want users to type text and/or HTML code into plain text fields.{/ts}</li>
|
||||
<li>{ts 1='target="_blank" href="https://civicrm.org/extensions/home?body_value=wysiwyg&field_extension_cms_tid=127"'}Other WYSIWYG editors are available for download from the <a %1>CiviCRM Extension Directory</a>.{/ts}</li>
|
||||
</ul>
|
||||
{/htxt}
|
||||
|
||||
{htxt id="id-invoices_id-title"}
|
||||
{ts}Invoices / Credit Notes{/ts}
|
||||
{/htxt}
|
||||
{htxt id="id-invoices_id"}
|
||||
{capture assign=invoiceURL}{crmURL p='civicrm/admin/setting/preferences/contribute' q="reset=1"}{/capture}
|
||||
{ts 1=$invoiceURL}In order to enable logged in users to download invoices and credit notes from the dashboard. Please first enable CiviCRM invoicing functionality <a href='%1'>Administer > CiviContribute > CiviContribute Component Settings</a>{/ts}
|
||||
{/htxt}
|
|
@ -0,0 +1,250 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for editing Site Preferences *}
|
||||
<div class="crm-block crm-form-block crm-preferences-display-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout">
|
||||
<tr class="crm-preferences-display-form-block-contact_view_options">
|
||||
<td class="label">{$form.contact_view_options.label}</td>
|
||||
<td>{$form.contact_view_options.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">
|
||||
{capture assign=crmURL}{crmURL p='civicrm/admin/setting/component' q='action=add&reset=1'}{/capture}
|
||||
{ts 1=$crmURL}Select the <strong>tabs</strong>
|
||||
that should be displayed when viewing a contact record. EXAMPLE: If your organization does not keep track of
|
||||
'Relationships', then un-check this option to simplify the screen display. Tabs for Contributions, Pledges,
|
||||
Memberships, Events, Grants and Cases are also hidden if the corresponding component is not enabled. Go to
|
||||
<a href="%1">Administer > System Settings > Enable Components</a>
|
||||
to modify the components which are available for your site.{/ts}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-contact_smart_group_display">
|
||||
<td class="label">{$form.contact_smart_group_display.label}</td>
|
||||
<td>{$form.contact_smart_group_display.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">
|
||||
{ts}Controls display of the smart groups that a contact is part of in each contact's "Groups" tab. "Show on Demand" provides the best performance, and is recommended for most sites.{/ts}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-contact_edit_options">
|
||||
<td class="label">{$form.contact_edit_options.label}</td>
|
||||
<td>
|
||||
<table style="width:90%">
|
||||
<tr>
|
||||
<td style="width:30%">
|
||||
<span class="label"><strong>{ts}Individual Name Fields{/ts}</strong></span>
|
||||
<ul id="contactEditNameFields">
|
||||
{foreach from=$nameFields item="title" key="opId"}
|
||||
<li id="preference-{$opId}-contactedit" class="ui-state-default ui-corner-all"
|
||||
style="padding-left:1px;">
|
||||
<span>{$form.contact_edit_options.$opId.html}</span>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</td>
|
||||
<td style="width:30%">
|
||||
<span class="label"><strong>{ts}Contact Details{/ts}</strong></span>
|
||||
<ul id="contactEditBlocks">
|
||||
{foreach from=$contactBlocks item="title" key="opId"}
|
||||
<li id="preference-{$opId}-contactedit" class="ui-state-default ui-corner-all"
|
||||
style="padding-left:1px;">
|
||||
<i class='crm-i fa-arrows crm-grip' style="float:left;"></i>
|
||||
<span>{$form.contact_edit_options.$opId.html}</span>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</td>
|
||||
<td>
|
||||
<span class="label"><strong>{ts}Other Panes{/ts}</strong></span>
|
||||
<ul id="contactEditOptions">
|
||||
{foreach from=$editOptions item="title" key="opId"}
|
||||
<li id="preference-{$opId}-contactedit" class="ui-state-default ui-corner-all"
|
||||
style="padding-left:1px;">
|
||||
<i class='crm-i fa-arrows crm-grip' style="float:left;"></i>
|
||||
<span>{$form.contact_edit_options.$opId.html}</span>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">
|
||||
{ts}Select the sections that should be included when adding or editing a contact record. EXAMPLE: If your organization does not record Gender and Birth Date for individuals, then simplify the form by un-checking this option. Drag interface allows you to change the order of the panes displayed on contact add/edit screen.{/ts}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-advanced_search_options">
|
||||
<td class="label">{$form.advanced_search_options.label}</td>
|
||||
<td>{$form.advanced_search_options.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">
|
||||
{ts}Select the sections that should be included in the Basic and Advanced Search forms. EXAMPLE: If you don't track Relationships - then you do not need this section included in the advanced search form. Simplify the form by un-checking this option.{/ts}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-contact_ajax_check_similar">
|
||||
<td class="label"></td>
|
||||
<td>{$form.contact_ajax_check_similar.html} {$form.contact_ajax_check_similar.label}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">{ts}When enabled, checks for contacts with similar names as the user types values into the contact form name fields.{/ts}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-activity_assignee_notification">
|
||||
<td class="label"></td>
|
||||
<td>{$form.activity_assignee_notification.html} {$form.activity_assignee_notification.label}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">
|
||||
{ts}When enabled, contacts who are assigned activities will automatically receive an email notification with a copy of the activity.{/ts}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="crm-preferences-display-form-block-activity_assignee_notification_ics">
|
||||
<td class="label"></td>
|
||||
<td>{$form.activity_assignee_notification_ics.html} {$form.activity_assignee_notification_ics.label}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">{ts}When enabled, the assignee notification sent out above will also include an ical meeting invite.{/ts}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="crm-preferences-display-form-block-preserve_activity_tab_filter">
|
||||
<td class="label"></td>
|
||||
<td>{$form.preserve_activity_tab_filter.html} {$form.preserve_activity_tab_filter.label}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">{ts}When enabled, any filter settings a user selects on the contact's Activity tab will be remembered as they visit other contacts.{/ts}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="crm-preferences-display-form-block-user_dashboard_options">
|
||||
<td class="label">{$form.user_dashboard_options.label}</td>
|
||||
<td>{$form.user_dashboard_options.html}<span id="invoice_help"> {help id="id-invoices_id"}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">
|
||||
{ts}Select the sections that should be included in the Contact Dashboard. EXAMPLE: If you don't want constituents to view their own contribution history, un-check that option.{/ts}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-editor_id">
|
||||
<td class="label">{$form.editor_id.label} {help id="editor_id"}</td>
|
||||
<td>
|
||||
{$form.editor_id.html}
|
||||
|
||||
<span class="crm-button crm-icon-button" style="display:inline-block;vertical-align:middle;float:none!important;">
|
||||
<i class="crm-i fa-wrench" style="margin: 0 -18px 0 2px;"></i>
|
||||
{$form.ckeditor_config.html}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-ajaxPopupsEnabled">
|
||||
<td class="label">{$form.ajaxPopupsEnabled.label}</td>
|
||||
<td>{$form.ajaxPopupsEnabled.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">
|
||||
{ts}If you disable this option, the CiviCRM interface will be limited to traditional browsing. Opening a form will refresh the page rather than opening a popup dialog.{/ts}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-display_name_format">
|
||||
<td class="label">{$form.display_name_format.label}</td>
|
||||
<td>{$form.display_name_format.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">{ts}Display name format for individual contact display names.{/ts}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-sort_name_format">
|
||||
<td class="label">{$form.sort_name_format.label}</td>
|
||||
<td>{$form.sort_name_format.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-display-form-block-description">
|
||||
<td> </td>
|
||||
<td class="description">{ts}Sort name format for individual contact display names.{/ts}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
||||
{if $form.contact_edit_options.html}
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
CRM.$(function($) {
|
||||
function getSorting(e, ui) {
|
||||
var params = [];
|
||||
var y = 0;
|
||||
var items = $("#contactEditBlocks li");
|
||||
if (items.length > 0) {
|
||||
for (var y = 0; y < items.length; y++) {
|
||||
var idState = items[y].id.split('-');
|
||||
params[y + 1] = idState[1];
|
||||
}
|
||||
}
|
||||
|
||||
items = $("#contactEditOptions li");
|
||||
if (items.length > 0) {
|
||||
for (var x = 0; x < items.length; x++) {
|
||||
var idState = items[x].id.split('-');
|
||||
params[x + y + 1] = idState[1];
|
||||
}
|
||||
}
|
||||
$('#contact_edit_preferences').val(params.toString());
|
||||
}
|
||||
|
||||
var invoicesKey = '{/literal}{$invoicesKey}{literal}';
|
||||
var invoicing = '{/literal}{$invoicing}{literal}';
|
||||
if (!invoicing) {
|
||||
$('#user_dashboard_options_' + invoicesKey).attr("disabled", true);
|
||||
}
|
||||
$("#invoice_help").insertAfter("label[for='user_dashboard_options_" + invoicesKey + "']");
|
||||
|
||||
$("#contactEditBlocks, #contactEditOptions").sortable({
|
||||
placeholder: 'ui-state-highlight',
|
||||
update: getSorting
|
||||
});
|
||||
|
||||
function showCKEditorConfig() {
|
||||
$('.crm-preferences-display-form-block-editor_id .crm-button').toggle($(this).val() == 'CKEditor');
|
||||
}
|
||||
$('select[name=editor_id]').each(showCKEditorConfig).change(showCKEditorConfig);
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
|
@ -0,0 +1,26 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{include file="CRM/Form/basicForm.tpl"}
|
|
@ -0,0 +1,26 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{include file="CRM/Form/basicForm.tpl"}
|
|
@ -0,0 +1,26 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{include file="CRM/Form/basicForm.tpl"}
|
|
@ -0,0 +1,26 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{include file="CRM/Form/basicForm.tpl"}
|
|
@ -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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{* this template is used for adding/editing location type *}
|
||||
<div class="crm-block crm-form-block crm-preferences-date-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class='form-layout-compressed'>
|
||||
<tr class="crm-preferences-date-form-block-name">
|
||||
<td class="label">{$form.name.label}</td><td>{$form.name.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-date-form-block-description">
|
||||
<td class="label">{$form.description.label}</td><td>{$form.description.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-date-form-block-date_format">
|
||||
<td class="label">{$form.date_format.label}</td><td>{$form.date_format.html}</td>
|
||||
</tr>
|
||||
{if $form.time_format.label}
|
||||
<tr class="crm-preferences-date-form-block-time_format">
|
||||
<td class="label">{$form.time_format.label}</td><td>{$form.time_format.html}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="crm-preferences-date-form-block-start">
|
||||
<td class="label">{$form.start.label}</td><td>{$form.start.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-preferences-date-form-block-end">
|
||||
<td class="label">{$form.end.label}</td><td>{$form.end.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
{* this template is used for adding/editing relationship types *}
|
||||
<div class="crm-block crm-form-block crm-relationship-type-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts}WARNING: Deleting this option will result in the loss of all Relationship records of this type.{/ts} {ts}This may mean the loss of a substantial amount of data, and the action cannot be undone.{/ts} {ts}Do you want to continue?{/ts}
|
||||
|
||||
|
||||
</div>
|
||||
{else}
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-relationship-type-form-block-label_a_b">
|
||||
<td class="label">{$form.label_a_b.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_relationship_type' field='label_a_b' id=$relationship_type_id}{/if}</td>
|
||||
<td>{$form.label_a_b.html}<br />
|
||||
<span class="description">{ts}Label for the relationship from Contact A to Contact B. EXAMPLE: Contact A is 'Parent of' Contact B.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-relationship-type-form-block-label_b_a">
|
||||
<td class="label">{$form.label_b_a.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_relationship_type' field='label_b_a' id=$relationship_type_id}{/if}</td>
|
||||
<td>{$form.label_b_a.html}<br />
|
||||
<span class="description">{ts}Label for the relationship from Contact B to Contact A. EXAMPLE: Contact B is 'Child of' Contact A. You may leave this blank for relationships where the name is the same in both directions (e.g. Spouse).{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-relationship-type-form-block-contact_types_a">
|
||||
<td class="label">{$form.contact_types_a.label}</td>
|
||||
<td>{$form.contact_types_a.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-relationship-type-form-block-contact_types_b">
|
||||
<td class="label">{$form.contact_types_b.label}</td>
|
||||
<td>{$form.contact_types_b.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-relationship-type-form-block-description">
|
||||
<td class="label">{$form.description.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_relationship_type' field='description' id=$relationship_type_id}{/if}</td>
|
||||
<td>{$form.description.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-relationship-type-form-block-is_active">
|
||||
<td class="label">{$form.is_active.label}</td>
|
||||
<td>{$form.is_active.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -0,0 +1,291 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 used for adding/scheduling reminders. *}
|
||||
<div class="crm-block crm-form-block crm-scheduleReminder-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
|
||||
{if $action eq 8}
|
||||
<div class="messages status no-popup">
|
||||
<div class="icon inform-icon"></div>
|
||||
{ts 1=$reminderName}WARNING: You are about to delete the Reminder titled <strong>%1</strong>.{/ts} {ts}Do you want to continue?{/ts}
|
||||
</div>
|
||||
{else}
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-scheduleReminder-form-block-title">
|
||||
<td class="right">{$form.title.label}</td><td colspan="3">{$form.title.html}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">{$form.entity.label}</td>
|
||||
<td>{$form.entity.html}</td>
|
||||
</tr>
|
||||
|
||||
<tr class="crm-scheduleReminder-form-block-when">
|
||||
<td class="right">{$form.start_action_offset.label}</td>
|
||||
<td colspan="3">{include file="CRM/common/jcalendar.tpl" elementName=absolute_date} <strong id='OR'>OR</strong><br /></td>
|
||||
</tr>
|
||||
|
||||
<tr id="relativeDate" class="crm-scheduleReminder-form-block-description">
|
||||
<td class="right"></td>
|
||||
<td colspan="3">{$form.start_action_offset.html} {$form.start_action_unit.html} {$form.start_action_condition.html} {$form.start_action_date.html}</td>
|
||||
</tr>
|
||||
<tr id="recordActivity" class="crm-scheduleReminder-form-block-record_activity"><td class="label" width="20%">{$form.record_activity.label}</td>
|
||||
<td>{$form.record_activity.html}</td>
|
||||
</tr>
|
||||
<tr id="relativeDateRepeat" class="crm-scheduleReminder-form-block-is_repeat"><td class="label" width="20%">{$form.is_repeat.label}</td>
|
||||
<td>{$form.is_repeat.html} <span class="description">{ts}Enable repetition.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr id="repeatFields" class="crm-scheduleReminder-form-block-repeatFields"><td></td><td>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-scheduleReminder-form-block-repetition_frequency_interval">
|
||||
<td class="label">{$form.repetition_frequency_interval.label} {$form.repetition_frequency_interval.html}</td>
|
||||
<td>{$form.repetition_frequency_unit.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-scheduleReminder-form-block-repetition_frequency_interval">
|
||||
<td class="label">{$form.end_frequency_interval.label} {$form.end_frequency_interval.html}
|
||||
<td>{$form.end_frequency_unit.html} {$form.end_action.html} {$form.end_date.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label" width="20%">{$form.from_name.label}</td>
|
||||
<td>{$form.from_name.html} {help id="id-from_name_email"}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label" width="20%">{$form.from_email.label}</td>
|
||||
<td>{$form.from_email.html} </td>
|
||||
</tr>
|
||||
<tr class="crm-scheduleReminder-form-block-recipient">
|
||||
<td id="recipientLabel" class="right">{$form.recipient.label}</td><td colspan="3">{$form.limit_to.html} {help id="limit_to" class="limit_to" title=$form.recipient.label}{$form.recipient.html} {help id="recipient" class="recipient" title=$recipientLabels.activity}</td>
|
||||
</tr>
|
||||
<tr id="recipientList" class="crm-scheduleReminder-form-block-recipientListing recipient">
|
||||
<td class="right">{$form.recipient_listing.label}</td><td colspan="3">{$form.recipient_listing.html}</td>
|
||||
</tr>
|
||||
<tr id="recipientManual" class="crm-scheduleReminder-form-block-recipient_manual_id recipient">
|
||||
<td class="label">{$form.recipient_manual_id.label}</td>
|
||||
<td>{$form.recipient_manual_id.html}{edit}<div class="description">{ts}You can manually send out the reminders to these recipients.{/ts}</div>{/edit}</td>
|
||||
</tr>
|
||||
|
||||
<tr id="recipientGroup" class="crm-scheduleReminder-form-block-recipient_group_id recipient">
|
||||
<td class="label">{$form.group_id.label}</td>
|
||||
<td>{$form.group_id.html}</td>
|
||||
</tr>
|
||||
<tr id="msgMode" class="crm-scheduleReminder-form-block-mode">
|
||||
<td class="label">{$form.mode.label}</td>
|
||||
<td>{$form.mode.html}</td>
|
||||
</tr>
|
||||
{if $multilingual}
|
||||
<tr class="crm-scheduleReminder-form-block-filter-contact-language">
|
||||
<td class="label">{$form.filter_contact_language.label}</td>
|
||||
<td>{$form.filter_contact_language.html} {help id="filter_contact_language"}</td>
|
||||
</tr>
|
||||
<tr class="crm-scheduleReminder-form-block-communication-language">
|
||||
<td class="label">{$form.communication_language.label}</td>
|
||||
<td>{$form.communication_language.html} {help id="communication_language"}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="crm-scheduleReminder-form-block-active">
|
||||
<td class="label"></td>
|
||||
<td>{$form.is_active.html} {$form.is_active.label}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<fieldset id="email" class="crm-collapsible" style="display: block;">
|
||||
<legend class="collapsible-title">{ts}Email Screen{/ts}</legend>
|
||||
<div>
|
||||
<table id="email-field-table" class="form-layout-compressed">
|
||||
<tr class="crm-scheduleReminder-form-block-template">
|
||||
<td class="label">{$form.template.label}</td>
|
||||
<td>{$form.template.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-scheduleReminder-form-block-subject">
|
||||
<td class="label">{$form.subject.label}</td>
|
||||
<td>{$form.subject.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{include file="CRM/Contact/Form/Task/EmailCommon.tpl" upload=1 noAttach=1}
|
||||
</div>
|
||||
</fieldset>
|
||||
{if $sms}
|
||||
<fieldset id="sms" class="crm-collapsible"><legend class="collapsible-title">{ts}SMS Screen{/ts}</legend>
|
||||
<div>
|
||||
<table id="sms-field-table" class="form-layout-compressed">
|
||||
<tr id="smsProvider" class="crm-scheduleReminder-form-block-sms_provider_id">
|
||||
<td class="label">{$form.sms_provider_id.label}</td>
|
||||
<td>{$form.sms_provider_id.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-scheduleReminder-form-block-sms-template">
|
||||
<td class="label">{$form.SMStemplate.label}</td>
|
||||
<td>{$form.SMStemplate.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{include file="CRM/Contact/Form/Task/SMSCommon.tpl" upload=1 noAttach=1}
|
||||
<div>
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
{include file="CRM/common/showHideByFieldValue.tpl"
|
||||
trigger_field_id = "is_repeat"
|
||||
trigger_value = "true"
|
||||
target_element_id = "repeatFields"
|
||||
target_element_type = "table-row"
|
||||
field_type = "radio"
|
||||
invert = "false"
|
||||
}
|
||||
|
||||
{include file="CRM/common/showHideByFieldValue.tpl"
|
||||
trigger_field_id ="recipient"
|
||||
trigger_value = 'manual'
|
||||
target_element_id ="recipientManual"
|
||||
target_element_type ="table-row"
|
||||
field_type ="select"
|
||||
invert = 0
|
||||
}
|
||||
|
||||
{include file="CRM/common/showHideByFieldValue.tpl"
|
||||
trigger_field_id ="recipient"
|
||||
trigger_value = 'group'
|
||||
target_element_id ="recipientGroup"
|
||||
target_element_type ="table-row"
|
||||
field_type ="select"
|
||||
invert = 0
|
||||
}
|
||||
|
||||
{literal}
|
||||
<script type='text/javascript'>
|
||||
CRM.$(function($) {
|
||||
var $form = $('form.{/literal}{$form.formClass}{literal}'),
|
||||
recipientMapping = eval({/literal}{$recipientMapping}{literal});
|
||||
|
||||
$('#absolute_date_display', $form).change(function() {
|
||||
if($(this).val()) {
|
||||
$('#relativeDate, #relativeDateRepeat, #repeatFields, #OR', $form).hide();
|
||||
} else {
|
||||
$('#relativeDate, #relativeDateRepeat, #OR', $form).show();
|
||||
}
|
||||
});
|
||||
if ($('#absolute_date_display', $form).val()) {
|
||||
$('#relativeDate, #relativeDateRepeat, #repeatFields, #OR', $form).hide();
|
||||
}
|
||||
|
||||
loadMsgBox();
|
||||
$('#mode', $form).change(loadMsgBox);
|
||||
|
||||
function populateRecipient() {
|
||||
var mappingID = $('#entity_0', $form).val() || $('[name^=mappingID]', $form).val();
|
||||
var recipient = $("#recipient", $form).val();
|
||||
$("#recipientList", $form).hide();
|
||||
if ($('#limit_to').val() != '' ) {
|
||||
$.getJSON(CRM.url('civicrm/ajax/recipientListing'), {mappingID: mappingID, recipientType: recipient},
|
||||
function (result) {
|
||||
if (!CRM._.isEmpty(result.recipients)) {
|
||||
CRM.utils.setOptions($('#recipient_listing', $form), result.recipients);
|
||||
$("#recipientList", $form).show();
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
showHideLimitTo();
|
||||
}
|
||||
|
||||
// CRM-14070 Hide limit-to when entity is activity
|
||||
function showHideLimitTo() {
|
||||
$('#limit_to', $form).toggle(!($('#entity_0', $form).val() == '1'));
|
||||
if ($('#entity_0', $form).val() != '1' || !($('#entity_0').length)) {
|
||||
if ($('#limit_to', $form).val() == '') {
|
||||
$('tr.recipient:visible, #recipientList, #recipient, a.recipient').hide();
|
||||
$('a.limit_to').show();
|
||||
}
|
||||
else {
|
||||
$('a.limit_to, a.recipient').show();
|
||||
$('#recipient').css("margin-left", "12px");
|
||||
}
|
||||
$("label[for='recipient']").text('{/literal}{$recipientLabels.other}{literal}');
|
||||
}
|
||||
else {
|
||||
$('#recipient, a.recipient').show()
|
||||
$('#recipient').css("margin-left", "-2px");
|
||||
$('a.limit_to').hide();
|
||||
$("label[for='recipient']").text('{/literal}{$recipientLabels.activity}{literal}');
|
||||
}
|
||||
}
|
||||
|
||||
$('#recipient', $form).change(populateRecipient);
|
||||
|
||||
{/literal}{if !$context}{literal}
|
||||
var entity = $('#entity_0', $form).val();
|
||||
if (!(entity === '2' || entity === '3')) {
|
||||
$('#recipientList', $form).hide();
|
||||
}
|
||||
|
||||
$('#entity_0, #limit_to', $form).change(buildSelects);
|
||||
|
||||
buildSelects();
|
||||
|
||||
function buildSelects() {
|
||||
var mappingID = $('#entity_0', $form).val();
|
||||
var isLimit = $('#limit_to', $form).val();
|
||||
|
||||
$.getJSON(CRM.url('civicrm/ajax/mapping'), {mappingID: mappingID, isLimit: isLimit},
|
||||
function (result) {
|
||||
CRM.utils.setOptions($('#start_action_date', $form), result.sel4);
|
||||
CRM.utils.setOptions($('#end_date', $form), result.sel4);
|
||||
CRM.utils.setOptions($('#recipient', $form), result.sel5);
|
||||
recipientMapping = result.recipientMapping;
|
||||
populateRecipient();
|
||||
}
|
||||
);
|
||||
}
|
||||
{/literal}{else}{literal}
|
||||
populateRecipient();
|
||||
$('#limit_to', $form).change(populateRecipient);
|
||||
{/literal}{/if}{literal}
|
||||
|
||||
function loadMsgBox() {
|
||||
if (cj('#mode').val() == 'Email' || cj('#mode').val() == 0){
|
||||
cj('#sms').hide();
|
||||
cj('#email').show();
|
||||
}
|
||||
else if (cj('#mode').val() == 'SMS'){
|
||||
cj('#email').hide();
|
||||
cj('#sms').show();
|
||||
showSaveUpdateChkBox('SMS');
|
||||
}
|
||||
else if (cj('#mode').val() == 'User_Preference'){
|
||||
cj('#email').show();
|
||||
cj('#sms').show();
|
||||
showSaveUpdateChkBox('SMS');
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
{/if}
|
||||
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -0,0 +1,58 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-block crm-form-block crm-case-form-block">
|
||||
{*<div class="help">*}
|
||||
{*{ts}...{/ts} {docURL page="Debugging for developers" resource="wiki"}*}
|
||||
{*</div>*}
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout">
|
||||
<tr class="crm-case-form-block-civicaseRedactActivityEmail">
|
||||
<td class="label">{$form.civicaseRedactActivityEmail.label}</td>
|
||||
<td>{$form.civicaseRedactActivityEmail.html}<br />
|
||||
<span class="description">{ts}Should activity emails be redacted?{/ts} {ts}(Set "Default" to load setting from the legacy "Settings.xml" file.){/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-case-form-block-civicaseAllowMultipleClients">
|
||||
<td class="label">{$form.civicaseAllowMultipleClients.label}</td>
|
||||
<td>{$form.civicaseAllowMultipleClients.html}<br />
|
||||
<span class="description">{ts}How many clients may be associated with a given case?{/ts} {ts}(Set "Default" to load setting from the legacy "Settings.xml" file.){/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-case-form-block-civicaseNaturalActivityTypeSort">
|
||||
<td class="label">{$form.civicaseNaturalActivityTypeSort.label}</td>
|
||||
<td>{$form.civicaseNaturalActivityTypeSort.html}<br />
|
||||
<span class="description">{ts}How to sort activity-types on the "Manage Case" screen? {/ts} {ts}(Set "Default" to load setting from the legacy "Settings.xml" file.){/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-case-form-block-civicaseActivityRevisions">
|
||||
<td class="label">{$form.civicaseActivityRevisions.label}</td>
|
||||
<td>{$form.civicaseActivityRevisions.html}<br />
|
||||
<span class="description">{ts}Enable embedded tracking to activity revisions within the "civicrm_activity" table. Alternatively, see "Administer => System Settings => Misc => Logging".{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -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="components-title"}
|
||||
{ts}Components{/ts}
|
||||
{/htxt}
|
||||
{htxt id="components"}
|
||||
<p>{ts}These optional components give you more tools to connect with and engage your supporters.{/ts}</p>
|
||||
<p>{ts}<strong>CiviContribute</strong> - An online fundraising and donor management component which enables you to track and manage contributions to your organization. It also allows you to quickly and easily create customized web pages to accept online donations.{/ts} {docURL page="user/contributions/what-is-civicontribute"}</p>
|
||||
<p>{ts}<strong>CiviPledge</strong> - Record and track pledges received from contributors. Send pledge acknowledgements and payment reminders. Configure online contribution pages to support self-service pledging and pledge payments.{/ts} {docURL page="user/pledges/what-is-civipledge"}</p>
|
||||
<p>{ts}<strong>CiviMail</strong> - A robust mass-mailing component which allows you to engage your constituents with personalized email blasts and newsletters.{/ts} {docURL page="user/email/what-is-civimail"}</p>
|
||||
<p>{ts}<strong>CiviMember</strong> - A flexible membership management component which includes convenient online signup and renewal.{/ts} {docURL page="user/membership/introduction-to-memberships/"}</p>
|
||||
<p>{ts}<strong>CiviEvent</strong> - Provides integrated online event registration and management for paid and free events. It allows you to quickly and easily create customized web pages to for event registration, and then track participants.{/ts} {docURL page="user/events/what-is-civievent"}</p>
|
||||
<p>{ts}<strong>CiviCampaign</strong> - Lets you link together events, mailings, activities, and contributions under one "umbrella" so that you can track the progress of all your efforts towards one programmatic goal or campaign.{/ts} {docURL page="user/campaign/what-is-civicampaign"}</p>
|
||||
<p>{ts}<strong>CiviCase</strong> - Integrated case management component, including a dashboard with "my cases", automated case timelines and configurable audit reports.{/ts} {docURL page="user/case-management/what-is-civicase"}</p>
|
||||
<p>{ts}<strong>CiviGrant</strong> - Designed to be used by organizations that distribute funds to others, for example foundations, grant givers, etc.{/ts} {docURL page="user/grants/what-is-civigrant"}</p>
|
||||
{/htxt}
|
|
@ -0,0 +1,37 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-block crm-form-block crm-component-form-block">
|
||||
<div class="help">
|
||||
{ts}CiviCRM includes several optional components which give you more tools to connect with and engage your constituents.{/ts}{help id="components"}
|
||||
</div>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
{$form.enableComponents.html}
|
||||
<p class="description">
|
||||
{ts}Enabled components are listed in the right-hand box. Disabled components are listed in the left-hand box. Highlight a component and click the Enable or Disable button to move it from one box to the other. Then click <strong>Save</strong>.{/ts}
|
||||
</p>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
||||
<div class="spacer"></div>
|
|
@ -0,0 +1,49 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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='date-format-title'}
|
||||
{ts}Date Display Formats{/ts}
|
||||
{/htxt}
|
||||
{htxt id='date-format'}
|
||||
<p>{ts}Use this screen to configure formats for date display and date input fields. Defaults are provided for standard United States formats. Settings use standard POSIX specifiers. Available specifiers and the values produced will vary based on your operating system and locale.{/ts}</p>
|
||||
<p><strong>{ts}Commonly Used Specifiers{/ts}</strong></p>
|
||||
<ul>
|
||||
<li>%b - {ts}abbreviated month name ('Jan'..'Dec'){/ts}</li>
|
||||
<li>%B - {ts}full month name ('January'..'December'){/ts}</li>
|
||||
<li>%d - {ts}day of the month as a decimal number, 0-padded ('01'..'31'){/ts}</li>
|
||||
<li>%e - {ts}day of the month as a decimal number, blank-padded (' 1'..'31'){/ts}</li>
|
||||
<li>%E - {ts}day of the month as a decimal number ('1'..'31'){/ts}</li>
|
||||
<li>%f - {ts}English ordinal suffix for the day of the month ('st', 'nd', 'rd', 'th'){/ts}</li>
|
||||
<li>%H - {ts}hour in 24-hour format, 0-padded ('00'..'23'){/ts}</li>
|
||||
<li>%I - {ts}hour in 12-hour format, 0-padded ('01'..'12'){/ts}</li>
|
||||
<li>%k - {ts}hour in 24-hour format, blank-padded (' 0'..'23'){/ts}</li>
|
||||
<li>%l - {ts}hour in 12-hour format, blank-padded (' 1'..'12'){/ts}</li>
|
||||
<li>%m - {ts}month as a decimal number, 0-padded ('01'..'12'){/ts}</li>
|
||||
<li>%M - {ts}minute, 0-padded ('00'..'60'){/ts}</li>
|
||||
<li>%p - {ts}lowercase ante/post meridiem ('am', 'pm'){/ts}</li>
|
||||
<li>%P - {ts}uppercase ante/post meridiem ('AM', 'PM'){/ts}</li>
|
||||
<li>%Y - {ts}year as a decimal number including the century ('2015'){/ts}</li>
|
||||
</ul>
|
||||
{/htxt}
|
|
@ -0,0 +1,90 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-block crm-form-block crm-date-form-block">
|
||||
<div class="help">
|
||||
{capture assign=crmURL}{crmURL p='civicrm/admin/setting/preferences/date' q='action=reset=1'}{/capture}
|
||||
{ts 1=$crmURL}Use this screen to configure default formats for date display and date input fields throughout your site. Settings use standard POSIX specifiers. New installations are preconfigured with standard United States formats. You can override this default setting and define the range of allowed dates for specific field types at <a href="%1">Administer > Customize Data and Screens > Date Preferences</a>{/ts} {help id='date-format'}
|
||||
</div>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<fieldset><legend>{ts}Date Display{/ts}</legend>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-date-form-block-dateformatDatetime">
|
||||
<td class="label">{$form.dateformatDatetime.label}</td>
|
||||
<td>{$form.dateformatDatetime.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-date-form-block-dateformatFull">
|
||||
<td class="label">{$form.dateformatFull.label}</td>
|
||||
<td>{$form.dateformatFull.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-date-form-block-dateformatPartial">
|
||||
<td class="label">{$form.dateformatPartial.label}</td>
|
||||
<td>{$form.dateformatPartial.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-date-form-block-dateformatYear">
|
||||
<td class="label">{$form.dateformatYear.label}</td>
|
||||
<td>{$form.dateformatYear.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-date-form-block-dateformatTime">
|
||||
<td class="label">{$form.dateformatTime.label}</td>
|
||||
<td>{$form.dateformatTime.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-date-form-block-dateformatTime">
|
||||
<td class="label">{$form.dateformatFinancialBatch.label}</td>
|
||||
<td>{$form.dateformatFinancialBatch.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-date-form-block-dateformatTime">
|
||||
<td class="label">{$form.dateformatshortdate.label}</td>
|
||||
<td>{$form.dateformatshortdate.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<fieldset><legend>{ts}Date Input Fields{/ts}</legend>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-date-form-block-dateInputFormat">
|
||||
<td class="label">{$form.dateInputFormat.label}</td>
|
||||
<td>{$form.dateInputFormat.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-date-form-block-timeInputFormat">
|
||||
<td class="label">{$form.timeInputFormat.label}</td>
|
||||
<td>{$form.timeInputFormat.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<fieldset><legend>{ts}Calendar{/ts}</legend>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-date-form-block-weekBegins">
|
||||
<td class="label">{$form.weekBegins.label}</td>
|
||||
<td>{$form.weekBegins.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-date-form-block-fiscalYearStart">
|
||||
<td class="label">{$form.fiscalYearStart.label}</td>
|
||||
<td>{$form.fiscalYearStart.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
<div class="spacer"></div>
|
||||
</div>
|
|
@ -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="debug-title"}
|
||||
{ts}Debugging{/ts}
|
||||
{/htxt}
|
||||
{htxt id="debug"}
|
||||
<p>{ts}Set this value to <strong>Yes</strong> if you want to use one of CiviCRM's debugging tools.{/ts} <strong>{ts}This feature should NOT be enabled for production sites.{/ts}</strong></p>
|
||||
<p>{ts}Debug output is triggered by adding specific name-value pairs to the CiviCRM query string:{/ts}<br />
|
||||
<ul>
|
||||
<li><strong>{ts}Smarty Debug Window{/ts}</strong> - {ts}Loads all variables available to the current page template into a pop-up window. To trigger, add <em>&smartyDebug=1</em> to any CiviCRM URL query string. Make sure you have pop-up blocking disabled in your browser for the CiviCRM site URL.{/ts}</li>
|
||||
<li><strong>{ts}Session Reset{/ts}</strong> - {ts 1='&sessionReset=2'}Resets all values in your client session. To trigger, add <em>%1</em>{/ts}</li>
|
||||
<li><strong>{ts}Directory Cleanup{/ts}</strong> -{ts}Empties template cache and/or temporary upload file folders.{/ts}
|
||||
<ul>
|
||||
<li>{ts 1='&directoryCleanup=1'}To empty template cache (civicrm/templates_c folder), add <em>%1</em>{/ts}</li>
|
||||
<li>{ts 1='&directoryCleanup=2'}To remove temporary upload files (civicrm/upload folder), add <em>%1</em>{/ts}</li>
|
||||
<li>{ts 1='&directoryCleanup=3'}To cleanup both, add <em>%1</em>{/ts}</li>
|
||||
</ul></li>
|
||||
<li><strong>{ts}Stack Trace{/ts}</strong> - {ts 1='&backtrace=1'}To display a stack trace listing at the top of a page, add <em>%1</em>{/ts}</li>
|
||||
</ul>
|
||||
</p>
|
||||
{/htxt}
|
||||
|
||||
{htxt id="userFrameworkLogging-title"}
|
||||
{ts}Logging{/ts}
|
||||
{/htxt}
|
||||
{htxt id="userFrameworkLogging"}
|
||||
<p>{ts}Set this value to <strong>Yes</strong> if you want CiviCRM error/debugging messages the appear in your CMS' error log.{/ts}</strong></p>
|
||||
<p>{ts}In the case of Drupal, this will cause all CiviCRM error messages to appear in the watchdog (assuming you have Drupal's watchdog enabled){/ts}</p>
|
||||
{/htxt}
|
|
@ -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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
<div class="crm-block crm-form-block crm-debugging-form-block">
|
||||
<div class="help">
|
||||
{ts}In addition to the settings on this screen, there are a number of settings you can add to your sites's settings file (civicrm.settings.php) to provide additional debugging information.{/ts} {docURL page="Debugging for developers" resource="wiki"}
|
||||
</div>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout">
|
||||
{if $form.userFrameworkLogging}
|
||||
<tr class="crm-debugging-form-block-userFrameworkLogging">
|
||||
<td class="label">{$form.userFrameworkLogging.label}</td>
|
||||
<td>{$form.userFrameworkLogging.html}<br />
|
||||
<span class="description">{ts}Set this value to <strong>Yes</strong> if you want CiviCRM error/debugging messages to appear in the Drupal error logs{/ts} {help id='userFrameworkLogging'}</span></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="crm-debugging-form-block-debug">
|
||||
<td class="label">{$form.debug_enabled.label}</td>
|
||||
<td>{$form.debug_enabled.html}<br />
|
||||
<span class="description">{ts}<strong>This feature should NOT be enabled for production sites.</strong><br />Set this value to <strong>Yes</strong> if you want to use one of CiviCRM's debugging tools.{/ts} {help id='debug'}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-debugging-form-block-backtrace">
|
||||
<td class="label">{$form.backtrace.label}</td>
|
||||
<td>{$form.backtrace.html}<br />
|
||||
<span class="description">{ts}<strong>This feature should NOT be enabled for production sites.</strong><br />Set this value to <strong>Yes</strong> if you want to display a backtrace listing when a fatal error is encountered.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-debugging-form-block-environment">
|
||||
<td class="label">{$form.environment.label}</td>
|
||||
<td>{$form.environment.html}<br />
|
||||
<span class="description">{ts}Set this value to <strong>Staging/Development</strong> to prevent cron jobs & mailings from being executed.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-debugging-form-block-fatalErrorHandler">
|
||||
<td class="label">{$form.fatalErrorHandler.label}</td>
|
||||
<td>{$form.fatalErrorHandler.html}<br />
|
||||
<span class="description">{ts}Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-debugging-form-block-assetCache">
|
||||
<td class="label">{$form.assetCache.label}</td>
|
||||
<td>{$form.assetCache.html}<br />
|
||||
<span class="description">{ts}Store computed JS/CSS content in cache files? (Note: In "Auto" mode, the "Debug" setting will determine whether to activate the cache.){/ts}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
<div class="spacer"></div>
|
||||
</div>
|
|
@ -0,0 +1,41 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="CiviEvent Cart Checkout" text="CiviEvent Cart Checkout" resource="wiki"}{/capture}
|
||||
<div class="crm-block crm-form-block">
|
||||
<div class="help">
|
||||
{ts 1=$docLink}These settings are used to configure properties for the CiviEvent component. Please read the %1 documentation, and make sure you understand it before modifying default values.{/ts}
|
||||
</div>
|
||||
<div class="crm-block crm-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-mail-form-block-enable_cart">
|
||||
<td class="label">{$form.enable_cart.label}</td><td>{$form.enable_cart.html}<br />
|
||||
<span class="description">{ts}Check to enable the Event Cart checkout workflow.{/ts}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
<div class="spacer"></div>
|
||||
</div>
|
|
@ -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="money_format_help"}
|
||||
{ts}Special symbols include:{/ts}
|
||||
<ul>
|
||||
<li><strong>%c</strong> {ts}currency symbol (e.g. '$'){/ts}</li>
|
||||
<li><strong>%C</strong> {ts}currency ISO code (e.g. 'USD'){/ts}</li>
|
||||
<li><strong>%a</strong> {ts}monetary amount, formatted according to selected Monetary Locale{/ts}</li>
|
||||
</ul>
|
||||
{ts 1='href="http://php.net/manual/en/function.money-format.php"'}For a full list of options see the php <a %1>money_format documentation</a>.{/ts}
|
||||
{/capture}
|
||||
{htxt id="inheritLocale"}
|
||||
<p>
|
||||
{ts}If checked, CiviCRM will follow CMS language changes.{/ts}
|
||||
</p>
|
||||
{/htxt}
|
||||
{htxt id="defaultCurrency"}
|
||||
<p>
|
||||
{ts}Default currency assigned to contributions and other monetary transactions.{/ts}
|
||||
</p>
|
||||
{/htxt}
|
||||
{htxt id="moneyformat"}
|
||||
<p>
|
||||
{ts}Format for displaying monetary amounts with currency symbol.{/ts}
|
||||
</p><p>
|
||||
{$money_format_help}
|
||||
</p>
|
||||
{/htxt}
|
||||
{htxt id="moneyvalueformat"}
|
||||
<p>
|
||||
{ts}Format for displaying monetary values without the currency symbol.{/ts}
|
||||
</p><p>
|
||||
{$money_format_help}
|
||||
</p>
|
||||
{/htxt}
|
||||
{htxt id="customTranslateFunction"}
|
||||
<p>
|
||||
{ts}You may override the ts() function in CiviCRM by defining your own translation function.{/ts}
|
||||
</p>
|
||||
{/htxt}
|
||||
{htxt id="legacyEncoding"}
|
||||
<p>
|
||||
{ts}If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of <strong>Windows-1252</strong> will work for Excel-created .CSV files on many computers.{/ts}
|
||||
</p>
|
||||
{/htxt}
|
||||
{htxt id="fieldSeparator"}
|
||||
<p>
|
||||
{ts}Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: ',' ';' ':' '|' ).{/ts}
|
||||
</p>
|
||||
{/htxt}
|
||||
{htxt id="defaultContactCountry"}
|
||||
<p>
|
||||
{ts}This value is selected by default when adding a new contact address.{/ts}
|
||||
</p>
|
||||
{/htxt}
|
||||
{htxt id="countryLimit"}
|
||||
<p>
|
||||
{ts}Which countries are available in the Country selection field when adding or editing contact addresses. Profile and Custom 'Country' fields also use this setting. To include ALL countries, leave the right-hand box empty.{/ts}
|
||||
</p>
|
||||
{/htxt}
|
||||
{htxt id="provinceLimit"}
|
||||
<p>
|
||||
{ts}State/province listings are populated dynamically based on the selected Country for all standard contact address editing forms, as well as for <strong>Profile forms which include both a Country and a State/Province field</strong>. This setting controls which countries' states and/or provinces are available in the State/Province selection field <strong>for Custom Fields</strong> or for Profile forms which do NOT include a Country field.{/ts}
|
||||
</p>
|
||||
{/htxt}
|
|
@ -0,0 +1,146 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-block crm-form-block crm-localization-form-block">
|
||||
<div class="help">
|
||||
{ts}Configure CiviCRM for your country and language.{/ts}
|
||||
{docURL page="i18n Administrator's Guide: Using CiviCRM in your own language" resource="wiki"}
|
||||
</div>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"} </div>
|
||||
<h3>{ts}Language and Currency{/ts}</h3>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-localization-form-block-lcMessages">
|
||||
<td class="label">{$form.lcMessages.label}</td>
|
||||
<td>{$form.lcMessages.html}</td>
|
||||
</tr>
|
||||
{if $form.languageLimit}
|
||||
<tr class="crm-localization-form-block-languageLimit">
|
||||
<td class="label">{$form.languageLimit.label}</td>
|
||||
<td>{$form.languageLimit.html}<br />
|
||||
<span class="description">{ts}Languages available to users of this installation.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-addLanguage">
|
||||
<td class="label">{$form.addLanguage.label}</td>
|
||||
<td>{$form.addLanguage.html}<br />
|
||||
<span class="description">{ts}Add a new language to this installation.{/ts}</span></td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="crm-localization-form-block-inheritLocale">
|
||||
<td class="label">{$form.inheritLocale.label} {help id='inheritLocale' title=$form.inheritLocale.label}</td>
|
||||
<td>{$form.inheritLocale.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-contact_default_language">
|
||||
<td class="label">{$form.contact_default_language.label}</td>
|
||||
<td>{$form.contact_default_language.html}<br />
|
||||
<span class="description">{ts}Default language (if any) for contact records.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-defaultCurrency">
|
||||
<td class="label">{$form.defaultCurrency.label} {help id='defaultCurrency' title=$form.defaultCurrency.label}</td>
|
||||
<td>{$form.defaultCurrency.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-monetaryThousandSeparator">
|
||||
<td class="label">{$form.monetaryThousandSeparator.label}</td>
|
||||
<td>{$form.monetaryThousandSeparator.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-monetaryDecimalPoint">
|
||||
<td class="label">{$form.monetaryDecimalPoint.label}</td>
|
||||
<td>{$form.monetaryDecimalPoint.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-currencyLimit">
|
||||
<td class="label">{$form.currencyLimit.label}</td>
|
||||
<td>{$form.currencyLimit.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-moneyformat">
|
||||
<td class="label">{$form.moneyformat.label} {help id='moneyformat' title=$form.moneyformat.label}</td>
|
||||
<td>{$form.moneyformat.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-moneyvalueformat">
|
||||
<td class="label">{$form.moneyvalueformat.label} {help id='moneyvalueformat' title=$form.moneyvalueformat.label}</td>
|
||||
<td>{$form.moneyvalueformat.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-customTranslateFunction">
|
||||
<td class="label">{$form.customTranslateFunction.label} {help id='customTranslateFunction' title=$form.customTranslateFunction.label}</td>
|
||||
<td>{$form.customTranslateFunction.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-legacyEncoding">
|
||||
<td class="label">{$form.legacyEncoding.label} {help id='legacyEncoding' title=$form.legacyEncoding.label}</td>
|
||||
<td>{$form.legacyEncoding.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-fieldSeparator">
|
||||
<td class="label">{$form.fieldSeparator.label} {help id='fieldSeparator' title=$form.fieldSeparator.label}</td>
|
||||
<td>{$form.fieldSeparator.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h3>{ts}Contact Address Fields - Selection Values{/ts}</h3>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-localization-form-block-defaultContactCountry">
|
||||
<td class="label">{$form.defaultContactCountry.label} {help id='defaultContactCountry' title=$form.defaultContactCountry.label}</td>
|
||||
<td>{$form.defaultContactCountry.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-defaultContactStateProvince">
|
||||
<td class="label">{$form.defaultContactStateProvince.label} {help id='defaultContactCountry' title=$form.defaultContactStateProvince.label}</td>
|
||||
<td>{$form.defaultContactStateProvince.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-countryLimit">
|
||||
<td class="label">{$form.countryLimit.label} {help id='countryLimit' title=$form.countryLimit.label}</td>
|
||||
<td>{$form.countryLimit.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-provinceLimit">
|
||||
<td class="label">{$form.provinceLimit.label} {help id='provinceLimit' title=$form.provinceLimit.label}</td>
|
||||
<td>{$form.provinceLimit.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h3>{ts}Multiple Languages Support{/ts}</h3>
|
||||
<table class="form-layout-compressed">
|
||||
{if $form.languageLimit}
|
||||
<tr class="crm-localization-form-block-makeSinglelingual_description">
|
||||
<td></td>
|
||||
<td><span class="description">{ts 1="http://documentation.civicrm.org"}This is a multilingual installation. It contains certain schema differences compared to regular installations of CiviCRM. Please <a href="%1">refer to the documentation</a> for details.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-localization-form-block-makeSinglelingual">
|
||||
<td class="label">{$form.makeSinglelingual.label}</td>
|
||||
<td>{$form.makeSinglelingual.html}<br />
|
||||
<span class="description">{ts}Check this box and click 'Save' to switch this installation from multi- to single-language.{/ts}</span><br /><br />
|
||||
<span class="description" style="color:red">{$warning}</span></td>
|
||||
</tr>
|
||||
{elseif $form.makeMultilingual}
|
||||
<tr class="crm-localization-form-block-makeMultilingual">
|
||||
<td class="label">{$form.makeMultilingual.label}</td>
|
||||
<td>{$form.makeMultilingual.html}<br />
|
||||
<span class="description">{ts}Check this box and click 'Save' to switch this installation from single- to multi-language, then add further languages.{/ts}</span><br /><br />
|
||||
<span class="description" style="color:red">{$warning}</span></td>
|
||||
{else}
|
||||
<tr class="crm-localization-form-block-description">
|
||||
<td>
|
||||
<span class="description">{ts}In order to use this functionality, the installation's database user must have privileges to create triggers and views (in MySQL 5.0 – and in MySQL 5.1 if binary logging is enabled – this means the SUPER privilege). This install either does not seem to have the required privilege enabled.{/ts} {ts}(Multilingual support currently cannot be enabled on installations with enabled logging.){/ts}</span><br /><br />
|
||||
<span class="description" style="color:red">{$warning}</span></td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
<div class="crm-submit-buttons">
|
||||
{include file="CRM/common/formButtons.tpl" location="bottom"}
|
||||
</div>
|
||||
<div class="spacer"></div>
|
||||
</div>
|
|
@ -0,0 +1,32 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="CiviMail Mailer Settings" text="CiviMail Mailer Settings and Optimization" resource="wiki"}{/capture}
|
||||
<div class="crm-block crm-form-block crm-mail-form-block">
|
||||
<div class="help">
|
||||
{ts 1=$docLink}These settings are used to configure mailer properties for the optional CiviMail component and may allow you to significantly optimize performance. Please read the %1 documentation, and make sure you understand it before modifying default values. (These settings are NOT used for the built-in 'Email - send now' feature).{/ts}
|
||||
</div>
|
||||
{include file='CRM/Admin/Form/Setting/SettingForm.tpl'}
|
||||
</div>
|
|
@ -0,0 +1,31 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="map-intro-id-title"}
|
||||
{ts}Mapping Provider{/ts}
|
||||
{/htxt}
|
||||
{htxt id="map-intro-id"}
|
||||
<p>{ts}Accuracy and coverage, as well as terms of service for both geocoding and mapping may vary by provider and location. Some providers may offer or require paid subscriptions depending on volume of requests and type of organization using the service. You should investigate each provider and select the best option for your requirements and usage patterns.{/ts}</p>
|
||||
{/htxt}
|
|
@ -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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
<div class="crm-block crm-form-block crm-map-form-block">
|
||||
<div class="help">
|
||||
{ts}CiviCRM includes plugins for several mapping and geocoding web services. When your users save a contact or event location address, a geocoding service will convert the address into geographical coordinates, which are required for mapping. Yahoo’s geocoder will also automatically populate the postal code field. Mapping services allow your users to display addresses on a map.{/ts} {help id='map-intro-id'}
|
||||
</div>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-map-form-block-mapProvider">
|
||||
<td>{$form.mapProvider.label}</td>
|
||||
<td>{$form.mapProvider.html}<br />
|
||||
<span class="description">{ts}Choose the mapping provider that has the best coverage for the majority of your contact addresses.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-map-form-block-mapAPIKey">
|
||||
<td>{$form.mapAPIKey.label}</td>
|
||||
<td>{$form.mapAPIKey.html|crmAddClass:huge}<br />
|
||||
<span class="description">{ts}Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-map-form-block-geoProvider">
|
||||
<td>{$form.geoProvider.label}</td>
|
||||
<td>{$form.geoProvider.html}<br />
|
||||
<span class="description">{ts}You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-map-form-block-geoAPIKey">
|
||||
<td>{$form.geoAPIKey.label}</td>
|
||||
<td>{$form.geoAPIKey.html|crmAddClass:huge}<br />
|
||||
<span class="description">{ts}Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).{/ts}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
CRM.$(function($) {
|
||||
var $form = $('form.{/literal}{$form.formClass}{literal}');
|
||||
function showHideMapAPIkey() {
|
||||
var mapProvider = $(this).val();
|
||||
if ( !mapProvider || ( mapProvider === 'OpenStreetMaps' ) ) {
|
||||
$('tr.crm-map-form-block-mapAPIKey', $form).hide( );
|
||||
} else {
|
||||
$('tr.crm-map-form-block-mapAPIKey', $form).show( );
|
||||
}
|
||||
}
|
||||
$('#mapProvider').each(showHideMapAPIkey).change(showHideMapAPIkey);
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
|
@ -0,0 +1,116 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-block crm-form-block crm-miscellaneous-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
|
||||
<table class="form-layout">
|
||||
<tr class="crm-miscellaneous-form-block-checksum_timeout">
|
||||
<td class="label">{$form.checksum_timeout.label}</td>
|
||||
<td>{$form.checksum_timeout.html}<br />
|
||||
<span class="description">{ts}The number of days before a personalized (hashed) link will expire.{/ts}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="form-layout">
|
||||
<tr class="crm-miscellaneous-form-block-contact_undelete">
|
||||
<td class="label">{$form.contact_undelete.label}</td>
|
||||
<td>
|
||||
{$form.contact_undelete.html}<br />
|
||||
<p class="description">{ts}{$contact_undelete_description}{/ts}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-miscellaneous-form-block-logging">
|
||||
<td class="label">{$form.logging.label}</td>
|
||||
<td>
|
||||
{$form.logging.html}<br />
|
||||
{if $validTriggerPermission}
|
||||
<p class="description">{ts}If enabled, all actions will be logged with a complete record of changes.{/ts}</p>
|
||||
{else}
|
||||
<p class="description">{ts}In order to use this functionality, the installation's database user must have privileges to create triggers (in MySQL 5.0 – and in MySQL 5.1 if binary logging is enabled – this means the SUPER privilege). This install either does not seem to have the required privilege enabled.{/ts} {ts}This functionality cannot be enabled on multilingual installations.{/ts}</p>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-miscellaneous-form-block-doNotAttachPDFReceipt">
|
||||
<td class="label">{$form.doNotAttachPDFReceipt.label}</td>
|
||||
<td>{$form.doNotAttachPDFReceipt.html}<br />
|
||||
<p class="description">{ts}If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.{/ts}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-miscellaneous-form-block-recordGeneratedLetters">
|
||||
<td class="label">{$form.recordGeneratedLetters.label}</td>
|
||||
<td>{$form.recordGeneratedLetters.html}<br />
|
||||
<p class="description">{ts}When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?{/ts}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-miscellaneous-form-block-wkhtmltopdfPath">
|
||||
<td class="label">{$form.wkhtmltopdfPath.label}</td>
|
||||
<td>{$form.wkhtmltopdfPath.html}<br />
|
||||
<p class="description">{ts 1="http://wkhtmltopdf.org/"}<a href="%1">wkhtmltopdf is an alternative utility for generating PDF's</a> which may provide better performance especially if you are generating a large number of PDF letters or receipts. Your system administrator will need to download and install this utility, and enter the executable path here.{/ts}</p>
|
||||
</td>
|
||||
</tr>
|
||||
{foreach from=$pure_config_settings item=setting_name}
|
||||
<tr class="crm-miscellaneous-form-block-{$setting_name}">
|
||||
<td class="label">{$form.$setting_name.label}</td>
|
||||
<td>{$form.$setting_name.html}<br />
|
||||
<span class="description">{$setting_descriptions.$setting_name}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr class="crm-miscellaneous-form-block-remote_profile_submissions_allowed">
|
||||
<td class="label">{$form.remote_profile_submissions.label}</td>
|
||||
<td>{$form.remote_profile_submissions.html}<br />
|
||||
<p class="description">{ts}If enabled, CiviCRM will allow users to submit profiles from external sites. This is disabled by default to limit abuse.{/ts}</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3>{ts}reCAPTCHA Keys{/ts}</h3>
|
||||
|
||||
<div class="description">
|
||||
{ts 1="https://www.google.com/recaptcha"}reCAPTCHA is a free service that helps prevent automated abuse of your site. To use reCAPTCHA on public-facing CiviCRM forms: sign up at <a href="%1" "target=_blank">Google's reCaptcha site</a>; enter the provided public and private reCAPTCHA keys here; then enable reCAPTCHA under Advanced Settings in any Profile.{/ts}
|
||||
</div>
|
||||
<table class="form-layout">
|
||||
<tr class="crm-miscellaneous-form-block-recaptchaPublicKey">
|
||||
<td class="label">{$form.recaptchaPublicKey.label}</td>
|
||||
<td>{$form.recaptchaPublicKey.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-miscellaneous-form-block-recaptchaPrivateKey">
|
||||
<td class="label">{$form.recaptchaPrivateKey.label}</td>
|
||||
<td>{$form.recaptchaPrivateKey.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-miscellaneous-form-block-recaptchaOptions">
|
||||
<td class="label">{$form.recaptchaOptions.label}</td>
|
||||
<td>{$form.recaptchaOptions.html}<br />
|
||||
<span class="description">
|
||||
{ts}You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:'blackglass', lang : 'fr' ).{/ts}
|
||||
<br />
|
||||
{ts 1='href="https://developers.google.com/recaptcha/docs/display#config" target="_blank"'}Check the available options at <a %1>Customizing the Look and Feel of reCAPTCHA</a>.{/ts}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -0,0 +1,22 @@
|
|||
{htxt id='id-path_vars'}
|
||||
{ts}Path Variables{/ts}
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><tt>[cms.root]</tt></td>
|
||||
<td><tt>{crmResPath ext='cms.root'}</tt></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt>[civicrm.root]</tt></td>
|
||||
<td><tt>{crmResPath ext='civicrm.root'}</tt></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt>[civicrm.files]</tt></td>
|
||||
<td><tt>{crmResPath ext='civicrm.files'}</tt></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>
|
||||
{ts}These variables are computed automatically using <tt>civicrm.settings.php</tt> and its options, such as <tt>CIVICRM_TEMPLATE_COMPILEDIR</tt>.{/ts}
|
||||
</p>
|
||||
{/htxt}
|
|
@ -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="crm-block crm-form-block crm-path-form-block">
|
||||
<div class="help">
|
||||
<p>
|
||||
{ts}You may configure these upload directories using absolute paths or path variables.{/ts}
|
||||
{help id='id-path_vars'}
|
||||
</p>
|
||||
<p>
|
||||
{ts}If you modify the defaults, make sure that your web server has write access to the directories.{/ts}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout">
|
||||
<tr class="crm-path-form-block-uploadDir">
|
||||
<td class="label">{$form.uploadDir.label}</td>
|
||||
<td>{$form.uploadDir.html|crmAddClass:'huge40'}<br />
|
||||
<span class="description">{ts}File system path where temporary CiviCRM files - such as import data files - are uploaded.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-path-form-block-imageUploadDir">
|
||||
<td class="label">{$form.imageUploadDir.label}</td>
|
||||
<td>{$form.imageUploadDir.html|crmAddClass:'huge40'}<br />
|
||||
<span class="description">{ts}File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-path-form-block-customFileUploadDir">
|
||||
<td class="label">{$form.customFileUploadDir.label}</td>
|
||||
<td>{$form.customFileUploadDir.html|crmAddClass:'huge40'}<br />
|
||||
<span class="description">{ts}Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using 'file' type custom fields.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-path-form-block-customTemplateDir">
|
||||
<td class="label">{$form.customTemplateDir.label}</td>
|
||||
<td>{$form.customTemplateDir.html|crmAddClass:'huge40'}<br />
|
||||
<span class="description">{ts}Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named <em>templateFile.extra.tpl</em>.{/ts} {docURL page="Customize Built-in Screens" resource="wiki"}</span><br />
|
||||
<span class="description">{ts}CiviCase configuration files can also be stored in this custom path.{/ts} {docURL page="user/case-management/set-up"}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-path-form-block-customPHPPathDir">
|
||||
<td class="label">{$form.customPHPPathDir.label}</td>
|
||||
<td>{$form.customPHPPathDir.html|crmAddClass:'huge40'}<br />
|
||||
<span class="description">{ts}Path where site specific PHP code files are stored if any. This directory is searched first if set.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-path-form-block-extensionsDir">
|
||||
<td class="label">{$form.extensionsDir.label}</td>
|
||||
<td>{$form.extensionsDir.html|crmAddClass:'huge40'}<br />
|
||||
<span class="description">{ts}Path where CiviCRM extensions are stored.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -0,0 +1,97 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-block crm-form-block crm-search-setting-form-block">
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout">
|
||||
<tr class="crm-search-setting-form-block-includeWildCardInName">
|
||||
<td class="label">{$form.includeWildCardInName.label}</td>
|
||||
<td>{$form.includeWildCardInName.html}<br />
|
||||
<span class="description">{ts}If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for 'ada' will return any contact whose name includes those letters - e.g. 'Adams, Janet', 'Nadal, Jorge', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for 'ada' will return any contact whose last name begins with those letters - e.g. 'Adams, Janet' but NOT 'Nadal, Jorge'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards ('%' or '_') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: '%ada' will return 'Nadal, Jorge'.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-search-setting-form-block-includeEmailInName">
|
||||
<td class="label">{$form.includeEmailInName.label}</td>
|
||||
<td>{$form.includeEmailInName.html}<br />
|
||||
<span class="description">{ts}If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-search-setting-form-block-searchPrimaryDetailsOnly">
|
||||
<td class="label">{$form.searchPrimaryDetailsOnly.label}</td>
|
||||
<td>{$form.searchPrimaryDetailsOnly.html}<br />
|
||||
<span class="description">{ts}If enabled, only primary details (eg contact's primary email, phone, etc) will be included in Basic and Advanced Search results. Disabling this feature will allow users to match contacts using any email, phone etc detail.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-search-setting-form-block-includeNickNameInName">
|
||||
<td class="label">{$form.includeNickNameInName.label}</td>
|
||||
<td>{$form.includeNickNameInName.html}<br />
|
||||
<span class="description">{ts}If enabled, nicknames are automatically included when users search by Name.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-search-setting-form-block-includeAlphabeticalPager">
|
||||
<td class="label">{$form.includeAlphabeticalPager.label}</td>
|
||||
<td>{$form.includeAlphabeticalPager.html}<br />
|
||||
<span class="description">{ts}If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-search-setting-form-block-includeOrderByClause">
|
||||
<td class="label">{$form.includeOrderByClause.label}</td>
|
||||
<td>{$form.includeOrderByClause.html}<br />
|
||||
<span class="description">{ts}If disabled, the search results will not be ordered. This will improve response time on search results on large datasets significantly.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-search-setting-form-block-defaultSearchProfileID">
|
||||
<td class="label">{$form.defaultSearchProfileID.label}</td>
|
||||
<td>{$form.defaultSearchProfileID.html}<br />
|
||||
<span class="description">{ts}If set, this will be the default profile used for contact search. This is experimental functionality.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-search-setting-form-block-smartGroupCacheTimeout">
|
||||
<td class="label">{$form.smartGroupCacheTimeout.label}</td>
|
||||
<td>{$form.smartGroupCacheTimeout.html}<br />
|
||||
<span class="description">{ts}The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-search-setting-form-block-autocompleteContactSearch">
|
||||
<td class="label">{$form.contact_autocomplete_options.label}</td>
|
||||
<td>{$form.contact_autocomplete_options.html}<br/>
|
||||
<span class="description">{ts}Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-search-setting-form-block-autocompleteContactReference">
|
||||
<td class="label">{$form.contact_reference_options.label}</td>
|
||||
<td>{$form.contact_reference_options.html}<br/>
|
||||
<span class="description">{ts}Selected fields will be displayed in autocomplete dropdown search results for 'Contact Reference' custom fields. Contact Name is always included. NOTE: You must assign 'access contact reference fields' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the 'Limit List to Group' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-search-setting-form-block-search_autocomplete_count">
|
||||
<td class="label">{$form.search_autocomplete_count.label}</td>
|
||||
<td>{$form.search_autocomplete_count.html}<br />
|
||||
<span class="description">{ts}The maximum number of contacts to show at a time when typing in an autocomplete field.{/ts}</span></td>
|
||||
</tr>
|
||||
<tr class="crm-miscellaneous-form-block-enable_innodb_fts">
|
||||
<td class="label">{$form.enable_innodb_fts.label}</td>
|
||||
<td>{$form.enable_innodb_fts.html}<br />
|
||||
<p class="description">{$enable_innodb_fts_description}</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
|
||||
</div>
|
|
@ -0,0 +1,42 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout-compressed">
|
||||
{foreach from=$settings_fields key="setting_name" item="setting_detail"}
|
||||
<tr class="crm-mail-form-block-{$setting_name}">
|
||||
<td class="label">{$form.$setting_name.label}</td><td>{$form.$setting_name.html}<br />
|
||||
<span class="description">
|
||||
{ts}{$setting_detail.description}{/ts}
|
||||
</span>
|
||||
{if $setting_detail.help_text}
|
||||
{assign var='tplhelp_id' value = $setting_name|cat:'-id'|replace:'_':'-'}{help id="$tplhelp_id"}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
<div class="spacer"></div>
|
|
@ -0,0 +1,144 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-block crm-form-block crm-smtp-form-block">
|
||||
<div class="help">
|
||||
<p>{ts}CiviCRM offers several options to send emails. The default option should work fine on linux systems. If you are using windows, you probably need to enter settings for your SMTP/Sendmail server. You can send a test email to check your settings by clicking "Save and Send Test Email". If you're unsure of the correct values, check with your system administrator, ISP or hosting provider.{/ts}</p>
|
||||
<p>{ts}If you do not want users to send outbound mail from CiviCRM, select "Disable Outbound Email". NOTE: If you disable outbound email, and you are using Online Contribution pages or online Event Registration - you will need to disable automated receipts and registration confirmations.{/ts}</p>
|
||||
<p>{ts}If you choose Redirect to Database, all emails will be recorded as archived mailings instead of being sent out. They can be found in the civicrm_mailing_spool table in the CiviCRM database.{/ts}</p>
|
||||
|
||||
</div>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-smtp-form-block-outBound_option">
|
||||
<td class="label">{$form.outBound_option.label}</td>
|
||||
<td>{$form.outBound_option.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="bySMTP" class="mailoption">
|
||||
<fieldset>
|
||||
<legend>{ts}SMTP Configuration{/ts}</legend>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-smtp-form-block-smtpServer">
|
||||
<td class="label">{$form.smtpServer.label}</td>
|
||||
<td>{$form.smtpServer.html}<br />
|
||||
<span class="description">{ts}Enter the SMTP server (machine) name, such as "smtp.example.com". If the server uses SSL, add "ssl://" to the beginning of the server name, such as "ssl://smtp.example.com".{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-smtp-form-block-smtpPort">
|
||||
<td class="label">{$form.smtpPort.label}</td>
|
||||
<td>{$form.smtpPort.html}<br />
|
||||
<span class="description">{ts}The most common SMTP port possibilities are 25, 465, and 587. Check with your mail provider for the appropriate one.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-smtp-form-block-smtpAuth">
|
||||
<td class="label">{$form.smtpAuth.label}</td>
|
||||
<td>{$form.smtpAuth.html}<br />
|
||||
<span class="description">{ts}Does your SMTP server require authentication (user name + password)?{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-smtp-form-block-smtpUsername">
|
||||
<td class="label">{$form.smtpUsername.label}</td>
|
||||
<td>{$form.smtpUsername.html}</td>
|
||||
</tr>
|
||||
<tr class="crm-smtp-form-block-smtpPassword">
|
||||
<td class="label">{$form.smtpPassword.label}</td>
|
||||
<td>{$form.smtpPassword.html}<br />
|
||||
<span class="description">{ts}If your SMTP server requires authentication, enter your Username and Password here.{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div id="bySendmail" class="mailoption">
|
||||
<fieldset>
|
||||
<legend>{ts}Sendmail Configuration{/ts}</legend>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-smtp-form-block-sendmail_path">
|
||||
<td class="label">{$form.sendmail_path.label}</td>
|
||||
<td>{$form.sendmail_path.html}<br />
|
||||
<span class="description">{ts}Enter the Sendmail Path. EXAMPLE: /usr/sbin/sendmail{/ts}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-smtp-form-block-sendmail_args">
|
||||
<td class="label">{$form.sendmail_args.label}</td>
|
||||
<td>{$form.sendmail_args.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="spacer"></div>
|
||||
<div class="crm-submit-buttons">
|
||||
{include file="CRM/common/formButtons.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
CRM.$(function($) {
|
||||
var mailSetting = $("input[name='outBound_option']:checked").val( );
|
||||
|
||||
var archiveWarning = "{/literal}{ts escape='js'}WARNING: You are switching from a testing mode (Redirect to Database) to a live mode. Check Mailings > Archived Mailings, and delete any test mailings that are not in Completed status prior to running the mailing cron job for the first time. This will ensure that test mailings are not actually sent out.{/ts}{literal}"
|
||||
|
||||
showHideMailOptions( $("input[name='outBound_option']:checked").val( ) ) ;
|
||||
|
||||
function showHideMailOptions( value ) {
|
||||
switch( value ) {
|
||||
case "0":
|
||||
$("#bySMTP").show( );
|
||||
$("#bySendmail").hide( );
|
||||
$("#_qf_Smtp_refresh_test").prop('disabled', false);
|
||||
if (mailSetting == '5') {
|
||||
alert(archiveWarning);
|
||||
}
|
||||
break;
|
||||
case "1":
|
||||
$("#bySMTP").hide( );
|
||||
$("#bySendmail").show( );
|
||||
$("#_qf_Smtp_refresh_test").prop('disabled', false);
|
||||
if (mailSetting == '5') {
|
||||
alert(archiveWarning);
|
||||
}
|
||||
break;
|
||||
case "3":
|
||||
$('.mailoption').hide();
|
||||
$("#_qf_Smtp_refresh_test").prop('disabled', false);
|
||||
if (mailSetting == '5') {
|
||||
alert(archiveWarning);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
$("#bySMTP").hide( );
|
||||
$("#bySendmail").hide( );
|
||||
$("#_qf_Smtp_refresh_test").prop('disabled', true);
|
||||
}
|
||||
}
|
||||
|
||||
$("input[name='outBound_option']").click( function( ) {
|
||||
showHideMailOptions( $(this).val( ) );
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
{/literal}
|
|
@ -0,0 +1,60 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-block crm-form-block crm-uf-form-block">
|
||||
<div class="help">
|
||||
{ts}These settings define the CMS variables that are used with CiviCRM.{/ts}
|
||||
</div>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout-compressed">
|
||||
<tr class="crm-uf-form-block-userFrameworkUsersTableName">
|
||||
<td class="label">{$form.userFrameworkUsersTableName.label}</td>
|
||||
<td>{$form.userFrameworkUsersTableName.html}</td>
|
||||
</tr>
|
||||
{if $form.wpBasePage}
|
||||
<tr class="crm-uf-form-block-wpBasePage">
|
||||
<td class="label">{$form.wpBasePage.label}</td>
|
||||
<td>{$config->userFrameworkBaseURL}{$form.wpBasePage.html}
|
||||
<p class="description">{ts 1=$config->userFrameworkBaseURL}By default, CiviCRM will generate front-facing pages using the home page at %1 as its base. If you want to use a different template for CiviCRM pages, set the path here.{/ts}</p>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="crm-uf-form-block-syncCMSEmail">
|
||||
<td class="label">{$form.syncCMSEmail.label}</td>
|
||||
<td>{$form.syncCMSEmail.html}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
<div class="spacer"></div>
|
||||
{if $tablePrefixes}
|
||||
<div class="form-item">
|
||||
<fieldset>
|
||||
<legend>{ts}Views integration settings{/ts}</legend>
|
||||
<div>{ts}To enable CiviCRM Views integration, add the following to the site <code>settings.php</code> file:{/ts}</div>
|
||||
<pre>{$tablePrefixes}</pre>
|
||||
</fieldset>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
|
@ -0,0 +1,49 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-block crm-form-block crm-config-backend-form-block">
|
||||
<div class="help">
|
||||
<p>
|
||||
{ts}When migrating a site to a new server, the paths and URLs of your CiviCRM installation may change. {/ts}
|
||||
</p>
|
||||
<p>
|
||||
{capture assign="pathsURL"}{crmURL p="civicrm/admin/setting/path" q="reset=1"}{/capture}
|
||||
{capture assign="urlsURL"}{crmURL p="civicrm/admin/setting/url" q="reset=1"}{/capture}
|
||||
{ts 1=$pathsURL 2=$urlsURL}The old paths and URLs may be retained in some database records. Use this form to clear caches or to reset paths to their defaults. If you need further customizations, then update the <a href="%1">Directories</a> and <a href="%2">Resource URLs</a>.{/ts}
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<span class="crm-button crm-i-button">
|
||||
<i class="crm-i fa-undo"></i>
|
||||
{$form._qf_UpdateConfigBackend_next_cleanup.html}
|
||||
</span>
|
||||
<span class="crm-button crm-i-button">
|
||||
<i class="crm-i fa-terminal"></i>
|
||||
{$form._qf_UpdateConfigBackend_next_resetpaths.html}
|
||||
</span>
|
||||
</div>
|
||||
<div>{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
<div class="spacer"></div>
|
||||
</div>
|
|
@ -0,0 +1,110 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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-enable_ssl-title'}
|
||||
{ts}Force SSL{/ts}
|
||||
{/htxt}
|
||||
{htxt id='id-enable_ssl'}
|
||||
<p>{ts}This setting forces a redirect of all online contribution / member / event and CiviCRM administrator page requests to SSL secured URLs (https).{/ts}</p>
|
||||
<p>{ts}If you use a payment processor service where credit card and billing information is collected <strong>on your site</strong> it is strongly recommended that you create or obtain an <strong>SSL certificate</strong> and configure your webserver to support SSL connections. Consult your hosting provider or web-server documentation for more information on obtaining and installing SSL certificates.{/ts}</p>
|
||||
<p>{ts}Once you have your certificate installed, test that is working by navigating to one of your online contribution pages and changing the URL prefix from 'http://' to 'https://'. If your browser loads the page and indicates a valid security certificate - then you can change this setting to <strong>Yes</strong> and CiviCRM will automatically redirect requests for all online contribution / member / event / admin pages to the corresponding SSL secured URLs.{/ts}</p>
|
||||
{/htxt}
|
||||
|
||||
{htxt id='id-verify_ssl-title'}
|
||||
{ts}Verify SSL Certificates{/ts}
|
||||
{/htxt}
|
||||
{htxt id='id-verify_ssl'}
|
||||
<p>{ts}This setting will verify the SSL certificates received when making secure HTTPS connections to payment processors.{/ts}</p>
|
||||
<p>{ts}For example, in order to process a payment through Authorize.net, CiviCRM must make a request to https://secure2.authorize.net/gateway/transact.dll. Using https to connect to secure2.authorize.net insures that the connection is encrypted, but it's possible that CiviCRM is actually connecting to an attacker and the attacker is connecting to secure2.authorize.net.{/ts}</p>
|
||||
<p>{ts}Verifying the SSL certificate helps confirm that CiviCRM is securely communicating directly to payment processors.{/ts}</p>
|
||||
{/htxt}
|
||||
|
||||
{htxt id='id-resource_url-title'}
|
||||
{ts}Resource URL{/ts}
|
||||
{/htxt}
|
||||
{htxt id='id-resource_url'}
|
||||
{ts}Absolute URL of the location where the civicrm module or component has been installed.{/ts}
|
||||
<table class="form-layout-compressed">
|
||||
<tr><td>
|
||||
<strong>{ts}Example{/ts}</strong><br />
|
||||
{ts 1=http://www.example.com/}If your site's home url is %1 ... then your CiviCRM Resource URL would be:{/ts}
|
||||
<div class="font-italic description">
|
||||
{if $config->userSystem->is_drupal EQ '1'}
|
||||
http://www.example.com/sites/all/modules/civicrm/
|
||||
{elseif $config->userFramework EQ 'Joomla'}
|
||||
http://www.example.com/administrator/components/com_civicrm/civicrm/
|
||||
{else}
|
||||
http://www.example.com/
|
||||
{/if}
|
||||
</div>
|
||||
</td></tr>
|
||||
</table>
|
||||
{/htxt}
|
||||
|
||||
{htxt id='id-image_url-title'}
|
||||
{ts}Image URL{/ts}
|
||||
{/htxt}
|
||||
{htxt id='id-image_url'}
|
||||
{ts}URL of the location for uploaded image files.{/ts}
|
||||
{/htxt}
|
||||
|
||||
{htxt id='id-extensions_url-title'}
|
||||
{ts}Extensions URL{/ts}
|
||||
{/htxt}
|
||||
{htxt id='id-extensions_url'}
|
||||
{ts}Base URL for extension resources (images, stylesheets, etc).{/ts}<br/>
|
||||
{capture assign=civicrmAdminSettingPath}{crmURL p="civicrm/admin/setting/path" q="reset=1"}{/capture}
|
||||
{ts 1=$civicrmAdminSettingPath 2=`$config->extensionsDir`}This should match the <a href="%1">"CiviCRM Extensions Directory"</a> ("%2").{/ts}
|
||||
{/htxt}
|
||||
|
||||
{htxt id='id-css_url-title'}
|
||||
{ts}Customizing CSS{/ts}
|
||||
{/htxt}
|
||||
{htxt id='id-css_url'}
|
||||
<p>{ts}You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.{/ts}</p>
|
||||
{/htxt}
|
||||
|
||||
{htxt id='id-url_vars'}
|
||||
{ts}URL Variables{/ts}
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><tt>[cms.root]</tt></td>
|
||||
<td><tt>{crmResURL ext='cms.root'}</tt></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt>[civicrm.root]</tt></td>
|
||||
<td><tt>{crmResURL ext='civicrm.root'}</tt></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt>[civicrm.files]</tt></td>
|
||||
<td><tt>{crmResURL ext='civicrm.files'}</tt></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>
|
||||
{ts}These variables are computed automatically using <tt>civicrm.settings.php</tt> and its options, such as <tt>CIVICRM_TEMPLATE_COMPILEDIR</tt>.{/ts}
|
||||
</p>
|
||||
{/htxt}
|
|
@ -0,0 +1,99 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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="crm-block crm-form-block crm-url-form-block">
|
||||
<div class="help">
|
||||
<p>
|
||||
{ts}These settings define the URLs used to access CiviCRM resources (CSS files, Javascript files, images, etc.).{/ts}
|
||||
</p>
|
||||
<p>
|
||||
{ts}You may configure these settings using absolute URLs or URL variables.{/ts}
|
||||
{help id='id-url_vars'}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
|
||||
<table class="form-layout">
|
||||
<tr class="crm-url-form-block-userFrameworkResourceURL">
|
||||
<td class="label">
|
||||
{$form.userFrameworkResourceURL.label} {help id='id-resource_url'}
|
||||
</td>
|
||||
<td>
|
||||
{$form.userFrameworkResourceURL.html|crmAddClass:'huge40'}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-url-form-block-imageUploadURL">
|
||||
<td class="label">
|
||||
{$form.imageUploadURL.label} {help id='id-image_url'}
|
||||
</td>
|
||||
<td>
|
||||
{$form.imageUploadURL.html|crmAddClass:'huge40'}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-url-form-block-customCSSURL">
|
||||
<td class="label">
|
||||
{$form.customCSSURL.label} {help id='id-css_url'}
|
||||
</td>
|
||||
<td>
|
||||
{$form.customCSSURL.html|crmAddClass:'huge40'}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-url-form-block-disable_core_css">
|
||||
<td class="label">
|
||||
{$form.disable_core_css.label} {help id='id-css_url'}
|
||||
</td>
|
||||
<td>
|
||||
{$form.disable_core_css.html}<br />
|
||||
<p class="description">{ts}{$disable_core_css_description}{/ts}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-url-form-block-extensionsURL">
|
||||
<td class="label">
|
||||
{$form.extensionsURL.label} {help id='id-extensions_url'}
|
||||
</td>
|
||||
<td>
|
||||
{$form.extensionsURL.html|crmAddClass:'huge40'}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-url-form-block-enableSSL">
|
||||
<td class="label">
|
||||
{$form.enableSSL.label} {help id='id-enable_ssl'}
|
||||
</td>
|
||||
<td>
|
||||
{$form.enableSSL.html}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="crm-url-form-block-verifySSL">
|
||||
<td class="label">
|
||||
{$form.verifySSL.label} {help id='id-verify_ssl'}
|
||||
</td>
|
||||
<td>
|
||||
{$form.verifySSL.html}<br/>
|
||||
<p class="description font-red">{ts}{$verifySSL_description}{/ts}</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
|
||||
</div>
|
|
@ -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-word_replace-title"}
|
||||
{ts}Word Replacements{/ts}
|
||||
{/htxt}
|
||||
{htxt id="id-word_replace"}
|
||||
<p>{ts}Change all occurrences of a word or phrase in CiviCRM screens (e.g. replace all occurrences of 'Contribution' with 'Donation').{/ts}
|
||||
{ts}Partial matches will be replaced unless you click "Exact Match". EXAMPLE: replacing 'Contribution' with 'Donation' will also replace 'Contributions' with 'Donations' unless 'Exact Match' is checked.{/ts}
|
||||
<p>{ts}Use 'Exact Match' if you don't want partial matches to be replaced OR you are replacing a complete phrase (e.g. replace 'Create Printable Letters (PDF)' with 'Write Letters').{/ts}</p>
|
||||
<p>{ts}IMPORTANT: Replacements are case-sensitive whether 'Exact Match' is checked or not.{/ts}</p>
|
||||
{/htxt}
|
|
@ -0,0 +1,129 @@
|
|||
{*
|
||||
+--------------------------------------------------------------------+
|
||||
| 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 |
|
||||
+--------------------------------------------------------------------+
|
||||
*}
|
||||
|
||||
{* template for a single row *}
|
||||
{if $soInstance}
|
||||
<tr class="string-override-row {if $soInstance % 2}odd{else}even{/if}-row" data-row="{$soInstance}"
|
||||
xmlns="http://www.w3.org/1999/html">
|
||||
<td>{$form.enabled.$soInstance.html}</td>
|
||||
<td>{$form.old.$soInstance.html}</td>
|
||||
<td>{$form.new.$soInstance.html}</td>
|
||||
<td>{$form.cb.$soInstance.html}</td>
|
||||
</tr>
|
||||
|
||||
{else}
|
||||
{* this template is used for adding/editing string overrides *}
|
||||
<div class="crm-form crm-form-block crm-string_override-form-block">
|
||||
<div class="help">
|
||||
{ts}Use <strong>Word Replacements</strong> to change all occurrences of a word or phrase in CiviCRM screens (e.g. replace all occurrences of 'Contribution' with 'Donation').{/ts} {help id="id-word_replace"}
|
||||
</div>
|
||||
<div class="crm-submit-buttons">
|
||||
{include file="CRM/common/formButtons.tpl" location='top'}
|
||||
</div>
|
||||
<table class="form-layout-compressed">
|
||||
<tr>
|
||||
<td>
|
||||
<table class="string-override-table row-highlight">
|
||||
<thead>
|
||||
<tr class="columnheader">
|
||||
<th>{ts}Enabled{/ts}</th>
|
||||
<th>{ts}Original{/ts}</th>
|
||||
<th>{ts}Replacement{/ts}</th>
|
||||
<th>{ts}Exact Match{/ts}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{section name="numStrings" start=1 step=1 loop=$numStrings+1}
|
||||
{include file="CRM/Admin/Form/WordReplacements.tpl" soInstance=$smarty.section.numStrings.index}
|
||||
{/section}
|
||||
</tbody>
|
||||
</table>
|
||||
<a class="action-item crm-hover-button buildStringOverrideRow" href="#"><i class="crm-i fa-plus-circle"></i> {ts}Add row{/ts}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="crm-submit-buttons">
|
||||
{include file="CRM/common/formButtons.tpl" location='bottom'}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
CRM.$(function($) {
|
||||
{/literal}
|
||||
{if $stringOverrideInstances}
|
||||
{* Rebuild necessary rows in case of form error *}
|
||||
{foreach from=$stringOverrideInstances key="index" item="instance"}
|
||||
buildStringOverrideRow( {$instance} );
|
||||
{/foreach}
|
||||
{/if}
|
||||
{literal}
|
||||
|
||||
function buildStringOverrideRow( curInstance ) {
|
||||
var newRowNum;
|
||||
|
||||
if (curInstance) {
|
||||
// Don't fetch if already present
|
||||
if ($('tr.string-override-row[data-row=' + curInstance + ']').length) {
|
||||
return;
|
||||
}
|
||||
newRowNum = curInstance;
|
||||
} else {
|
||||
newRowNum = 1 + $('tr.string-override-row:last').data('row');
|
||||
}
|
||||
|
||||
var dataUrl = {/literal}"{crmURL q='snippet=4' h=0}"{literal};
|
||||
dataUrl += "&instance="+newRowNum;
|
||||
|
||||
$.ajax({
|
||||
url: dataUrl,
|
||||
async: false,
|
||||
success: function(html) {
|
||||
$('.string-override-table tbody').append(html);
|
||||
$('tr.string-override-row:last').trigger('crmLoad');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$('.buildStringOverrideRow').click(function(e) {
|
||||
buildStringOverrideRow(false);
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
// Auto-check new items
|
||||
$('.string-override-table').on('keyup', 'textarea', function() {
|
||||
if (!$(this).data('crm-initial-value')) {
|
||||
var otherValue = $(this).closest('tr').find('textarea').not(this).val();
|
||||
if ($(this).val() && otherValue) {
|
||||
$(this).closest('tr').find('input[type=checkbox]').first().prop('checked', true);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
|
@ -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}
|
1063
sites/all/modules/civicrm/templates/CRM/Admin/Page/APIExplorer.js
Normal file
1063
sites/all/modules/civicrm/templates/CRM/Admin/Page/APIExplorer.js
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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>
|
||||
|
||||
<label for="api-action">{ts}Action{/ts}:</label>
|
||||
<input class="crm-form-text" id="api-action" name="action" value="get">
|
||||
|
||||
|
||||
<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>
|
||||
|
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
<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}: </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}
|
|
@ -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">» {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">» {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">» {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">» {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">» {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">» {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>
|
94
sites/all/modules/civicrm/templates/CRM/Admin/Page/Admin.tpl
Normal file
94
sites/all/modules/civicrm/templates/CRM/Admin/Page/Admin.tpl
Normal 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}
|
||||
» <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>
|
|
@ -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>
|
||||
|
||||
<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>
|
|
@ -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>
|
|
@ -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}
|
|
@ -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}
|
|
@ -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>
|
|
@ -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}
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">{ts}Comments{/ts}</td><td>{$extension.comments}</td>
|
||||
</tr>
|
||||
</table>
|
|
@ -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> </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> </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}
|
|
@ -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>
|
|
@ -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> <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}
|
|
@ -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>
|
|
@ -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> <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}
|
|
@ -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>
|
89
sites/all/modules/civicrm/templates/CRM/Admin/Page/Job.tpl
Normal file
89
sites/all/modules/civicrm/templates/CRM/Admin/Page/Job.tpl
Normal 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}
|
|
@ -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>
|
||||
{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>
|
|
@ -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} </td>
|
||||
<td class="crm-labelFormat-is_reserved">{if $row.is_reserved eq 1}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
|
||||
</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}
|
|
@ -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} </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}
|
|
@ -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} </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}
|
|
@ -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}
|
|
@ -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 "Revert" 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}
|
|
@ -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>
|
||||
{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}
|
|
@ -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}
|
|
@ -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}
|
||||
<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}
|
|
@ -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}
|
|
@ -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}
|
177
sites/all/modules/civicrm/templates/CRM/Admin/Page/Options.tpl
Normal file
177
sites/all/modules/civicrm/templates/CRM/Admin/Page/Options.tpl
Normal 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" <clientservices@example.org></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} </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}
|
|
@ -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}
|
|
@ -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}
|
|
@ -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 » 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 » 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 » 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 » 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}
|
|
@ -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} </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}
|
|
@ -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} </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">» {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}
|
|
@ -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} </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}
|
|
@ -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}
|
|
@ -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}
|
|
@ -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}
|
|
@ -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 >-< Child, Employer >-< Employee). For some types of relationships, the labels may be the same in both directions (e.g. Spouse >-< 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 » 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}
|
|
@ -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} {$row.start_action_unit}{if $row.start_action_offset > 1}{ts}(s){/ts}{/if} {$row.start_action_condition} {$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} </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}
|
||||
|
||||
|
|
@ -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}
|
||||
|
|
@ -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}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue