diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-25 18:44:57 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-25 18:44:57 +0000 |
commit | 8272be76936f9913b4bb29a6ac7d052ac39c8323 (patch) | |
tree | aeed9f15af1ba5e6d6a847d5dec95676f3373179 /views/installation/install/pages/settings.php | |
parent | 75493dfb8cfe3b4a329d8255a55fdf9c534f8fbd (diff) | |
download | elgg-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.php | 12 |
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); |