From: Marcel Werk Date: Thu, 13 Oct 2011 17:26:02 +0000 (+0200) Subject: Added language modifier X-Git-Tag: 2.0.0_Beta_1~1687 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bce0caa2e26601468d611c4bade6c4dc2f5ed15b;p=GitHub%2FWoltLab%2FWCF.git Added language modifier --- diff --git a/wcfsetup/install/files/lib/system/template/plugin/LanguageModifierTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/LanguageModifierTemplatePlugin.class.php new file mode 100644 index 0000000000..84a4faf975 --- /dev/null +++ b/wcfsetup/install/files/lib/system/template/plugin/LanguageModifierTemplatePlugin.class.php @@ -0,0 +1,26 @@ + + * @package com.woltlab.wcf + * @subpackage system.template.plugin + * @category Community Framework + */ +class LanguageModifierTemplatePlugin implements IModifierTemplatePlugin { + /** + * @see wcf\system\template\IModifierTemplatePlugin::execute() + */ + public function execute($tagArgs, TemplateEngine $tplObj) { + return WCF::getLanguage()->getDynamicVariable($tagArgs[0]); + } +}