22 foreach (
$css_vars as $color_scheme => $scheme_vars) {
25 $configurable_vars = $color_scheme ===
'default' ? $scheme_vars : array_merge(
$default_scheme_vars, $scheme_vars);
32 'name' =>
"vars[{$color_scheme}][{$name}]",
42 $tabs[$color_scheme] = [
43 'text' =>
elgg_echo(
"color_scheme:{$color_scheme}"),
45 'selected' => $color_scheme ===
'default',
if(! $user||! $user->canDelete()) $name
_elgg_services()
Get the global service provider.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_set_form_footer(string $footer='')
Sets form footer and defers its rendering until the form view and extensions have been rendered.
elgg_view_message(string $type, string $body, array $vars=[])
Wrapper function for the message display pattern.
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
elgg_format_element(string $tag_name, array $attributes=[], string $text='', array $options=[])
Format an HTML element.