You are here

function lingotek_config_header in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.6 lingotek.config.inc \lingotek_config_header()
1 call to lingotek_config_header()
lingotek_config_get_rows in ./lingotek.config.inc

File

./lingotek.config.inc, line 25
Config grid form elements

Code

function lingotek_config_header() {
  $header = array(
    // Define the tentative source header
    'marked' => array(
      'data' => 'Marked',
    ),
    'lid' => array(
      'data' => t('ID'),
      'field' => 'lid',
      'width' => '2%',
    ),
    'config_set_id' => array(
      'data' => t('Config Set ID'),
      'field' => 'config_set_id',
      'width' => '9%',
    ),
    'set_name' => array(
      'data' => t('Config Set Name'),
      'field' => 'set_id',
      'width' => '15%',
    ),
    'source' => array(
      'data' => t('Source'),
      'field' => 'source',
      'width' => '25%',
    ),
    'source_uploaded' => array(
      'data' => t('Source Uploaded'),
    ),
    'translations' => array(
      'data' => t('Translations'),
      'field' => 'current_target_count',
    ),
    'location' => array(
      'data' => t('Location'),
      'field' => 'location',
    ),
    'context' => array(
      'data' => t('Context'),
      'field' => 'context',
    ),
    'doc_id' => array(
      'data' => t('Doc ID'),
      'field' => 'document_id',
      'display' => 'none',
    ),
    'textgroup' => array(
      'data' => t('Textgroup'),
      'field' => 'textgroup',
    ),
    'workflow' => array(
      'data' => t('Workflow'),
      'field' => 'workflow_id',
    ),
  );
  return $header;
}