From: garvinhicking Date: Thu, 20 Jul 2006 11:39:32 +0000 (+0000) Subject: Add new links to check for upgradable SPARTACUS plugins X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9bbf6d4a8d9f2cca5684cd227a53dd605216ac04;p=s9y.git Add new links to check for upgradable SPARTACUS plugins --- diff --git a/docs/NEWS b/docs/NEWS index 7885682..95dc6c0 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 1.1-alpha7() ------------------------------------------------------------------------ + * Add new links to check for upgradable SPARTACUS plugins + (garvinhicking) + * Add new frontend view "Archive by Authors": /archive/Axx.html to view the archive listing for specific authors only (like viewing archive by specific categories only via /archive/Cxx.html etc.) diff --git a/include/admin/plugins.inc.php b/include/admin/plugins.inc.php index 61c7da1..e5590f1 100644 --- a/include/admin/plugins.inc.php +++ b/include/admin/plugins.inc.php @@ -198,6 +198,8 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) { foreach($pluginstack AS $plugname => $plugdata) { if ($serendipity['GET']['only_group'] == 'ALL') { $pluggroups['ALL'][] = $plugdata; + } elseif ($serendipity['GET']['only_group'] == 'UPGRADE' && $plugdata['upgradable']) { + $pluggroups['UPGRADE'][] = $plugdata; } elseif (is_array($plugdata['groups'])) { foreach($plugdata['groups'] AS $group) { $pluggroups[$group][] = $plugdata; @@ -211,6 +213,10 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) { foreach($errorstack as $e_idx => $e_name) { echo ERROR . ': ' . $e_name . '
'; } + + if ($serendipity['GET']['only_group'] == 'UPGRADE') { + serendipity_plugin_api::hook_event('backend_pluginlisting_header_upgrade', $pluggroups); + } ?> " >