Index: branches/5.0.x/core/kernel/languages/phrases_cache.php =================================================================== diff -u -N -r12591 -r12726 --- branches/5.0.x/core/kernel/languages/phrases_cache.php (.../phrases_cache.php) (revision 12591) +++ branches/5.0.x/core/kernel/languages/phrases_cache.php (.../phrases_cache.php) (revision 12726) @@ -1,6 +1,6 @@ Conn =& $this->Application->GetADODBConnection(); - if (defined('DEBUG_MODE') && DEBUG_MODE && $this->Application->IsAdmin()) { + if (defined('DEBUG_MODE') && DEBUG_MODE && $this->Application->isAdmin) { // only has effect in admin, because on front-end phrases are translated in "Content Mode" $this->_editMissing = defined('DBG_PHRASES') && DBG_PHRASES; } @@ -94,7 +94,7 @@ */ function setPhraseEditing() { - if (!$this->Application->IsAdmin() && (EDITING_MODE == EDITING_MODE_CONTENT)) { + if (!$this->Application->isAdmin && (EDITING_MODE == EDITING_MODE_CONTENT)) { $this->_editExisting = true; $this->_editMissing = true; $this->_simpleEditingMode = true; @@ -108,7 +108,7 @@ $this->LanguageId = 1; } else { - if ($this->Application->IsAdmin()) { + if ($this->Application->isAdmin) { $id_field = $this->Application->getUnitOption('lang', 'IDField'); $table_name = $this->Application->getUnitOption('lang', 'TableName'); $sql = 'SELECT '.$id_field.'