You are here

function lingotek_bulk_mt_upload_batch_complete in Lingotek Translation 7.2

Dashboard Confirmation Screen: Machine Translation Complete Users are directed here after all their content has been queued for translation.

1 string reference to 'lingotek_bulk_mt_upload_batch_complete'
lingotek_menu in ./lingotek.module
Implements hook_menu().

File

./lingotek.batch.inc, line 503

Code

function lingotek_bulk_mt_upload_batch_complete() {
  $form = array();
  $messages = $_SESSION['bulk_mt_batch_results'];
  $form['lingotek_message_1'] = array(
    '#markup' => '<h3>Your content has been queued for translation.</h3>',
  );
  $form['lingotek_message_2'] = array(
    '#markup' => '<div>&nbsp;</div>',
  );
  $form['lingotek_message_3'] = array(
    '#markup' => '<div><strong>Details:</strong></div>',
  );
  $form['lingotek_message_4'] = array(
    '#markup' => '<blockquote>',
  );
  $cnt = 1;
  foreach ($messages as $message) {
    $form['lingotek_message_details_' . $cnt] = array(
      '#markup' => '<div>' . $message . '</div>',
    );
    $cnt++;
  }
  $form['lingotek_message_5'] = array(
    '#markup' => '</blockquote>',
  );
  $form['lingotek_button_spacer'] = array(
    '#markup' => '<div>&nbsp;</div>',
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Continue'),
  );
  return $form;
}