diff options
Diffstat (limited to 'src/controllers/SqleditController.php')
-rw-r--r-- | src/controllers/SqleditController.php | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/controllers/SqleditController.php b/src/controllers/SqleditController.php index 6d98ecaf..19811178 100644 --- a/src/controllers/SqleditController.php +++ b/src/controllers/SqleditController.php @@ -41,16 +41,19 @@ class SqleditController extends BaseController break; } - + $this->setWindowName('sqledit'); $this->scripts = '<script type="text/javascript">window.inPopUp=true;</script>'; - $this->printHeader($title, $this->scripts, true, 'header_sqledit.twig'); - $this->printBody(true, 'sql_edit'); + $header=$this->printHeader($title, $this->scripts, false, 'header_sqledit.twig'); + echo $header; + $this->printBody(true, 'sql_edit',false,false); echo $body_text; - $this->printFooter(true, 'footer_sqledit.twig'); + $footer=$this->printFooter(false, 'footer_sqledit.twig'); + + echo $footer; } /** @@ -72,7 +75,7 @@ class SqleditController extends BaseController $default_html = $this->printTabs('popup', 'sql', false); - $default_html .= '<form action="' . \containerInstance()->subFolder . '/src/views/sql" method="post" enctype="multipart/form-data" class="sqlform" id="sqlform" target="detail">'; + $default_html .= '<form action="' . \containerInstance()->subFolder . '/sql" method="post" enctype="multipart/form-data" class="sqlform" id="sqlform" target="parent">'; $default_html .= \PHP_EOL; $default_html .= $this->printConnection('sql', false); |