Skip to content

Commit

Permalink
Test page
Browse files Browse the repository at this point in the history
-Created plugins/Example/test_page.php
  • Loading branch information
leonardosapiras committed May 27, 2011
1 parent e727129 commit 1e64f74
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Example/plugin.php
Expand Up @@ -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";

Expand Down
10 changes: 10 additions & 0 deletions 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.