Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
components
column
admin.php
Go to the documentation of this file.
1
<?php
10
$item
=
$vars
[
'item'
];
11
/* @var ElggUser $item */
12
13
if
(
$item
->admin ===
'yes'
) {
14
echo
elgg_echo
(
'option:yes'
);
15
}
elgg_echo
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
$vars
$vars['type']
Install create admin account page.
Definition:
admin.php:8
echo
elgg echo
Translates a string.
Definition:
languages.js:48
$item
$item
Render "Yes" where a user is an admin.
Definition:
admin.php:10
Generated on Sat Dec 21 2024 00:01:04 for Elgg by
1.8.11