Index: branches/5.0.x/core/kernel/application.php =================================================================== diff -u -r12294 -r12298 --- branches/5.0.x/core/kernel/application.php (.../application.php) (revision 12294) +++ branches/5.0.x/core/kernel/application.php (.../application.php) (revision 12298) @@ -1,6 +1,6 @@ CheckUserPermission($user, 'CATEGORY.MODIFY', 0, 0)) { // user can edit cms blocks $editing_mode = $this->GetVar('editing_mode'); - define('EDITING_MODE', $editing_mode ? $editing_mode : EDITING_MODE_CMS); + define('EDITING_MODE', $editing_mode ? $editing_mode : EDITING_MODE_BROWSE); + $this->Phrases->setPhraseEditing(); } } @@ -1955,9 +1956,9 @@ exit; } - function Phrase($label) + function Phrase($label, $allow_editing = true) { - return $this->Phrases->GetPhrase($label); + return $this->Phrases->GetPhrase($label, $allow_editing); } /**