mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
N°2313 - Markup extensibility: Update usages of admin. console tabs to have codes and titles
This commit is contained in:
@@ -1735,7 +1735,7 @@
|
||||
}
|
||||
|
||||
$sCount = ($iTotal > 0) ? ' ('.$iTotal.')' : '';
|
||||
$oPage->SetCurrentTab(Dict::S('Class:FunctionalCI/Tab:OpenedTickets').$sCount);
|
||||
$oPage->SetCurrentTab('Class:FunctionalCI/Tab:OpenedTickets', Dict::S('Class:FunctionalCI/Tab:OpenedTickets').$sCount);
|
||||
|
||||
foreach ($aSearches as $sSubClass => $oSearch)
|
||||
{
|
||||
@@ -6722,7 +6722,7 @@
|
||||
|
||||
if (!$bEditMode)
|
||||
{
|
||||
$oPage->SetCurrentTab(Dict::S('Class:Subnet/Tab:IPUsage'));
|
||||
$oPage->SetCurrentTab('Class:Subnet/Tab:IPUsage');
|
||||
|
||||
$bit_ip = ip2long($this->Get('ip'));
|
||||
$bit_mask = ip2long($this->Get('ip_mask'));
|
||||
@@ -6744,7 +6744,7 @@
|
||||
$iCountRange = $iIPMax - $iIPMin; // On 32-bit systems the substraction will be computed using floats for values greater than PHP_MAX_INT;
|
||||
$iFreeCount = $iCountRange - $iCountUsed;
|
||||
|
||||
$oPage->SetCurrentTab(Dict::S('Class:Subnet/Tab:FreeIPs'));
|
||||
$oPage->SetCurrentTab('Class:Subnet/Tab:FreeIPs');
|
||||
$oPage->p(Dict::Format('Class:Subnet/Tab:FreeIPs-count', $iFreeCount));
|
||||
$oPage->p(Dict::S('Class:Subnet/Tab:FreeIPs-explain'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user