dbexport.php 435 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php  //$Id$

require('../../config.php');
require_once('lib.php');
require_once('database_export_form.php');

require_login();
admin_externalpage_setup('dbexport');

//create form
$form = new database_export_form();

if ($data = $form->get_data()) {
    dbtransfer_export_xml_database($data->description, $DB);
    die;
}

admin_externalpage_print_header();
// TODO: add some more info here
$form->display();
21
echo $OUTPUT->footer();