aboutsummaryrefslogtreecommitdiff
path: root/views/installation/install/pages/settings.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 18:44:57 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 18:44:57 +0000
commit8272be76936f9913b4bb29a6ac7d052ac39c8323 (patch)
treeaeed9f15af1ba5e6d6a847d5dec95676f3373179 /views/installation/install/pages/settings.php
parent75493dfb8cfe3b4a329d8255a55fdf9c534f8fbd (diff)
downloadelgg-8272be76936f9913b4bb29a6ac7d052ac39c8323.tar.gz
elgg-8272be76936f9913b4bb29a6ac7d052ac39c8323.tar.bz2
Converted installation forms to use elgg_view_form and the /forms/ directory
git-svn-id: http://code.elgg.org/elgg/trunk@8465 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/installation/install/pages/settings.php')
-rw-r--r--views/installation/install/pages/settings.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/views/installation/install/pages/settings.php b/views/installation/install/pages/settings.php
index 6f20573ef..d1fd0a9ff 100644
--- a/views/installation/install/pages/settings.php
+++ b/views/installation/install/pages/settings.php
@@ -2,4 +2,14 @@
echo autop(elgg_echo('install:settings:instructions'));
-echo elgg_view('install/forms/settings', $vars);
+$vars['type'] = 'settings';
+
+$url = current_page_url();
+
+$form_vars = array(
+ 'action' => $url,
+ 'disable_security' => TRUE,
+ 'onsubmit' => 'return elggCheckFormSubmission()',
+);
+
+echo elgg_view_form('install/template', $form_vars, $vars);