diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-01-08 14:27:48 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-01-08 14:27:48 +0100 |
commit | 5fc635f7bba37e47054faa2ecc2cc246d7d16f6a (patch) | |
tree | 084c80ab951f80c71cd29cc6498b81eda3551d38 /ratatoeskr/backend.php | |
parent | 2b74984974b8363aa2bf197fb1d3950f7425a878 (diff) | |
download | ratatoeskr-cms-5fc635f7bba37e47054faa2ecc2cc246d7d16f6a.tar.gz ratatoeskr-cms-5fc635f7bba37e47054faa2ecc2cc246d7d16f6a.tar.bz2 ratatoeskr-cms-5fc635f7bba37e47054faa2ecc2cc246d7d16f6a.zip |
Fixed some plugin related bugs.
* Plugin backend pages did not work.
* Plugin author was not transferred to database.
Diffstat (limited to 'ratatoeskr/backend.php')
-rw-r--r-- | ratatoeskr/backend.php | 10 |
1 files changed, 9 insertions, 1 deletions
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) )); +} + ?> |