elgg_echo('installation:simplecache:label'), 'name' => 'simplecache_enabled', 'checked' => $is_simple_cache_on, ); if (elgg_get_config('simplecache_enabled_in_settings')) { $params['class'] = 'elgg-state-disabled'; $params['label_class'] = 'elgg-state-disabled'; } $simple_cache_input .= elgg_view("input/checkbox", $params); $simple_cache_warning = ''; if (elgg_get_config('simplecache_enabled_in_settings')) { $warning = elgg_echo('admin:settings:in_settings_file'); $simple_cache_warning .= "$warning"; } // minify $minify_js_input = elgg_view("input/checkbox", array( 'label' => elgg_echo('installation:minify_js:label'), 'name' => 'simplecache_minify_js', 'checked' => (bool)elgg_get_config('simplecache_minify_js'), 'label_class' => $simple_cache_disabled_class, )); $minify_css_input = elgg_view("input/checkbox", array( 'label' => elgg_echo('installation:minify_css:label'), 'name' => 'simplecache_minify_css', 'checked' => (bool)elgg_get_config('simplecache_minify_css'), 'label_class' => $simple_cache_disabled_class, )); $system_cache_input = elgg_view("input/checkbox", array( 'label' => elgg_echo('installation:systemcache:label'), 'name' => 'system_cache_enabled', 'checked' => (bool)elgg_get_config('system_cache_enabled'), )) ?>