diff options
Diffstat (limited to 'src/controllers/HistoryController.php')
-rw-r--r-- | src/controllers/HistoryController.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/controllers/HistoryController.php b/src/controllers/HistoryController.php index c614b160..3f66a288 100644 --- a/src/controllers/HistoryController.php +++ b/src/controllers/HistoryController.php @@ -64,6 +64,8 @@ class HistoryController extends BaseController // Set the name of the window $this->setWindowName('history'); + $this->view->offsetSet('excludeJsTree',true); + $this->view->offsetSet('inPopUp',true); return $this->printFooter(true, 'footer_sqledit.twig'); } @@ -77,7 +79,7 @@ class HistoryController extends BaseController // Bring to the front always echo '<body onload="window.focus();">' . \PHP_EOL; - echo '<form action="' . \containerInstance()->subFolder . '/src/views/history" method="post">' . \PHP_EOL; + echo '<form action="history" method="post">' . \PHP_EOL; $this->printConnection('history'); echo '</form><br />'; @@ -213,7 +215,7 @@ class HistoryController extends BaseController ) . \PHP_EOL; echo '<pre>', \htmlentities($_SESSION['history'][$_REQUEST['server']][$_REQUEST['database']][$qid]['query'], \ENT_QUOTES, 'UTF-8'), '</pre>'; - echo '<form action="' . \containerInstance()->subFolder . '/src/views/history" method="post">' . \PHP_EOL; + echo '<form action="history" method="post">' . \PHP_EOL; echo '<input type="hidden" name="action" value="delhistory" />' . \PHP_EOL; echo \sprintf( '<input type="hidden" name="queryid" value="%s" />', @@ -251,7 +253,7 @@ class HistoryController extends BaseController $this->lang['strconfclearhistory'] ) . \PHP_EOL; - echo '<form action="' . \containerInstance()->subFolder . '/src/views/history" method="post">' . \PHP_EOL; + echo '<form action="history" method="post">' . \PHP_EOL; echo '<input type="hidden" name="action" value="clearhistory" />' . \PHP_EOL; echo $this->view->form; echo \sprintf( |