You are here

function translation_admin_content in Internationalization 5

Same name and namespace in other branches
  1. 5.3 translation/translation.module \translation_admin_content()
  2. 5.2 translation/translation.module \translation_admin_content()

Menu callback: administration page for node translations

1 string reference to 'translation_admin_content'
translation_menu in translation/translation.module
Implementation of hook_menu().

File

translation/translation.module, line 486

Code

function translation_admin_content() {
  $output = '';
  $defaults = array(
    'translation_language' => i18n_get_lang(),
    'source_status' => TRANSLATION_STATUS_SOURCE,
  );

  // Filter forms
  $output .= drupal_get_form('node_filter_form');
  $output .= drupal_get_form('translation_filter_form', $defaults);

  // Node listing depending on previous forms
  $output .= drupal_get_form('translation_admin_nodes');
  return $output;
}