} else { exit; } $plugins_root = 'tools/'; $plugins = new plugins($plugins_root); $plugins->getPlugins(true); $plugins_list = $plugins->getPluginsList(); $PLUGIN_HEAD = ''; $PLUGIN_BODY = ''; if (!empty($_REQUEST['p']) && !empty($plugins_list[$_REQUEST['p']]) && $plugins_list[$_REQUEST['p']]['active']) { $p = $_REQUEST['p']; $buffer = new buffer(); $buffer->init(); include $plugins_root . $p . '/index.php'; $PLUGIN_BODY = $buffer->getContent(); $buffer->clean(); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"> <head> <title><?php echo _t('YESWIKI_TOOLS_CONFIG'); ?> </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> </head> <body>
if ($a->checkAuth()) { } else { exit; } $plugins_root = 'tools/'; $plugins = new plugins($plugins_root); $plugins->getPlugins(true); $plugins_list = $plugins->getPluginsList(); $PLUGIN_HEAD = ''; $PLUGIN_BODY = ''; if (!empty($_REQUEST['p']) && !empty($plugins_list[$_REQUEST['p']]) && $plugins_list[$_REQUEST['p']]['active']) { $p = $_REQUEST['p']; buffer::init(); include $plugins_root . $p . '/index.php'; $PLUGIN_BODY = buffer::getContent(); buffer::clean(); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"> <head> <title>Configuration extension(s) de WikiNi</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> </head> <body> <?php