diff --git a/out/out.Help.php b/out/out.Help.php index 3c9a3192e..e68154dae 100644 --- a/out/out.Help.php +++ b/out/out.Help.php @@ -23,8 +23,16 @@ include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); $tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME'])); -$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user)); +$view = UI::factory($theme, $tmp[1]); + +if(isset($_GET['context'])) + $context = $_GET['context']; +else + $context = ''; if($view) { + $view->setParam('dms', $dms); + $view->setParam('user', $user); + $view->setParam('context', $context); $view->show(); exit; } diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index c855e1be4..63e75a575 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -296,7 +296,8 @@ $(document).ready(function () { // echo "