OpenSQLManager/sys/windows/add_db.php

38 lines
816 B
PHP
Raw Normal View History

2012-01-30 07:57:17 -05:00
<?php
/**
* OpenSQLManager
*
* Free Database manager for Open Source Databases
*
* @author Timothy J. Warren
* @copyright Copyright (c) 2012
* @link https://github.com/aviat4ion/OpenSQLManager
2012-03-28 11:23:08 -04:00
* @license http://philsturgeon.co.uk/code/dbad-license
2012-01-30 07:57:17 -05:00
*/
// --------------------------------------------------------------------------
/**
2012-03-28 11:23:08 -04:00
* Window controlling addition of database connections
2012-01-30 07:57:17 -05:00
*/
class Add_DB extends GtkWindow {
2012-04-19 12:29:47 -04:00
/**
* Create the window
*/
public function __construct()
2012-01-30 07:57:17 -05:00
{
parent::__construct();
$this->set_position(Gtk::WIN_POS_CENTER);
$this->set_title("Add Database Connection");
// Create the layout table
$connection_form = new DB_Info_Widget();
// Add the Vbox, and show the window
$this->add($connection_form);
$this->show_all();
}
2012-01-30 07:57:17 -05:00
}
// End of add_db.php