Changeset 859 for trunk/includes/System.php
- Timestamp:
- Jan 21, 2016, 10:20:04 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/System.php
r858 r859 91 91 function Run() 92 92 { 93 global $ScriptStartTime, $ TranslationTree, $StopAfterUpdateManager,93 global $ScriptStartTime, $StopAfterUpdateManager, 94 94 $UpdateManager; 95 95 … … 116 116 $this->ModuleManager->Start(); 117 117 } 118 119 // TODO: Global initialized variable should be removed120 $TranslationTree = GetTranslationTree();121 118 122 119 // Initialize application modules … … 450 447 function ShowTranslatedMenu() 451 448 { 452 global $TranslationTree;449 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 453 450 454 451 $Output = '<strong>'.T('Translate groups').':</strong><br /><div id="TranslationMenu">'; … … 522 519 $ScriptGenerateDuration = round(GetMicrotime() - $ScriptStartTime, 2); 523 520 524 $Output = '</td>'. 525 '<td class="menu2">'; 526 $Output .= $this->ShowTranslatedMenu(); 527 $Output .= '</td>'. 528 '</tr><tr>'. 521 $Output = '</td>'; 522 if($this->System->ModuleManager->ModulePresent('Translation')) 523 { 524 $Output .= '<td class="menu2">'; 525 $Output .= $this->ShowTranslatedMenu(); 526 $Output .= '</td>'; 527 } 528 $Output .= '</tr><tr>'. 529 529 '<td colspan="4" class="page-bottom">'.T('Version').': '.$Version.' '.T('Revision').': '.$Revision.' ('.HumanDate($ReleaseTime).')'. 530 530 ' <a href="http://svn.zdechov.net/trac/wowpreklad/browser/trunk">'.T('Source code').'</a> '.
Note:
See TracChangeset
for help on using the changeset viewer.