芝麻web文件管理V1.00
编辑当前文件:/home/p/r/i/prismawe/clients/canaldegap.fr_old/plugins/function.title.php
variables['pageinfo']; $config = &$gCms->GetConfig(); $result = ''; if (isset($pageinfo) && $pageinfo->content_id == -1) { #We've a custom error message... set a current timestamp $result = "404 Error"; } else { $result = cms_htmlentities($pageinfo->content_title); if (!(isset($config["use_smarty_php_tags"]) && $config["use_smarty_php_tags"] == true)) { $result = ereg_replace("\{\/?php\}", "", $result); } } if( isset($params['assign']) ) { $smarty =& $gCms->GetSmarty(); $smarty->assign($params['assign'],$result); return; } return $result; } function smarty_cms_help_function_title() { echo lang('help_function_title'); } function smarty_cms_about_function_title() { ?>
Author: Ted Kulp<tedkulp@users.sf.net>
Version: 1.0
Change History:
None