From: Tim Otten Date: Wed, 15 Nov 2023 20:19:38 +0000 (-0800) Subject: Page Templates - Remove unused `$localTasks` (`localNav.tpl`) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fcd7c9912d3bb46835ef946c52354ce8192a06d8;p=civicrm-core.git Page Templates - Remove unused `$localTasks` (`localNav.tpl`) --- diff --git a/templates/CRM/common/joomla.tpl b/templates/CRM/common/joomla.tpl index 4ef4433428..7c48858c06 100644 --- a/templates/CRM/common/joomla.tpl +++ b/templates/CRM/common/joomla.tpl @@ -37,10 +37,6 @@
- {if $localTasks} - {include file="CRM/common/localNav.tpl"} - {/if} -
{include file="CRM/common/status.tpl"} {crmRegion name='page-body'} diff --git a/templates/CRM/common/localNav.tpl b/templates/CRM/common/localNav.tpl deleted file mode 100644 index 48ea55ecce..0000000000 --- a/templates/CRM/common/localNav.tpl +++ /dev/null @@ -1,18 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC. All rights reserved. | - | | - | This work is published under the GNU AGPLv3 license with some | - | permitted exceptions and without any warranty. For full license | - | and copyright information, see https://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{* Displays local tasks (secondary menu) for any pages that have them *} -
-
    - {foreach from=$localTasks item=task} -
  • {$task.title}
  • - {/foreach} -
-
-
diff --git a/templates/CRM/common/standalone.tpl b/templates/CRM/common/standalone.tpl index e84e85a765..83db877145 100644 --- a/templates/CRM/common/standalone.tpl +++ b/templates/CRM/common/standalone.tpl @@ -66,10 +66,6 @@ {/crmRegion}
- {if isset($localTasks)} - {include file="CRM/common/localNav.tpl"} - {/if} - {crmRegion name='page-footer'} {if !empty($urlIsPublic)} {include file="CRM/common/publicFooter.tpl"}