aboutsummaryrefslogtreecommitdiff
path: root/views/installation/install/forms/settings.php
blob: e9a818b926401da3a6e0c1801c40c22b48fea6ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * Site settings form
 *
 * @uses $vars['variables'] Array of form variables. See ElggInstaller.
 */

$vars['type'] = 'settings';
$form_body = elgg_view('install/forms/template', $vars);

$url = current_page_url();

$params = array(
	'body' => $form_body,
	'action' => $url,
	'disable_security' => TRUE,
	'js' => 'onsubmit="return elggCheckFormSubmission()"',
);
echo elgg_view('input/form', $params);