Ejemplo n.º 1
0
 /**
  * Upload the file and ask settings
  *
  */
 public function step1(array $values = array(), array $errors = array())
 {
     $project = $this->getProject();
     $this->response->html($this->projectLayout('task_import/step1', array('project' => $project, 'values' => $values, 'errors' => $errors, 'max_size' => ini_get('upload_max_filesize'), 'delimiters' => Csv::getDelimiters(), 'enclosures' => Csv::getEnclosures(), 'title' => t('Import tasks from CSV file'))));
 }
Ejemplo n.º 2
0
 /**
  * Upload the file and ask settings
  *
  */
 public function step1(array $values = array(), array $errors = array())
 {
     $this->response->html($this->template->layout('user_import/step1', array('values' => $values, 'errors' => $errors, 'max_size' => ini_get('upload_max_filesize'), 'delimiters' => Csv::getDelimiters(), 'enclosures' => Csv::getEnclosures(), 'title' => t('Import users from CSV file'))));
 }