Skip to content
Browse files

Test page

-Created plugins/Example/test_page.php
  • Loading branch information...
1 parent e727129 commit 1e64f74983dfe2a8aa5516427d6d369ab9593102 @leonardosapiras committed
Showing with 11 additions and 1 deletion.
  1. +1 −1 plugins/Example/plugin.php
  2. +10 −0 plugins/Example/test_page.php
View
2 plugins/Example/plugin.php
@@ -79,7 +79,7 @@ function get_name() {
function add_plugin_toplinks(&$plugin_functions_parameters) {
global $misc;
- $href = "plugin.php?".$plugin_functions_parameters['href'];
+ $href = "plugins/Example/test_page.php?".$plugin_functions_parameters['href'];
$href.= "&plugin=".urlencode($this->name);
$href.= "&action=show_page";
View
10 plugins/Example/test_page.php
@@ -0,0 +1,10 @@
+<?php
+require_once('../../libraries/lib.inc.php');
+//
+$misc->printHeader($lang['strdatabase']);
+$misc->printBody();
+$misc->printTopbar();
+//
+$plugin_manager->do_action($_REQUEST['plugin'], $_REQUEST['action']);
+$misc->printFooter();
+?>

0 comments on commit 1e64f74

Please sign in to comment.
Something went wrong with that request. Please try again.