Changeset 564 for trunk/Modules/Export/Export.php
- Timestamp:
- Aug 19, 2013, 12:52:44 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/Export.php
r558 r564 1 1 <?php 2 3 include_once(dirname(__FILE__).'/Page.php');4 include_once(dirname(__FILE__).'/ExportOutput.php');5 6 class ModuleExport extends AppModule7 {8 function __construct($System)9 {10 parent::__construct($System);11 $this->Name = 'Export';12 $this->Version = '1.0';13 $this->Creator = 'Chronos';14 $this->License = 'GNU/GPL';15 $this->Description = 'Allow parametric export translated texts to various supported output formats';16 $this->Dependencies = array();17 }18 19 function Start()20 {21 $this->System->RegisterPage('export', 'PageExport');22 $this->System->RegisterMenuItem(array(23 'Title' => 'Exporty',24 'Hint' => 'Zde si můžete stáhnout přeložené texty',25 'Link' => $this->System->Link('/export/'),26 'Permission' => LICENCE_ANONYMOUS,27 'Icon' => '',28 ), 2);29 }30 }31 2 32 3 class Export extends Module … … 351 322 { 352 323 $Output .= $Progress."%\r"; 324 echo($Output); 325 $Output = ''; 353 326 $OldProgress = $Progress; 354 327 } … … 433 406 } 434 407 } 408 409 include_once(dirname(__FILE__).'/Page.php'); 410 include_once(dirname(__FILE__).'/ExportOutput.php'); 411 412 class ModuleExport extends AppModule 413 { 414 function __construct($System) 415 { 416 parent::__construct($System); 417 $this->Name = 'Export'; 418 $this->Version = '1.0'; 419 $this->Creator = 'Chronos'; 420 $this->License = 'GNU/GPL'; 421 $this->Description = 'Allow parametric export translated texts to various supported output formats'; 422 $this->Dependencies = array(); 423 } 424 425 function Start() 426 { 427 $this->System->RegisterPage('export', 'PageExport'); 428 $this->System->RegisterMenuItem(array( 429 'Title' => 'Exporty', 430 'Hint' => 'Zde si můžete stáhnout přeložené texty', 431 'Link' => $this->System->Link('/export/'), 432 'Permission' => LICENCE_ANONYMOUS, 433 'Icon' => '', 434 ), 2); 435 } 436 } 437
Note:
See TracChangeset
for help on using the changeset viewer.