芝麻web文件管理V1.00
编辑当前文件:/home/p/r/i/prismawe/clients/canaldegap.fr_old/lib/classes/contenttypes/Separator.inc.php
RemoveProperty('template','-1'); $this->RemoveProperty('alias',''); $this->RemoveProperty('title',''); $this->RemoveProperty('menutext',''); $this->RemoveProperty('target',''); $this->RemoveProperty('accesskey',''); $this->RemoveProperty('titleattribute',''); $this->RemoveProperty('cachable',true); } function FriendlyName() { return lang('contenttype_separator'); } function HasUsableLink() { return false; } function WantsChildren() { return false; } /** * Handle Auto Aliasing */ function DoAutoAlias() { return FALSE; } function RequiresAlias() { 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() { $this->mName = CMS_CONTENT_HIDDEN_NAME; return parent::ValidateData(); } function GetURL($rewrite = true) { return '#'; } } # vim:ts=4 sw=4 noet ?>