X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FPage.php;h=b19388283fc8d073aea22b09bf970108467c3857;hb=e09b101fec3c877f80db9d1b65bebc836d7f8e43;hp=e8908fea50f1852ed4e70d1ad15e9859db3bc4e4;hpb=eeca7960db033b9ee3511f6bf7d1217b1b5caed9;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();