Changeset 859 for trunk/Modules/Export
- Timestamp:
- Jan 21, 2016, 10:20:04 AM (9 years ago)
- Location:
- trunk/Modules/Export
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/CreateAddon.php
r816 r859 103 103 function MakeLanguageFiles() 104 104 { 105 global $TranslationTree, $CreatedFileList; 105 global $CreatedFileList; 106 107 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 106 108 107 109 $Output = ''; … … 217 219 function MakeClientStrings() 218 220 { 219 global $TranslationTree;221 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 220 222 221 223 $this->LoadFilters(); -
trunk/Modules/Export/Export.php
r838 r859 73 73 function BuildQuery($Group, $Version = '') 74 74 { 75 global $TranslationTree;75 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 76 76 $this->SaveAllUsers(); 77 77 … … 153 153 function ExportToMangosSQL() 154 154 { 155 global $TranslationTree;155 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 156 156 157 157 $this->LoadFilters(); … … 221 221 function ExportToAoWoWSQL() 222 222 { 223 global $TranslationTree, $AoWoWconf; 223 global $AoWoWconf; 224 225 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 224 226 225 227 //require_once('../aowow/configs/config.php'); … … 314 316 function ExportToDBC() 315 317 { 316 global $TranslationTree;318 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 317 319 318 320 $this->LoadFilters(); … … 425 427 function ExportToLua() 426 428 { 427 global $TranslationTree;429 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 428 430 429 431 $this->LoadFilters(); … … 642 644 function ExportToXML() 643 645 { 644 global $TranslationTree;646 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 645 647 646 648 $this->LoadFilters(); … … 707 709 $this->License = 'GNU/GPL'; 708 710 $this->Description = 'Allow parametric export of translated texts to various supported output formats'; 709 $this->Dependencies = array( );711 $this->Dependencies = array('Translation'); 710 712 } 711 713 -
trunk/Modules/Export/Page.php
r851 r859 157 157 function ExportViewTranslators() 158 158 { 159 global $TranslationTree;159 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 160 160 161 161 $Output = ''; … … 319 319 function ExportViewLanguages() 320 320 { 321 global $TranslationTree;321 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 322 322 323 323 $Output = ''; … … 410 410 function ExportViewGroups() 411 411 { 412 global $TranslationTree;412 $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree(); 413 413 414 414 $Output = '';
Note:
See TracChangeset
for help on using the changeset viewer.