public function depedencies_manage_options_template() { // Derive the current path and load up aaInterfaceTemplates $plugin_path = $this->the_plugin->cfg['paths']['freamwork_dir_path']; if (class_exists('aaInterfaceTemplates') != true) { require_once $plugin_path . 'settings-template.class.php'; // Initalize the your aaInterfaceTemplates $aaInterfaceTemplates = new aaInterfaceTemplates($this->the_plugin->cfg); // try to init the interface $aaInterfaceTemplates->printBaseInterface('depedencies'); } }
public function manage_options_template() { // Derive the current path and load up aaInterfaceTemplates $plugin_path = dirname(__FILE__) . '/'; if (class_exists('aaInterfaceTemplates') != true) { require_once $plugin_path . 'settings-template.class.php'; // Initalize the your aaInterfaceTemplates $aaInterfaceTemplates = new aaInterfaceTemplates($this->cfg); // try to init the interface $aaInterfaceTemplates->printBaseInterface(); } }