Changeset 578 for trunk/Modules/Export/Page.php
- Timestamp:
- Sep 11, 2013, 10:59:06 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/Page.php
r577 r578 108 108 $ExportId = $this->System->Database->insert_id; 109 109 $Output = ShowMessage('Nový export vytvořen.<br/>Přímý odkaz na tento export: <a href="?Action=View&ExportId='.$ExportId.'">zde</a>'); 110 WriteLog('Vytvořen nový export <a href="'.$this->System->Link('/export/?Action=View&ExportId='.$ExportId).'">'.$ExportId.'</a>.', LOG_TYPE_EXPORT);110 $this->System->ModuleManager->Modules['Log']->WriteLog('Vytvořen nový export <a href="'.$this->System->Link('/export/?Action=View&ExportId='.$ExportId).'">'.$ExportId.'</a>.', LOG_TYPE_EXPORT); 111 111 $_GET['Filter'] = 'my'; 112 112 $this->ExportList(); … … 132 132 $Output = ShowMessage('Export smazán.'); 133 133 $_GET['Filter'] = 'my'; 134 WriteLog('Smazán export '.$_GET['ExportId'], LOG_TYPE_EXPORT);134 $this->System->ModuleManager->Modules['Log']->WriteLog('Smazán export '.$_GET['ExportId'], LOG_TYPE_EXPORT); 135 135 $Output .= $this->ExportList(); 136 136 } else $Output = ShowMessage('Export nenalezen.', MESSAGE_CRITICAL); … … 715 715 $this->System->Database->query('INSERT INTO `ExportUser` (SELECT NULL AS `Id`, '.$ExportId.' AS `Export`, `User`, `Sequence` FROM `ExportUser` WHERE `Export`='.$_GET['ExportId'].')'); 716 716 $Output = ShowMessage('Kopie exportu vytvořena.<br/>Přímý odkaz na tento export: <a href="?Action=View&ExportId='.$ExportId.'">zde</a>'); 717 WriteLog('Vytvořena kopie exportu <a href="'.$this->System->Link('/export/?Action=View&ExportId='.$ExportId).'">'.$ExportId.'</a>.', LOG_TYPE_EXPORT);717 $this->System->ModuleManager->Modules['Log']->WriteLog('Vytvořena kopie exportu <a href="'.$this->System->Link('/export/?Action=View&ExportId='.$ExportId).'">'.$ExportId.'</a>.', LOG_TYPE_EXPORT); 718 718 $_GET['Filter'] = 'my'; 719 719 $this->ExportList();
Note:
See TracChangeset
for help on using the changeset viewer.