Index: branches/5.0.x/core/kernel/processors/tag_processor.php =================================================================== diff -u -r12299 -r12323 --- branches/5.0.x/core/kernel/processors/tag_processor.php (.../tag_processor.php) (revision 12299) +++ branches/5.0.x/core/kernel/processors/tag_processor.php (.../tag_processor.php) (revision 12323) @@ -1,6 +1,6 @@ ProcessParsedTag($tag->Tag, $tag->NP, $tag->getPrefixSpecial()); - - /*$Method=$tag->Tag; - if(method_exists($this, $Method)) - { - //echo htmlspecialchars($tag->GetFullTag()).'
'; - return $this->$Method($tag->NP); - } - else - { - if ($this->Application->hasObject('TagsAggregator')) { - $aggregator =& $this->Application->recallObject('TagsAggregator'); - $tag_mapping = $aggregator->GetArrayValue($tag->Prefix, $Method); - if ($tag_mapping) { - - $mapped_tag = new Tag('', $this->Application->Parser); - $mapped_tag->CopyFrom($tag); - $mapped_tag->Processor = $tag_mapping[0]; - $mapped_tag->Tag = $tag_mapping[1]; - $mapped_tag->NP['PrefixSpecial'] = $tag->getPrefixSpecial(); - $mapped_tag->RebuildTagData(); - return $mapped_tag->DoProcessTag(); - } - } - trigger_error('Tag '.$Method.' Undefined in '.get_class($this).'[Agregated Tag]:
'.$tag->RebuildTagData().'',E_USER_WARNING); - return false; - }*/ } function CheckTag($tag, $prefix) @@ -93,7 +67,7 @@ { $Method = $tag; if (method_exists($this, $Method)) { - if ($this->Application->isDebugMode() && constOn('DBG_SHOW_TAGS')) { + if (defined('DEBUG_MODE') && defined('DBG_SHOW_TAGS') && DBG_SHOW_TAGS && $this->Application->isDebugMode()) { $this->Application->Debugger->appendHTML('Processing PreParsed Tag '.$Method.' in '.$this->Prefix); }