$field, 'value' => elgg_get_config($field) ]; if ($field == 'dataroot' && elgg_get_config('dataroot_in_settings')) { $params['readonly'] = true; $params['class'] = 'elgg-state-disabled'; $warning = elgg_echo('admin:settings:in_settings_file'); } $input = elgg_view("input/text", $params); if ($warning) { $input = "$warning"; } ?>