CRM-15248 - footer.tpl - For front-end users, redact point-release.
authorTim Otten <totten@civicrm.org>
Tue, 9 Sep 2014 04:20:44 +0000 (21:20 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 9 Sep 2014 04:30:31 +0000 (21:30 -0700)
commitbc99f513fcaa812f68b72e4885d85e6ff522e053
tree9205a6c757288d413c45b4915dcb2352d12cd1d0
parentf66a0a20153c244d19a50d0ae2159b4f45890ee9
CRM-15248 - footer.tpl - For front-end users, redact point-release.

On one hand, giving a precise version can help attackers match their targets
with exploits.  On the other hand, giving some kind of version indication is
useful for support and marketing.  This PR attempts to balance the interests
by giving a precise version ("Powered by CiviCRM 4.4.6") to users with
permission "access CiviCRM" while giving a coarse-version ("Powered by
CiviCRM 4.4") to anyone else.
CRM/Core/Smarty/plugins/function.crmVersion.php [new file with mode: 0644]
templates/CRM/common/footer.tpl