From 5fc635f7bba37e47054faa2ecc2cc246d7d16f6a Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 8 Jan 2012 14:27:48 +0100 Subject: Fixed some plugin related bugs. * Plugin backend pages did not work. * Plugin author was not transferred to database. --- ratatoeskr/backend.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'ratatoeskr/backend.php') diff --git a/ratatoeskr/backend.php b/ratatoeskr/backend.php index 80fbc26..5d736b3 100644 --- a/ratatoeskr/backend.php +++ b/ratatoeskr/backend.php @@ -57,6 +57,12 @@ function askyesno($ste, $callback, $question, $yes=NULL, $no=NULL, $moredetails= return $ste->exectemplate("systemtemplates/areyousure.html"); } +$backend_subactions = NULL; + +function build_backend_subactions() +{ +global $backend_subactions, $pluginpages_handlers; + $backend_subactions = url_action_subactions(array( "_index" => url_action_alias(array("login")), "index" => url_action_alias(array("login")), @@ -1932,7 +1938,9 @@ $backend_subactions = url_action_subactions(array( echo $ste->exectemplate("systemtemplates/confirminstall.html"); } )), - "pluginpages" => url_action_subactions($pluginpages_handlers) + "pluginpages" => url_action_subactions(&$pluginpages_handlers) )); +} + ?> -- cgit v1.2.3-70-g09d2