Elgg  Version 1.9
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 
20  $form_vars = array(
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:106
elgg_echo($message_key, $args=array(), $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:56
$form_vars
Definition: database.php:20
$url
Definition: database.php:18
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
$vars['type']
Definition: database.php:16
elgg_view_form($action, $form_vars=array(), $body_vars=array())
Definition: views.php:1280