Elgg  Version 2.3
Go to the documentation of this file.
1 <?php
10 $item = $vars['item'];
11 /* @var ElggUser $item */
13 if ($item->admin === 'yes') {
14  echo elgg_echo('option:yes');
15 }
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
Install create admin account page.
Definition: admin.php:8
elgg echo
Translates a string.
Definition: languages.js:48
Render "Yes" where a user is an admin.
Definition: admin.php:10