From: eileen Date: Sat, 27 Jan 2024 02:01:27 +0000 (+1300) Subject: Remove attempt to use wizard on manage ACLs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8cfb1b912b78893c244ea139f438bbcef449a138;p=civicrm-core.git Remove attempt to use wizard on manage ACLs --- diff --git a/templates/CRM/ACL/Header.tpl b/templates/CRM/ACL/Header.tpl index c98d555e30..c97015b726 100644 --- a/templates/CRM/ACL/Header.tpl +++ b/templates/CRM/ACL/Header.tpl @@ -13,40 +13,3 @@

{ts 1=$docLink}ACLs allow you to control access to CiviCRM data. An ACL consists of an Operation (e.g. 'View' or 'Edit'), a set of data that the operation can be performed on (e.g. a group of contacts), and a Role that has permission to do this operation. Refer to the %1 for more info.{/ts}

- -{php} - $currentStep = $this->getTemplateVars('step'); - $wizard = [ - 'style' => ['barClass' => '', 'showTitle' => FALSE], - 'currentStepNumber' => $currentStep, - 'steps' => [ - [ - 'title' => ts('Manage Roles'), - 'link' => CRM_Utils_System::url('civicrm/admin/options/acl_role', 'reset=1'), - 'collapsed' => FALSE, - 'name' => '', - ], - [ - 'title' => ts('Assign Users'), - 'link' => CRM_Utils_System::url('civicrm/acl/entityrole', 'reset=1'), - 'collapsed' => FALSE, - 'name' => '', - ], - [ - 'title' => ts('Manage ACLs'), - 'link' => CRM_Utils_System::url('civicrm/acl', 'reset=1'), - 'collapsed' => FALSE, - 'name' => '', - ], - ], - ]; - foreach ($wizard['steps'] as $num => &$step) { - $step['step'] = $step['valid'] = $step['stepNumber'] = $num + 1; - if ($step['stepNumber'] == $currentStep) { - $step['link'] = NULL; - } - } - $this->assign('wizard', $wizard); -{/php} - -{include file="CRM/common/WizardHeader.tpl"}