mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
Introduce GET parameter _disableLayout to ... disable the entire layout
refs #8758
This commit is contained in:
parent
6d4d99aa62
commit
d192410435
@ -96,6 +96,9 @@ class ActionController extends Zend_Controller_Action
|
|||||||
if ($this->rerenderLayout = $request->getUrl()->shift('renderLayout')) {
|
if ($this->rerenderLayout = $request->getUrl()->shift('renderLayout')) {
|
||||||
$this->xhrLayout = 'body';
|
$this->xhrLayout = 'body';
|
||||||
}
|
}
|
||||||
|
if ($request->getUrl()->shift('_disableLayout')) {
|
||||||
|
$this->_helper->layout()->disableLayout();
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->requiresLogin()) {
|
if ($this->requiresLogin()) {
|
||||||
$this->redirectToLogin(Url::fromRequest());
|
$this->redirectToLogin(Url::fromRequest());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user