Make external event plugins work properly again. Genpage should not be used? Will discuss on the forums.
Also add inactive/active placements to backend
This commit is contained in:
parent
0c787fcbfe
commit
d208452096
@ -85,6 +85,9 @@ function show_plugins($event_only = false, $sidebars = null)
|
||||
}
|
||||
}
|
||||
|
||||
$opts['event'] = PLUGIN_ACTIVE;
|
||||
$opts['eventh'] = PLUGIN_INACTIVE;
|
||||
|
||||
|
||||
$data['event_only'] = $event_only;
|
||||
if (!$event_only) {
|
||||
|
@ -368,7 +368,7 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range
|
||||
exit;
|
||||
} else if (preg_match(PAT_PLUGIN, $uri, $matches)) {
|
||||
$serendipity['view'] = 'plugin';
|
||||
include(S9Y_INCLUDE_PATH . 'include/genpage.inc.php');
|
||||
#include(S9Y_INCLUDE_PATH . 'include/genpage.inc.php');
|
||||
|
||||
#echo $serendipity["handler"]["test.js"];
|
||||
serendipity_plugin_api::hook_event('external_plugin', $matches[2]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user