Index: trunk/core/kernel/languages/phrases_cache.php =================================================================== diff -u -N -r4758 -r4880 --- trunk/core/kernel/languages/phrases_cache.php (.../phrases_cache.php) (revision 4758) +++ trunk/core/kernel/languages/phrases_cache.php (.../phrases_cache.php) (revision 4880) @@ -103,11 +103,11 @@ $original_label = $label; $label = strtoupper($label); - if( isset($this->Phrases[$label]) ) - { + if(isset($this->Phrases[$label])) { $translated_label = $this->Phrases[$label]; - if(defined('DEBUG_MODE') && DEBUG_MODE && dbg_ConstOn('DBG_PHRASES_HILIGHT') && !$this->Application->IsAdmin()) + if (defined('DEBUG_MODE') && DEBUG_MODE && constOn('DBG_PHRASES_HIGHLIGHT') && !$this->Application->IsAdmin()) { $translated_label = ''.$translated_label.' '.$original_label.''; + } return $translated_label; } @@ -125,8 +125,7 @@ if ($res === false || count($res) == 0) { $translation = '!'.$label.'!'; - if( $this->Application->isDebugMode() && dbg_ConstOn('DBG_PHRASES') ) - { + if($this->Application->isDebugMode() && constOn('DBG_PHRASES')) { list($edit_tpl, $index_file) = $this->Application->IsAdmin() ? Array('regional/phrases_edit', 'index4.php') : Array('phrases_edit', 'index.php'); $edit_url = $this->Application->HREF($edit_tpl,'',Array('m_opener'=>'d','phrases_label'=>$original_label,'phrases_event'=>'OnNew', 'pass'=>'all,phrases'), $index_file );