- Localization of the "Notifications" menu

SVN:trunk[443]
This commit is contained in:
Denis Flaven
2010-06-08 15:42:58 +00:00
parent b827fbb295
commit 090e766f84
4 changed files with 84 additions and 50 deletions

View File

@@ -169,7 +169,7 @@ class DisplayTemplate
break;
case 'itoptab':
$oPage->SetCurrentTab(str_replace('_', ' ', $aAttributes['name']));
$oPage->SetCurrentTab(Dict::S(str_replace('_', ' ', $aAttributes['name'])));
$oTemplate = new DisplayTemplate($sContent);
$oTemplate->Render($oPage, array()); // no params to apply, they have already been applied
//$oPage->p('iTop Tab Content:<pre>'.htmlentities($sContent).'</pre>');
@@ -179,7 +179,7 @@ class DisplayTemplate
case 'itoptoggle':
$sName = isset($aAttributes['name']) ? $aAttributes['name'] : 'Tagada';
$bOpen = isset($aAttributes['open']) ? $aAttributes['open'] : true;
$oPage->StartCollapsibleSection($sName, $bOpen);
$oPage->StartCollapsibleSection(Dict::S($sName), $bOpen);
$oTemplate = new DisplayTemplate($sContent);
$oTemplate->Render($oPage, array()); // no params to apply, they have already been applied
//$oPage->p('iTop Tab Content:<pre>'.htmlentities($sContent).'</pre>');