From e377a3e9411a57e9ef3a5e8feb3ae823ca33767f Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sun, 1 Nov 2015 08:38:18 -0500 Subject: [PATCH] Footer tpl cleanup --- templates/CRM/common/footer.tpl | 41 ++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/templates/CRM/common/footer.tpl b/templates/CRM/common/footer.tpl index 229c9ef096..01e4bf91a9 100644 --- a/templates/CRM/common/footer.tpl +++ b/templates/CRM/common/footer.tpl @@ -23,24 +23,27 @@ | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} -{include file="CRM/common/accesskeys.tpl"} -{if !empty($contactId)} - {include file="CRM/common/contactFooter.tpl"} -{/if} +{if call_user_func(array('CRM_Core_Permission','check'), 'access CiviCRM')} + {include file="CRM/common/accesskeys.tpl"} + {if !empty($contactId)} + {include file="CRM/common/contactFooter.tpl"} + {/if} - + {include file="CRM/common/notifications.tpl"} +{/if} -- 2.25.1