From 7f01270ba106937300cf491927839d3428360d0a Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 5 Oct 2010 10:53:40 +0000 Subject: moved installation to its own viewtype git-svn-id: http://code.elgg.org/elgg/trunk@7010 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/installation/install/forms/template.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 views/installation/install/forms/template.php (limited to 'views/installation/install/forms/template.php') diff --git a/views/installation/install/forms/template.php b/views/installation/install/forms/template.php new file mode 100644 index 000000000..a2d93f42e --- /dev/null +++ b/views/installation/install/forms/template.php @@ -0,0 +1,27 @@ + $params) { + $label = elgg_echo("installation:$type:label:$field"); + $help = elgg_echo("installation:$type:help:$field"); + $params['internalname'] = $field; + + $form_body .= '

'; + $form_body .= ""; + $form_body .= elgg_view("input/{$params['type']}", $params); + $form_body .= "$help"; + $form_body .= '

'; +} + +$form_body .= elgg_view('input/submit', array('value' => elgg_echo('next'))); + +echo $form_body; -- cgit v1.2.3