⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adminsimplemessageview.class.php

📁 一个用PHP编写的
💻 PHP
字号:
<?php	lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );	lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );	define( "ADMINSIMPLEMESSAGE_TEMPLATE", "simplemessage" );    /**     * \ingroup View     * @private     *	     * The SimpleMessageView class shows messages, but the template does not     * include the header or the footer.     */    class AdminSimpleMessageView extends View 	{		function AdminSimpleErrorView()        {        	$this->View();        }        function render()        {						// set the view character set based on the default locale            $config =& Config::getConfig();            $locale =& Locales::getLocale( $config->getValue( "default_locale" ));			            $this->setValue( 'version', Version::getVersion());            			$this->setCharset( $locale->getCharset());						parent::render();		            // load the contents into the template context            $ts = new TemplateService();            $template = $ts->Template( ADMINSIMPLEMESSAGE_TEMPLATE, "admin" );            $this->setValue( "locale", $locale );			            // and pass the values to the template            $template->assign( $this->_params->getAsArray());			            // finally, send the results            print $template->fetch();        }    }?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -