From d6877baca9b8c56ce3e1565791fa260cdc983d95 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 21 Nov 2010 00:37:54 -0500 Subject: Load data for all plugins on plugin management page. include.php: file to include to make creation of entry points easy index.php: move most of this file into include.php (and include it) plugindata.php: a separate entry point using include.php; load ALL plugins found, and write data gathered to plugindata.out.php .gitignore: add plugindata.out.php actions/pluginsadminpanel.php: * use plugindata.out.php's common_plugindata() instead of StatusNet::getPlugins() * give a button linking to plugindata.php, to refresh plugin data lib/pluginlist.php: * use plugindata.out.php's common_plugindata() instead of thowing the 'PluginVersion' event to currently enabled plugins * for the enable/disable forms: was: if (!$disabled) now: if ($enabled && (!$disabled)) lib/statusnet.php: move the list of filenames for a plugin into it's own public static function; this is used by plugindata.php --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 217622c84..d0bc62298 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ good-config.php lac08.log php.log .DS_Store +plugindata.out.php -- cgit v1.2.3-54-g00ecf