Removed {staticlang} template plugin
authorAlexander Ebert <ebert@woltlab.com>
Thu, 20 Dec 2012 15:08:32 +0000 (16:08 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 20 Dec 2012 15:08:32 +0000 (16:08 +0100)
wcfsetup/install/files/lib/system/template/plugin/StaticlangTemplatePluginCompiler.class.php [deleted file]

diff --git a/wcfsetup/install/files/lib/system/template/plugin/StaticlangTemplatePluginCompiler.class.php b/wcfsetup/install/files/lib/system/template/plugin/StaticlangTemplatePluginCompiler.class.php
deleted file mode 100644 (file)
index b716484..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-namespace wcf\system\template\plugin;
-use wcf\system\template\TemplateScriptingCompiler;
-
-/**
- * Template compiler plugin which gets the source of a language variables.
- * 
- * Usage:
- *     {staticlang}$blah{/staticlang}
- * 
- * @author     Marcel Werk
- * @copyright  2001-2012 WoltLab GmbH
- * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package    com.woltlab.wcf
- * @subpackage system.template.plugin
- * @category   Community Framework
- */
-class StaticlangCompilerTemplatePlugin implements ICompilerTemplatePlugin {
-       /**
-        * @see wcf\system\template\ICompilerTemplatePlugin::executeStart()
-        */
-       public function executeStart($tagArgs, TemplateScriptingCompiler $compiler) {
-               $compiler->pushTag('staticlang');
-               
-               return "<?php ob_start(); ?>";
-       }
-       
-       /**
-        * @see wcf\system\template\ICompilerTemplatePlugin::executeEnd()
-        */
-       public function executeEnd(TemplateScriptingCompiler $compiler) {
-               $compiler->popTag('staticlang');
-               return "<?php echo \wcf\system\WCF::getLanguage()->get(ob_get_clean()); ?>";
-       }
-}