mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 15:24:05 +02:00
parent
8669dcb078
commit
3a2b69a63c
@ -116,13 +116,6 @@ EOT;
|
|||||||
*/
|
*/
|
||||||
private $title;
|
private $title;
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether the tabs should contain a refresh icon
|
|
||||||
*
|
|
||||||
* @var bool
|
|
||||||
*/
|
|
||||||
private $refreshTab = true;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set whether the current tab is closable
|
* Set whether the current tab is closable
|
||||||
*/
|
*/
|
||||||
@ -335,7 +328,7 @@ EOT;
|
|||||||
$tab = $this->get($this->getActiveName());
|
$tab = $this->get($this->getActiveName());
|
||||||
|
|
||||||
if ($tab !== null) {
|
if ($tab !== null) {
|
||||||
$caption = Icinga::app()->getViewRenderer()->view->escape(
|
$caption = $this->view()->escape(
|
||||||
$tab->getLabel()
|
$tab->getLabel()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
@ -377,7 +370,7 @@ EOT;
|
|||||||
$drop = $this->renderDropdownTabs();
|
$drop = $this->renderDropdownTabs();
|
||||||
}
|
}
|
||||||
$close = $this->closeTab ? $this->renderCloseTab() : '';
|
$close = $this->closeTab ? $this->renderCloseTab() : '';
|
||||||
$refresh = $this->refreshTab ? $this->renderRefreshTab() : '';
|
$refresh = $this->renderRefreshTab();
|
||||||
|
|
||||||
return str_replace(
|
return str_replace(
|
||||||
array(
|
array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user