diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2021-03-16 09:56:55 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2021-03-16 09:56:55 +0300 |
commit | 978c0359fc0d332f175b6c9af314886dfa77f340 (patch) | |
tree | 179c098505f4be2ac911744a380d174d8d5ec8d0 /src/controllers/HistoryController.php | |
parent | 4c18f3e766270c68a9ae0d7c49a2de76cbfca0e2 (diff) |
got new layout working
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( |