<?php

	lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
	lt_include( PLOG_CLASS_PATH."plugins/templateeditor/class/view/plugintemplateeditorconfigview.class.php" );	

	/**
	 * shows a form with the current configuration
	 */
	class PluginTemplateEditorConfigAction extends AdminAction
	{
		
		function PluginTemplateEditorConfigAction( $actionInfo, $request )
		{
			$this->AdminAction( $actionInfo, $request );
			
			$this->requireAdminPermission( "edit_global_templates" );			
		}
		
		function perform()
		{
            $this->_view = new PluginTemplateEditorConfigView( $this->_blogInfo );
			
			$this->setCommonData();
			
			return true;
		}
	}
?>