Esempio n. 1
0
 function setup()
 {
     $this->pluginid = isset($_GET['plugin']) ? $_GET['plugin'] : null;
     $pi = new plugin_indexer();
     $plist = $pi->getList();
     sort($plist);
     $this->smarty->assign('pluginlist', $plist);
     $this->errors = @$pi->getEnableds(true);
     $this->fp_plugins = $pi->enabledlist;
 }
Esempio n. 2
0
function plugin_get($id = null)
{
    $pluginlister = new plugin_indexer();
    return $pluginlister->getList();
}