Elgg  Version master
Variables
information.php File Reference

Go to the source code of this file.

Variables

 $params = $vars
 
 $params ['selected'] = 'information'
 
 $icon_ok = elgg_view_icon('check')
 
 $icon_warning = elgg_view_icon('exclamation-triangle')
 
 $icon_error = elgg_view_icon('times')
 
 $view_module
 
 $icon = $icon_ok
 
 $title = elgg_echo('admin:security:information:https')
 
 $value = elgg_echo('option:yes')
 
 $subtext = ''
 
 if (parse_url(elgg_get_site_url(), PHP_URL_SCHEME)!== 'https')
 
 $strength = _elgg_services()->siteSecret->getStrength()
 
 $probability = ini_get('session.gc_probability')
 
 $divisor = ini_get('session.gc_divisor')
 
 $maxlifetime = ini_get('session.gc_maxlifetime')
 
 $curl = curl_init(elgg_normalize_site_url('vendor/autoload.php'))
 

Variable Documentation

$curl = curl_init(elgg_normalize_site_url('vendor/autoload.php'))

Definition at line 152 of file information.php.

$divisor = ini_get('session.gc_divisor')

Definition at line 131 of file information.php.

$icon = $icon_ok

Definition at line 35 of file information.php.

$icon_error = elgg_view_icon('times')

Definition at line 19 of file information.php.

$icon_ok = elgg_view_icon('check')

Definition at line 17 of file information.php.

$icon_warning = elgg_view_icon('exclamation-triangle')

Definition at line 18 of file information.php.

$maxlifetime = ini_get('session.gc_maxlifetime')

Definition at line 132 of file information.php.

$params = $vars

Definition at line 9 of file information.php.

$params['selected'] = 'information'

Definition at line 10 of file information.php.

$probability = ini_get('session.gc_probability')

Definition at line 130 of file information.php.

$strength = _elgg_services()->siteSecret->getStrength()

Definition at line 113 of file information.php.

$subtext = ''

Definition at line 38 of file information.php.

$title = elgg_echo('admin:security:information:https')

Definition at line 36 of file information.php.

$value = elgg_echo('option:yes')

Definition at line 37 of file information.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']);
}
$value
Definition: information.php:37
elgg_view_image_block(string $image, string $body, array $vars=[])
Wrapper function for the image block display pattern.
Definition: views.php:898
$icon
Definition: information.php:35
elgg_is_empty($value)
Check if a value isn't empty, but allow 0 and '0'.
Definition: input.php:176
$subtext
Definition: information.php:38
$body
Definition: useradd.php:55
$title
Definition: information.php:36
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145

Definition at line 21 of file information.php.

if(curl_getinfo($curl, CURLINFO_HTTP_CODE)===403)

Definition at line 40 of file information.php.