芝麻web文件管理V1.00
编辑当前文件:/home/p/r/i/prismawe/clients/canaldegap.fr_old/lib/classes/contenttypes/SectionHeader.inc.php
RemoveProperty('alias',''); $this->RemoveProperty('accesskey',''); $this->RemoveProperty('title',''); //$this->RemoveProperty('showinmenu',true); $this->RemoveProperty('cachable',true); $this->RemoveProperty('target',''); #Turn off caching $this->mCachable = false; } function HasUsableLink() { return false; } function TabNames() { $res = array(lang('main')); if( check_permission(get_userid(),'Manage All Content') ) { $res[] = lang('options'); } return $res; } function EditAsArray($adding = false, $tab = 0, $showadmin = false) { switch($tab) { case '0': return $this->display_attributes($adding); break; case '1': return $this->display_attributes($adding,1); break; } } function ValidateData() { $res = parent::ValidateData(); $this->mTemplateId = -1; return $res; } function GetURL($rewrite = true) { return '#'; } function IsViewable() { return FALSE; } } # vim:ts=4 sw=4 noet ?>