Elgg  Version 6.1
Variables
generic.php File Reference

Go to the source code of this file.

Variables

 $icon_ok = elgg_view_icon('check')
 Generic performance overview, more detailed information can be added to additional tabs in /admin/performance. More...
 
 $icon_warning = elgg_view_icon('exclamation-triangle')
 
 $icon_error = elgg_view_icon('times')
 
 $view_module
 
if(function_exists('apache_get_version')) $icon = $icon_ok
 
 $title = elgg_echo('admin:performance:php:open_basedir')
 
 $value = elgg_echo('admin:performance:php:open_basedir:not_configured')
 
 $subtext = ''
 
 $open_basedirs = ini_get('open_basedir')
 
 if (!empty($open_basedirs))
 

Variable Documentation

$icon = $icon_ok

Definition at line 49 of file generic.php.

$icon_error = elgg_view_icon('times')

Definition at line 13 of file generic.php.

$icon_ok = elgg_view_icon('check')

Generic performance overview, more detailed information can be added to additional tabs in /admin/performance.

Definition at line 11 of file generic.php.

$icon_warning = elgg_view_icon('exclamation-triangle')

Definition at line 12 of file generic.php.

$open_basedirs = ini_get('open_basedir')

Definition at line 54 of file generic.php.

$subtext = ''

Definition at line 52 of file generic.php.

$title = elgg_echo('admin:performance:php:open_basedir')
$value = elgg_echo('admin:performance:php:open_basedir:not_configured')
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 51 of file generic.php.

$view_module
Initial value:
= function($icon, $title, $value = '', $subtext = '') {
$body = elgg_format_element('strong', [], $title);
$body .= elgg_format_element('span', ['class' => 'mlm'], $value);
}
$body .= elgg_format_element('div', ['class' => 'elgg-subtext'], $subtext);
}
return elgg_view_image_block($icon, $body, ['class' => 'elgg-admin-information-row']);
}
$subtext
Definition: generic.php:52
elgg_view_image_block(string $image, string $body, array $vars=[])
Wrapper function for the image block display pattern.
Definition: views.php:898
$title
Definition: generic.php:50
$value
Definition: generic.php:51
elgg_is_empty($value)
Check if a value isn't empty, but allow 0 and '0'.
Definition: input.php:176
if(function_exists('apache_get_version')) $icon
Definition: generic.php:49
$body
Definition: useradd.php:55
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145

Definition at line 15 of file generic.php.

if(_elgg_services() ->systemCache->isEnabled())

Definition at line 55 of file generic.php.