/**
  * @see TemplatePluginPrefilter::execute()
  */
 public function execute($sourceContent, TemplateScriptingCompiler $compiler)
 {
     $ldq = preg_quote($compiler->getLeftDelimiter(), '~');
     $rdq = preg_quote($compiler->getRightDelimiter(), '~');
     $sourceContent = preg_replace("~{$ldq}icon{$rdq}([\\w\\.]+){$ldq}/icon{$rdq}~", '{literal}<?php echo StyleManager::getStyle()->getIconPath(\'$1\'); ?>{/literal}', $sourceContent);
     return $sourceContent;
 }
 /**
  * @see TemplatePluginPrefilter::execute()
  */
 public function execute($sourceContent, TemplateScriptingCompiler $compiler)
 {
     $ldq = preg_quote($compiler->getLeftDelimiter(), '~');
     $rdq = preg_quote($compiler->getRightDelimiter(), '~');
     $sourceContent = preg_replace("~{$ldq}lang{$rdq}([\\w\\.]+){$ldq}/lang{$rdq}~e", 'WCF::getLanguage()->get(\'$1\')', $sourceContent);
     return $sourceContent;
 }
 /**
  * @see TemplatePluginPrefilter::execute()
  */
 public function execute($sourceContent, TemplateScriptingCompiler $compiler)
 {
     $ldq = preg_quote($compiler->getLeftDelimiter(), '~');
     $rdq = preg_quote($compiler->getRightDelimiter(), '~');
     $sourceContent = preg_replace_callback("~{$ldq}lang{$rdq}([\\w\\.]+){$ldq}/lang{$rdq}~", array($this, 'executeCallback'), $sourceContent);
     return $sourceContent;
 }