Elgg  Version 4.3
admin.php
Go to the documentation of this file.
1 <?php
11 if (!$item instanceof ElggUser) {
12  return;
13 }
14 
15 if ($item->admin === 'yes') {
16  echo elgg_echo('option:yes');
17 }
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
Definition: languages.php:18
$vars['breadcrumbs']
Definition: admin.php:18
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:547
$item
Render "Yes" where a user is an admin.
Definition: admin.php:10
elgg echo
Translates a string.
Definition: deprecated.js:530