// show only first three rows of excel table View::mapFields($mapping, $excel, 3, $filesystemValid, $filesystemErrors, $tableValid, $tableErrors, $tableWarnings); } else { View::debug("Beim Hochladen der Datei ist ein Fehler aufgetreten.\n"); } include '../../../include/footer.php'; break; default: include '../../../include/header.php'; $conflictsMap = array(); $uploadsMap = getUploadsMap($conflictsMap); $filesystemErrors = array(); $filesystemWarnings = array(); $filesystemValid = filesystemValidator($filesystemErrors, $filesystemWarnings, $conflictsMap); // leads to 'xls_upload' View::chooseXLS($filesystemValid, $filesystemErrors); include '../../../include/footer.php'; break; } function getResources(&$excel, &$mapper, $template, &$uploadsMap, &$errorMap, &$warningsMap) { global $mediaPath; $resources = array(); for ($row = 2; $row <= $excel->numRows(); ++$row) { $type = null; $collection = null; $filename = null; $fields = array(); $access = null; $remark = $template; $isempty = true;