}
if ($this->_action & CRM_Core_Action::VIEW) {
- $this->assign('jobName', self::getJobName($this->_id));
+ $this->assign('jobName', self::getJobName($this->_id));
$this->addButtons([
[
'type' => 'submit',
]);
return;
}
-
$attributes = CRM_Core_DAO::getAttribute('CRM_Core_DAO_Job');
// CRM-11143 - Give warning message if update_greetings is Enabled (is_active) since it generally should not be run automatically via execute action or runjobs url.
if ($values['api_action'] == 'update_greeting' && CRM_Utils_Array::value('is_active', $values) == 1) {
- // pass "wiki" as 6th param to docURL2 if you are linking to a page in wiki.civicrm.org
- $docLink = CRM_Utils_System::docURL2("Managing Scheduled Jobs", NULL, NULL, NULL, NULL, "wiki");
+ $docLink = CRM_Utils_System::docURL2("user/initial-set-up/scheduled-jobs/#job_update_greeting");
$msg = ts('The update greeting job can be very resource intensive and is typically not necessary to run on a regular basis. If you do choose to enable the job, we recommend you do not run it with the force=1 option, which would rebuild greetings on all records. Leaving that option absent, or setting it to force=0, will only rebuild greetings for contacts that do not currently have a value stored. %1', [1 => $docLink]);
CRM_Core_Session::setStatus($msg, ts('Warning: Update Greeting job enabled'), 'alert');
}
/**
* Takes an associative array and creates a membership Status object.
- * See http://wiki.civicrm.org/confluence/display/CRM/Database+layer
*
* @param array $params
* (reference ) an assoc array of name/value pairs.
(@option_group_id_activity_type, {localize}'{ts escape="sql"}Change Custom Data{/ts}'{/localize},{localize}''{/localize}, (SELECT @max_val := @max_val+1), 'Change Custom Data', (SELECT @max_wt := @max_wt+1), 0, @caseCompId);
------------------------------------------------------------------------------
-More details on the wiki: http://wiki.civicrm.org/confluence/display/CRMDOC/Internationalisation+for+Developers#InternationalisationforDevelopers-Localisedfieldsschemachanges
+More details: https://docs.civicrm.org/dev/en/latest/translation/database/#localised-fields-schema-changes
* This functon is wrapped by the System.check api.
*
* Calls hook_civicrm_check() for extensions to add or modify messages.
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_check
+ * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_check/
*
* @param bool $max
* Whether to return just the maximum non-hushed severity
if (!CRM_Utils_Time::isEqual($phpNow, $sqlNow, 2.5 * 60)) {
$messages[] = new CRM_Utils_Check_Message(
__FUNCTION__,
- ts('Timestamps reported by MySQL (eg "%2") and PHP (eg "%3" ) are mismatched.<br /><a href="%1">Read more about this warning</a>', [
- 1 => CRM_Utils_System::docURL2('sysadmin/requirements/#mysql-time', TRUE),
- 2 => $sqlNow,
- 3 => $phpNow,
- ]),
+ ts('Timestamps reported by MySQL (eg "%1") and PHP (eg "%2" ) are mismatched.', [
+ 1 => $sqlNow,
+ 2 => $phpNow,
+ ]) . '<br />' . CRM_Utils_System::docURL2('sysadmin/requirements/#mysql-time'),
ts('Timestamp Mismatch'),
\Psr\Log\LogLevel::ERROR,
'fa-server'
\Psr\Log\LogLevel::WARNING,
'fa-envelope'
);
- $docUrl = 'target="_blank" href="' . CRM_Utils_System::docURL(['page' => 'user/advanced-configuration/email-system-configuration/', 'URLonly' => TRUE]) . '""';
$message->addHelp(
ts('A default mailbox must be configured for email bounce processing.') . '<br />' .
- ts("Learn more in the <a %1>online documentation</a>.", [1 => $docUrl])
+ CRM_Utils_System::docURL2('user/advanced-configuration/email-system-configuration/')
);
$messages[] = $message;
}
// After 1 day (86400 seconds) increase the error level
$level = ($lastCron > $now - 86400) ? \Psr\Log\LogLevel::WARNING : \Psr\Log\LogLevel::ERROR;
}
- $cronLink = 'target="_blank" href="' . htmlentities(CRM_Utils_System::docURL2('sysadmin/setup/jobs/', TRUE)) . '""';
- $msg .= '<p>' . ts('To enable scheduling support, please <a %1>set up the cron job</a>.', [
- 1 => $cronLink,
- ]) . '</p>';
+ $msg .= '<p>' . ts('To enable scheduling support, please set up the cron job.') .
+ '<br />' . CRM_Utils_System::docURL2('sysadmin/setup/jobs/') . '</p>';
}
$messages[] = new CRM_Utils_Check_Message(
// CRM-13141 There may not be any compatible extensions available for the requested CiviCRM version + CMS. If so, $extdir is empty so just return a notice.
$messages[] = new CRM_Utils_Check_Message(
__FUNCTION__,
- ts('There are currently no extensions on the CiviCRM public extension directory which are compatible with version %1. If you want to install an extension which is not marked as compatible, you may be able to <a %2>download and install extensions manually</a> (depending on access to your web server).', [
+ ts('There are currently no extensions on the CiviCRM public extension directory which are compatible with version %1. If you want to install an extension which is not marked as compatible, you may be able to download and install extensions manually (depending on access to your web server).', [
1 => CRM_Utils_System::majorVersion(),
- 2 => 'href="http://wiki.civicrm.org/confluence/display/CRMDOC/Extensions"',
- ]),
+ ]) . '<br />' . CRM_Utils_System::docURL2('sysadmin/customize/extensions/#installing-a-new-extension'),
ts('No Extensions Available for this Version'),
\Psr\Log\LogLevel::NOTICE,
'fa-plug'
else {
$messages[] = new CRM_Utils_Check_Message(
__FUNCTION__,
- ts("Future versions of CiviCRM may require MySQL to support utf8mb4 encoding. It is recommended, though not yet required. Please discuss with your server administrator about configuring your MySQL server for utf8mb4. CiviCRM's recommended configurations are in the <a href='%1' title='System Administrator Guide'>System Administrator Guide</a>", [1 => CRM_Utils_System::docURL2("sysadmin/requirements/#mysql-configuration", TRUE)]),
+ ts("Future versions of CiviCRM may require MySQL to support utf8mb4 encoding. It is recommended, though not yet required. Please discuss with your server administrator about configuring your MySQL server for utf8mb4. CiviCRM's recommended configurations are in the System Administrator Guide") . '<br />' . CRM_Utils_System::docURL2('sysadmin/requirements/#mysql-configuration'),
ts('MySQL Emoji Support (utf8mb4)'),
\Psr\Log\LogLevel::WARNING,
'fa-database'
// are incompatible with the WordPress Plugin API:
//
// civicrm_upgrade
- // http://wiki.civicrm.org/confluence/display/CRMDOC43/hook_civicrm_upgrade
+ // https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_upgrade/
//
// civicrm_caseSummary
- // http://wiki.civicrm.org/confluence/display/CRMDOC43/hook_civicrm_caseSummary
+ // https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_caseSummary/
//
// civicrm_dashboard
- // http://wiki.civicrm.org/confluence/display/CRMDOC43/hook_civicrm_dashboard
+ // https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_dashboard/
// distinguish between types of hook
if (!in_array($fnSuffix, $this->hooksThatReturn)) {
}
if (!isset($params['text']) or $params['text'] === NULL) {
- $params['text'] = ts('(learn more...)');
+ $params['text'] = ts('(Learn more...)');
}
if (!isset($params['style']) || $params['style'] === NULL) {
* @return mixed
*/
public static function formatDocUrl($url) {
- return preg_replace('#^(user|sysadmin|dev)/#', '\1/en/stable/', $url);
+ return preg_replace('#^(user|sysadmin|dev)/#', '\1/en/latest/', $url);
}
/**
+--------------------------------------------------------------------+
*}
<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"}
+ {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="dev/tools/debugging/#changing-file-based-settings"}
</div>
<div class="crm-block crm-form-block crm-debugging-form-block">
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
| and copyright information, see https://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
-{capture assign=docLink}{docURL page="CiviMail Mailer Settings" text="CiviMail Mailer Settings and Optimization" resource="wiki"}{/capture}
<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}
+ {ts}These settings are used to configure mailer properties for the optional CiviMail component and may allow you to significantly optimize performance. Please read the 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} {docURL page="sysadmin/setup/civimail/outbound"}
</div>
<div class="crm-block crm-form-block crm-mail-form-block">
{include file='CRM/Admin/Form/Setting/SettingForm.tpl'}
<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}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="sysadmin/setup/directories"}</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>
{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}
+{capture assign=upgradeTemplatesDocLink}{docURL page="sysadmin/upgrade/#updating-system-workflow-message-templates"}{/capture}
{htxt id="id-intro-title"}
{ts}Message Templates{/ts}
{/htxt}
{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>
+ <p>{ts}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.{/ts} {docURL page="dev/api"} </p>
{/htxt}
<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>
+ <li>{docURL page="sysadmin/setup/payment-processors" text="Processor comparison and setup guide"}</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?tid_4[]=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>
+<p>{ts 1="https://civicrm.org/extensions?field_extension_civi_use_target_id=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'}
<tr class="crm-campaign-survey-main-form-block-release_frequency">
<td class="label">{$form.release_frequency.label}</td>
<td class="view-value">{$form.release_frequency.html}
- <div class="description">{ts}Reserved respondents are released if they haven't been surveyed within this number of days. The Respondent Processor script must be run periodically to release respondents.{/ts} {docURL page="Managing Scheduled Jobs" resource="wiki"}</div> </td>
+ <div class="description">{ts}Reserved respondents are released if they haven't been surveyed within this number of days. The Respondent Processor script must be run periodically to release respondents.{/ts} {docURL page="user/initial-set-up/scheduled-jobs"}</div> </td>
</tr>
<tr class="crm-campaign-survey-main-form-block-is_active">
<td class="label">{$form.is_active.label}</td>
<span class="description">
{ts}This option is not recommended for large imports. Use the command-line geocoding script instead.{/ts}
</span>
- {docURL page="Managing Scheduled Jobs" resource="wiki"}
+ {docURL page="user/initial-set-up/scheduled-jobs"}
</td>
</tr>
{/if}
<p>
{ts}These are developed and contributed by members of the CiviCRM community. Consider adding any custom searches which you use often to your Search menu (from Administer > Customize Data and Screens > Navigation Menu). As new custom searches become available they can be viewed (and installed if useful) from Administer > System Settings > Manage Extensions.{/ts}
</p>
-<p>{docURL page="Create a Custom-Search Extension" resource="wiki"}</p>
+<p>{docURL page="dev/extensions/civix/#generate-search"}</p>
</p>
<p>
{ts}NOTE: Some of these searches may rely on specific site configurations - and may not work as expected on your site.{/ts}
{$form.filter.html}
<span><a class="crm-hover-button toggle-contact-ref-mode" href="#Group">{ts}Filter by Group{/ts}</a></span>
<br />
- <span class="description">{ts}Filter contact search results for this field using Contact get API parameters. EXAMPLE: To list Students in group 3:{/ts} "action=get&group=3&contact_sub_type=Student" {docURL page="Using the API" resource="wiki"}</span>
+ <span class="description">{ts}Filter contact search results for this field using Contact get API parameters. EXAMPLE: To list Students in group 3:{/ts} "action=get&group=3&contact_sub_type=Student" {docURL page="dev/api"}</span>
</td>
</tr>
<tr class="crm-custom-field-form-block-options_per_line" id="optionsPerLine" {if $action neq 2 && ($form.data_type.value.0.0 >= 4 && $form.data_type.value.1.0 neq 'CheckBox' || $form.data_type.value.1.0 neq 'Radio' )}class="hiddenElement"{/if}>
{ts}A copy of this report can be automatically generated and delivered via email to specified recipients. Use the settings in this section to control Subject of the email containing the report, as well as the recipient list (To and Cc fields). Separate multiple 'To' or 'CC' email addresses with commas.{/ts}
</p>
<p>
- {ts}Your site administrator will need to setup an instance of the Scheduled Job "Mail Reports" to trigger creation and delivery of each report. When invoked, this job will deliver email to the recipients specified for the report. The report can be attached to the email as a PDF file (default), as a CSV file, or included in HTML format.{/ts} {docURL page="Managing Scheduled Jobs" resource="wiki"}
+ {ts}Your site administrator will need to setup an instance of the Scheduled Job "Mail Reports" to trigger creation and delivery of each report. When invoked, this job will deliver email to the recipients specified for the report. The report can be attached to the email as a PDF file (default), as a CSV file, or included in HTML format.{/ts} {docURL page="user/initial-set-up/scheduled-jobs"}
</p>
{/htxt}
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/SMS/Form/Provider.tpl"}
{else}
- {capture assign=wikiLink}{docURL page="Setting up a SMS Provider for CiviSMS" text="(How to add a SMS Provider)" resource="wiki"}{/capture}
<div class="help">
- {ts}You can configure one or more SMS Providers for your CiviCRM installation. To learn more about the procedure to install SMS extension and Provider, refer{/ts} {$wikiLink}
+ {ts}You can configure one or more SMS Providers for your CiviCRM installation.{/ts} {docURL page="user/sms-text-messaging/set-up"}
</div>
<div class="crm-content-block crm-block">
</div>
{/if}
<p><strong>{ts}Back up your database before continuing.{/ts}</strong>
- {capture assign=docLink}{docURL page="Installation and Upgrades" text="Upgrade Documentation" style="text-decoration: underline;" resource="wiki"}{/capture}
- {ts 1=$docLink}This process may change your database structure and values. In case of emergency you may need to revert to a backup. For more detailed information, refer to the %1.{/ts}</p>
+ {ts}This process may change your database structure and values. In case of emergency you may need to revert to a backup.{/ts} {docURL page="sysadmin/upgrade"}</p>
<input type="hidden" name="action" value="begin" />
<button type="submit" class="crm-button" name="upgrade" onclick="return confirm('{ts escape="js"}Are you sure you are ready to upgrade now?{/ts}');" >
<i class="crm-i fa-rocket" aria-hidden="true"></i>