CRM-13672 - Add alerts for security releases
[civicrm-core.git] / templates / CRM / common / footer.tpl
index 454eb0179124158fdd913f06dbfebab305702543..97273b1ab13796afee1632b0ea263c14c6910b30 100644 (file)
@@ -1,8 +1,8 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 <div class="crm-footer" id="civicrm-footer">
   {crmVersion assign=version}
   {ts 1=$version}Powered by CiviCRM %1.{/ts}
-  {if !empty($newer_civicrm_version)}
+  {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="http://civicrm.org/download">{ts}is available for download{/ts}</a>.</span>
+    <a href="https://civicrm.org/download">{ts}is available for download{/ts}</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="http://civicrm.org/download">{ts}Download CiviCRM.{/ts}</a> &nbsp; &nbsp;
+  <a href="https://civicrm.org/download">{ts}Download CiviCRM.{/ts}</a> &nbsp; &nbsp;
   <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> &nbsp; &nbsp;
   {docURL page="" text="Online documentation."}
 </div>