Elgg  Version master
Variables
theme.php File Reference

Go to the source code of this file.

Variables

 $css_vars = _elgg_services()->cssCompiler->getCssVars()
 
 $original_vars = _elgg_services()->cssCompiler->getCssVars([], false)
 
 $config_values = (array) elgg_get_config('custom_theme_vars', [])
 
 $headings = elgg_format_element('th', [], elgg_echo('admin:theme:css_variable:name'))
 
 $thead = elgg_format_element('tr', [], $headings)
 
 $tbody = ''
 
foreach($css_vars as $name=> $value$table = elgg_format_element('thead', [], $thead)
 
 $footer
 

Variable Documentation

$config_values = (array) elgg_get_config('custom_theme_vars', [])

Definition at line 12 of file theme.php.

$css_vars = _elgg_services()->cssCompiler->getCssVars()

Definition at line 9 of file theme.php.

$footer
Initial value:
'#type' => 'submit',
'text' => elgg_echo('save'),
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1112
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17

Definition at line 52 of file theme.php.

$headings = elgg_format_element('th', [], elgg_echo('admin:theme:css_variable:name'))

Definition at line 14 of file theme.php.

$original_vars = _elgg_services()->cssCompiler->getCssVars([], false)

Definition at line 10 of file theme.php.

$table = elgg_format_element('thead', [], $thead)

Definition at line 47 of file theme.php.

$tbody = ''

Definition at line 19 of file theme.php.

$thead = elgg_format_element('tr', [], $headings)

Definition at line 17 of file theme.php.