function locale_date_format_language_overview_page

Display edit date format links for each language.

1 string reference to 'locale_date_format_language_overview_page'
locale_menu in modules/locale/locale.module
Implements hook_menu().

File

modules/locale/locale.admin.inc, line 1310

Code

function locale_date_format_language_overview_page() {
    $header = array(
        t('Language'),
        array(
            'data' => t('Operations'),
            'colspan' => '2',
        ),
    );
    // Get list of languages.
    $languages = locale_language_list('native');
    foreach ($languages as $langcode => $info) {
        $row = array();
        $row[] = $languages[$langcode];
        $row[] = l(t('edit'), 'admin/config/regional/date-time/locale/' . $langcode . '/edit');
        $row[] = l(t('reset'), 'admin/config/regional/date-time/locale/' . $langcode . '/reset');
        $rows[] = $row;
    }
    return theme('table', array(
        'header' => $header,
        'rows' => $rows,
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.