Fix custom types shown on all apps

This commit is contained in:
Nathan Gray 2013-06-18 15:51:46 +00:00
parent b933b17446
commit 509482e81c

View File

@ -73,7 +73,6 @@ class customfields
$this->tmpl = new etemplate();
// do we manage content-types?
if($this->tmpl->read($this->appname.'.admin.types')) $this->manage_content_types = true;
$this->fields = config::get_customfields($this->appname,true);
$this->tmpl->read('admin.customfields');
@ -95,7 +94,7 @@ class customfields
elseif(method_exists($this->tmpl, 'disableElement'))
{
// et2
$this->tmpl->disableElement('admin.customfields.type', true);
$this->tmpl->disableElement('content_types', true);
}
if (is_array($content))
{