| 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}
- <div class="crm-footer" id="civicrm-footer">
- {crmVersion assign=version}
- {ts 1=$version}Powered by CiviCRM %1.{/ts}
- {if $footer_status_severity}
- <span class="status{if $footer_status_severity gt 3} crm-error{elseif $footer_status_severity gt 2} crm-warning{else} crm-ok{/if}">
+ <div class="crm-footer" id="civicrm-footer">
+ {crmVersion assign=version}
+ {ts 1=$version}Powered by CiviCRM %1.{/ts}
- {if !empty($security_update)}
- <span class="status crm-error">
- <a href="https://civicrm.org/advisory">{ts}Security update required.{/ts}</a></span>
- {elseif !empty($newer_civicrm_version)}
- <span class="status">{ts 1=$newer_civicrm_version}A newer version (%1){/ts}
- <a href="https://civicrm.org/download">{ts}is available for download{/ts}</a>.
- </span>
++ {if $footer_status_severity}
++ <span class="status{if $footer_status_severity gt 3} crm-error{elseif $footer_status_severity gt 2} crm-warning{else} crm-ok{/if}">
+ <a href="{crmURL p='civicrm/a/#/status'}">{$footer_status_message}</a>
+ </span>
- {/if}
- {ts 1='http://www.gnu.org/licenses/agpl-3.0.html'}CiviCRM is openly available under the <a href='%1'>GNU AGPL License</a>.{/ts}<br/>
- <a href="https://civicrm.org/download">{ts}Download CiviCRM.{/ts}</a>
- <a href="http://issues.civicrm.org/jira/browse/CRM?report=com.atlassian.jira.plugin.system.project:roadmap-panel">{ts}View issues and report bugs.{/ts}</a>
- {docURL page="" text="Online documentation."}
- </div>
- {include file="CRM/common/notifications.tpl"}
+ {/if}
+ {ts 1='http://www.gnu.org/licenses/agpl-3.0.html'}CiviCRM is openly available under the <a href='%1'>GNU AGPL License</a>.{/ts}<br/>
+ <a href="https://civicrm.org/download">{ts}Download CiviCRM.{/ts}</a>
+ <a href="http://issues.civicrm.org/jira/browse/CRM?report=com.atlassian.jira.plugin.system.project:roadmap-panel">{ts}View issues and report bugs.{/ts}</a>
+ {docURL page="" text="Online documentation."}
+ </div>
+ {include file="CRM/common/notifications.tpl"}
+ {/if}