diff --git a/src/databases/firebird.php b/src/databases/firebird.php index 4028958..64c29d3 100644 --- a/src/databases/firebird.php +++ b/src/databases/firebird.php @@ -54,7 +54,7 @@ class firebird { function truncate($table) { // Firebird lacka a truncate command - $sql = "DELETE FROM {$table}"; + $sql = 'DELETE FROM '.$table.'"'; $this->query($sql); } diff --git a/src/databases/firebird_manip.php b/src/databases/firebird_manip.php index 3ad5388..8b64f24 100644 --- a/src/databases/firebird_manip.php +++ b/src/databases/firebird_manip.php @@ -85,9 +85,7 @@ class firebird_manip extends db_manip{ */ function delete_table($name) { - return <<dbfile = new GtkFileChooserButton("Select a database file", Gtk::FILE_CHOOSER_ACTION_OPEN); + $filealign = new GtkAlignment(0, 0.5, 0, 0); + $filealign->add($filelbl); + + $table->attach($filealign, 0, 1, ++$y1, ++$y2); + $table->attach($this->dbfile, 1, 2, $y1, $y2); + } + // Host { $this->_add_row($table, "DB Host", $this->host, $y1, $y2);