function domain_locale_page in Domain Locale 6
The domain language page callback router.
Parameters
$domain: The $domain object created by domain_lookup().
1 string reference to 'domain_locale_page'
- domain_locale_menu in ./
domain_locale.module - Implementation of hook_menu().
File
- ./
domain_locale.admin.inc, line 14 - Provides admin functionality for domain specific language settings
Code
function domain_locale_page($domain) {
if (isset($domain['domain_id'])) {
// Ensure we are on the proper domain.
domain_goto($domain);
drupal_set_title(t('!site : Domain language settings', array(
'!site' => $domain['sitename'],
)));
$output = theme_domain_locale_reset($domain);
return $output . drupal_get_form('domain_locale_languages_overview_form', $domain['domain_id']);
}
else {
return t('Invalid domain request.');
}
}