Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
installation
install
pages
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
return
;
14
}
15
16
echo
elgg_autop
(
elgg_echo
(
'install:database:instructions'
));
17
18
$vars
[
'type'
] =
'database'
;
19
20
$form_vars
= [
21
'action'
=>
elgg_get_current_url
(),
22
'disable_security'
=>
true
,
23
];
24
25
echo
elgg_view_form
(
'install/template'
,
$form_vars
,
$vars
);
elgg_view_form
elgg_view_form(string $action, array $form_vars=[], array $body_vars=[])
Definition:
views.php:1033
elgg_echo
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition:
languages.php:17
elgg_view
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition:
views.php:156
$vars
$vars['type']
Definition:
database.php:18
elgg_get_current_url
elgg_get_current_url()
Returns the current page's complete URL.
Definition:
pagehandler.php:121
elgg_autop
elgg_autop(string $string)
Create paragraphs from text with line spacing.
Definition:
output.php:67
$form_vars
$form_vars
Definition:
database.php:20
Generated on Wed Dec 4 2024 00:00:22 for Elgg by
1.8.11