From 8564859a7ae1e1fc6d6b788a4299b3fba58f5db1 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Tue, 29 Jul 2014 15:35:38 -0700 Subject: [PATCH] CRM-15045 - Improved links in Configuration Checklist. ---------------------------------------- * CRM-15045: https://issues.civicrm.org/jira/browse/CRM-15045 --- CRM/Admin/Page/ConfigTaskList.php | 12 ------------ templates/CRM/Admin/Page/ConfigTaskList.tpl | 14 ++------------ 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/CRM/Admin/Page/ConfigTaskList.php b/CRM/Admin/Page/ConfigTaskList.php index d1a196c9e3..9a1547a2ab 100644 --- a/CRM/Admin/Page/ConfigTaskList.php +++ b/CRM/Admin/Page/ConfigTaskList.php @@ -53,18 +53,6 @@ class CRM_Admin_Page_ConfigTaskList extends CRM_Core_Page { $destination = urlencode($destination); $this->assign('destination', $destination); - CRM_Core_OptionValue::getValues(array('name' => 'from_email_address'), $optionValue); - if (!empty($optionValue)) { - list($id) = array_keys($optionValue); - $this->assign('fromEmailId', $id); - } - - $payPalProId = CRM_Core_DAO::getFieldValue( 'CRM_Financial_DAO_PaymentProcessorType', - 'PayPal', 'id', 'name' - ); - if ($payPalProId) { - $this->assign('payPalProId', $payPalProId); - } return parent::run(); } } diff --git a/templates/CRM/Admin/Page/ConfigTaskList.tpl b/templates/CRM/Admin/Page/ConfigTaskList.tpl index 6c1a15be0b..062ca00f35 100644 --- a/templates/CRM/Admin/Page/ConfigTaskList.tpl +++ b/templates/CRM/Admin/Page/ConfigTaskList.tpl @@ -25,16 +25,6 @@ *} {capture assign="linkTitle"}{ts}Edit settings{/ts}{/capture} {capture assign="adminMenu"}{crmURL p="civicrm/admin" q="reset=1"}{/capture} -{if $fromEmailId} - {assign var='fromAction' value="&action=update&id=`$fromEmailId`"} -{else} - {assign var='fromAction' value="&action=add"} -{/if} -{if $payPalProId} - {assign var='defaultPPUrl' value="action=add&pp=`$payPalProId`&reset=1"} -{else} - {assign var='defaultPPUrl' value="reset=1"} -{/if}
{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 displayed in red. After you have visited a page, the links will display in green (although you may still need to revisit the page to complete or update the settings). You can access this page again from the Administer CiviCRM menu at any time.{/ts} @@ -95,7 +85,7 @@ {ts}Settings for outbound email - either SMTP server, port and authentication or Sendmail path and argument.{/ts} - {ts}From Email Addresses{/ts} + {ts}From Email Addresses{/ts} {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} @@ -103,7 +93,7 @@ {ts}Online Contributions / Online Membership Signup / Online Event Registration{/ts} - {ts}Payment Processors{/ts} + {ts}Payment Processors{/ts} {ts}Select and configure one or more payment processing services for online contributions, events and / or membership fees.{/ts} {if $config->userSystem->is_drupal EQ '1'} -- 2.25.1