Changeset 565 for trunk/Modules/Export/Page.php
- Timestamp:
- Aug 20, 2013, 10:48:15 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/Page.php
r560 r565 104 104 WriteLog('Vytvořen nový export <a href="'.$this->System->Link('/export/?Action=View&ExportId='.$ExportId).'">'.$ExportId.'</a>.', LOG_TYPE_EXPORT); 105 105 $_GET['Filter'] = 'my'; 106 ExportList();106 $this->ExportList(); 107 107 } else $Output = ShowMessage('Nemůžete vytvářet další export. Max. počet na uživatele je '.$this->System->Config['MaxExportPerUser'].'.', MESSAGE_CRITICAL); 108 108 } else $Output = ShowMessage('Chybí údaje formuláře.', MESSAGE_CRITICAL); … … 129 129 $_GET['Filter'] = 'my'; 130 130 WriteLog('Smazán export '.$_GET['ExportId'], LOG_TYPE_EXPORT); 131 $Output .= ExportList();131 $Output .= $this->ExportList(); 132 132 } else $Output = ShowMessage('Export nenalezen.', MESSAGE_CRITICAL); 133 133 } else $Output = ShowMessage('Nemáte oprávnění.', MESSAGE_CRITICAL); … … 592 592 function ExportViewStat() 593 593 { 594 global $Config;595 596 594 $Export = new Export($this->System); 597 595 $Export->Id = $_GET['ExportId']; … … 617 615 '(SELECT COUNT(DISTINCT(`Entry`)) FROM ('. 618 616 ' SELECT `T`.* FROM `'.$DbRow['TablePrefix'].'` AS `T`'. 619 ' WHERE (`Language` = '.$ Config['OriginalLanguage'].') AND (`VersionStart` <= '.$Export->ClientVersion['BuildNumber'].') AND (`VersionEnd` >= '.$Export->ClientVersion['BuildNumber'].')'.617 ' WHERE (`Language` = '.$this->System->Config['OriginalLanguage'].') AND (`VersionStart` <= '.$Export->ClientVersion['BuildNumber'].') AND (`VersionEnd` >= '.$Export->ClientVersion['BuildNumber'].')'. 620 618 ') AS `C2`) AS `Total`, "'.$DbRow['Name'].'" AS `Name`'; 621 619 } … … 626 624 $PageList = GetPageList($DbRow[0]); 627 625 $Output = '<h3>Statistika dokončení vybraných skupin</h3>'. 628 626 $PageList['Output']; 629 627 630 628 $Output .= '<table class="BaseTable">'; 631 629 $TableColumns = array( 632 633 634 635 630 array('Name' => 'Name', 'Title' => 'Jméno'), 631 array('Name' => 'Translated', 'Title' => 'Přeložených'), 632 array('Name' => 'Total', 'Title' => 'Anglických'), 633 array('Name' => 'Percent', 'Title' => 'Procenta'), 636 634 ); 637 635 … … 704 702 } 705 703 } 706
Note:
See TracChangeset
for help on using the changeset viewer.