X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FPage.php;h=b19388283fc8d073aea22b09bf970108467c3857;hb=a8a98777b42aacb9df7d1d39ec29ff479d59d421;hp=e8908fea50f1852ed4e70d1ad15e9859db3bc4e4;hpb=2918a67d3bde046b49ef6073e97de1132cca9bac;p=civicrm-core.git diff --git a/CRM/Core/Page.php b/CRM/Core/Page.php index e8908fea50..b19388283f 100644 --- a/CRM/Core/Page.php +++ b/CRM/Core/Page.php @@ -67,7 +67,7 @@ class CRM_Core_Page { * so the display routine needs to not do any work. (The * parent object takes care of the display) * - * @var boolean + * @var bool */ protected $_embedded = FALSE; @@ -75,7 +75,7 @@ class CRM_Core_Page { * Are we in print mode? if so we need to modify the display * functionality to do a minimal display :) * - * @var boolean + * @var bool */ protected $_print = FALSE; @@ -214,6 +214,10 @@ class CRM_Core_Page { $config = CRM_Core_Config::singleton(); + // @fixme this is probably the wrong place for this. It is required by jsortable.tpl which is inherited from many page templates. + // So we have to add it here to deprecate $config->defaultCurrencySymbol + $this->assign('defaultCurrencySymbol', CRM_Core_BAO_Country::defaultCurrencySymbol()); + // Intermittent alert to admins CRM_Utils_Check::singleton()->showPeriodicAlerts();