@@ -657,12 +657,15 @@ if ($page == 'domains' || $page == 'overview') {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
$domain_import_data = include_once dirname(__FILE__) . '/lib/formfields/admin/domains/formfield.domains_import.php';
|
$domain_import_data = include_once dirname(__FILE__) . '/lib/formfields/admin/domains/formfield.domains_import.php';
|
||||||
$domain_import_form = \Froxlor\UI\HtmlForm::genHTMLForm($domain_import_data);
|
|
||||||
|
|
||||||
$title = $domain_import_data['domain_import']['title'];
|
UI::twigBuffer('user/form-note.html.twig', [
|
||||||
$image = $domain_import_data['domain_import']['image'];
|
'formaction' => $linker->getLink(array('section' => 'domains', 'page' => $page)),
|
||||||
|
'formdata' => $domain_import_data['domain_import'],
|
||||||
eval("echo \"" . \Froxlor\UI\Template::getTemplate("domains/domains_import") . "\";");
|
// alert-box
|
||||||
|
'type' => 'info',
|
||||||
|
'alert_msg' => $lng['domains']['import_description']
|
||||||
|
]);
|
||||||
|
UI::twigOutputBuffer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elseif ($page == 'domaindnseditor' && Settings::Get('system.dnsenabled') == '1') {
|
} elseif ($page == 'domaindnseditor' && Settings::Get('system.dnsenabled') == '1') {
|
||||||
|
|||||||
@@ -32,9 +32,10 @@ return array(
|
|||||||
),
|
),
|
||||||
'offset' => array(
|
'offset' => array(
|
||||||
'label' => $lng['domains']['import_offset'],
|
'label' => $lng['domains']['import_offset'],
|
||||||
'type' => 'text',
|
'type' => 'number',
|
||||||
'mandatory' => true,
|
'mandatory' => true,
|
||||||
'size' => 10,
|
'size' => 10,
|
||||||
|
'min' => 0,
|
||||||
'value' => '0'
|
'value' => '0'
|
||||||
),
|
),
|
||||||
'file' => array(
|
'file' => array(
|
||||||
|
|||||||
8
templates/Froxlor/user/form-note.html.twig
Normal file
8
templates/Froxlor/user/form-note.html.twig
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{% extends "Froxlor/user/form.html.twig" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="row mb-2">
|
||||||
|
{% include 'Froxlor/misc/alertbox.html.twig' %}
|
||||||
|
</div>
|
||||||
|
{{ parent() }}
|
||||||
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user