$this->get('name', $contents['template']);
}
+ if(empty($this->active)){
+ return $p->raiseError("template [{$contents['template']}] is Disabled");
+ }
+
if(empty($this->id)){
-
return $p->raiseError("template [{$contents['template']}] has not been set");
}