Elgg
Version 6.0
|
Go to the source code of this file.
Variables | |
$user = elgg_extract('entity', $vars, elgg_get_page_owner_entity()) | |
Provide a way of setting your language prefs. More... | |
if(!$user instanceof ElggUser) | $who_can_change_language = elgg_get_config('who_can_change_language') |
if($who_can_change_language=== 'nobody') elseif($who_can_change_language=== 'admin_only'&&!elgg_is_admin_logged_in()) | $options = elgg()->translator->getInstalledTranslations(elgg_is_admin_logged_in()) |
if(count($options)< 2) | $content |
if (count($options)< 2) $content |
Definition at line 33 of file language.php.
$options = elgg()->translator->getInstalledTranslations(elgg_is_admin_logged_in()) |
Definition at line 20 of file language.php.
$user = elgg_extract('entity', $vars, elgg_get_page_owner_entity()) |
Provide a way of setting your language prefs.
$vars['entity'] the user to set settings for
Definition at line 8 of file language.php.
if (!$user instanceof ElggUser) $who_can_change_language = elgg_get_config('who_can_change_language') |
Definition at line 13 of file language.php.