Page Templates - Remove unused `$localTasks` (`localNav.tpl`)
authorTim Otten <totten@civicrm.org>
Wed, 15 Nov 2023 20:19:38 +0000 (12:19 -0800)
committerTim Otten <totten@civicrm.org>
Wed, 15 Nov 2023 20:19:38 +0000 (12:19 -0800)
templates/CRM/common/joomla.tpl
templates/CRM/common/localNav.tpl [deleted file]
templates/CRM/common/standalone.tpl

index 4ef44334281364b1b60d62cec0bc0c1422cfe98f..7c48858c06e08209737f2fd256164fe5a0ede738 100644 (file)
 
     <div class="clear"></div>
 
-    {if $localTasks}
-        {include file="CRM/common/localNav.tpl"}
-    {/if}
-
     <div id="crm-main-content-wrapper">
       {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 (file)
index 48ea55e..0000000
+++ /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 *}
-<div class="tabs">
-    <ul class="tabs primary">
-    {foreach from=$localTasks item=task}
-        <li {if $task.class}class="{$task.class}"{/if}><a href="{$task.url}" {if $task.class}class="{$task.class}"{/if}>{$task.title}</a></li>
-    {/foreach}
-   </ul>
-</div>
-<br class="clear" />
index e84e85a76521fe9c605fc872a588e164c264217d..83db87714582e558ceb19331161c751faf384a79 100644 (file)
       {/crmRegion}
     </div>
 
-    {if isset($localTasks)}
-      {include file="CRM/common/localNav.tpl"}
-    {/if}
-
     {crmRegion name='page-footer'}
       {if !empty($urlIsPublic)}
         {include file="CRM/common/publicFooter.tpl"}