Elgg  Version master
Variables
theme.php File Reference

Go to the source code of this file.

Variables

 $css_vars = _elgg_services()->cssCompiler->getCssVars()
 
 $tabs = []
 
 $headings = elgg_format_element('th', [], elgg_echo('admin:theme:css_variable:name'))
 
 $thead = elgg_format_element('tr', [], $headings)
 
 $default_scheme_vars = []
 
if(isset($css_vars['default'])) foreach ( $css_vars as $color_scheme=> $scheme_vars)
 
 $footer
 

Variable Documentation

◆ $css_vars

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

Definition at line 7 of file theme.php.

◆ $default_scheme_vars

$default_scheme_vars = []

Definition at line 15 of file theme.php.

◆ $footer

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

Definition at line 53 of file theme.php.

◆ $headings

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

Definition at line 11 of file theme.php.

◆ $tabs

$tabs = []

Definition at line 9 of file theme.php.

◆ $thead

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

Definition at line 13 of file theme.php.

◆ foreach

if (isset( $css_vars[ 'default'])) foreach($css_vars as $color_scheme=> $scheme_vars) (   $css_vars as,
  $scheme_vars 
)

Definition at line 22 of file theme.php.