Index: trunk/core/kernel/parser/template_parser.php =================================================================== diff -u -N -r4029 -r4880 --- trunk/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 4029) +++ trunk/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 4880) @@ -419,7 +419,7 @@ { if ($tag_data == '__COMMENT__') continue; //Create tag object from passed tag data - if( $this->Application->isDebugMode() && dbg_ConstOn('DBG_SHOW_TAGS') ) + if( $this->Application->isDebugMode() && constOn('DBG_SHOW_TAGS') ) { global $debugger; $debugger->appendHTML('mode: '.$this->SkipModeName().' tag '.$debugger->highlightString($tag_data).' in '.$debugger->getFileLink($debugger->getLocalFile(FULL_PATH.THEMES_PATH.'/'.$this->TemplateName).'.tpl', $this->CurrentLineNumber(), '', true)); @@ -462,13 +462,13 @@ function ParseBlock($params, $force_pass_params=0, $as_template=false) { - if( $this->Application->isDebugMode() && dbg_ConstOn('DBG_SHOW_TAGS') ) + if( $this->Application->isDebugMode() && constOn('DBG_SHOW_TAGS') ) { global $debugger; $debugger->appendHTML('ParseBlock '.$params['name'].' pass_params is '.$params['pass_params'].' force is '.$force_pass_params.' in '.$debugger->getFileLink($debugger->getLocalFile(FULL_PATH.THEMES_PATH.'/'.$this->TemplateName).'.tpl', $this->CurrentLineNumber(), '', true)); } - /*if ( $this->Application->isDebugMode() && dbg_ConstOn('DBG_PRE_PARSE') ) { + /*if ( $this->Application->isDebugMode() && constOn('DBG_PRE_PARSE') ) { global $debugger; $debugger->CurrentPreParsedBlock = $params['name']; }*/