Elgg  Version 3.0
database.php
Go to the documentation of this file.
1 <?php
8 if (isset($vars['failure']) && $vars['failure']) {
9  echo elgg_autop(elgg_echo('install:database:error'));
10  $vars['refresh'] = true;
11  $vars['advance'] = false;
12  echo elgg_view('install/nav', $vars);
13 } else {
14  echo elgg_autop(elgg_echo('install:database:instructions'));
15 
16  $vars['type'] = 'database';
17 
19 
21  'action' => $url,
22  'disable_security' => true,
23  ];
24 
25  echo elgg_view_form('install/template', $form_vars, $vars);
26 }
current_page_url()
Returns the current page&#39;s complete URL.
Definition: input.php:94
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_autop($string)
Create paragraphs from text with line spacing.
Definition: output.php:58
elgg_view_form($action, $form_vars=[], $body_vars=[])
Definition: views.php:1318
$form_vars
Definition: database.php:20
$url
Definition: database.php:18
elgg echo
Translates a string.
Definition: languages.js:43
$vars['type']
Definition: database.php:16
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246