/**
* List constraints on a table
*
- * $Id: constraints.php,v 1.47 2007/05/28 17:30:32 ioguix Exp $
+ * $Id: constraints.php,v 1.48 2007/07/10 09:04:20 soranzo Exp $
*/
// Include application functions
* Confirm and then actually add a FOREIGN KEY constraint
*/
function addForeignKey($stage, $msg = '') {
- global $PHP_SELF, $data, $data, $misc;
+ global $PHP_SELF, $data, $misc;
global $lang;
if (!isset($_POST['name'])) $_POST['name'] = '';
* Confirm and then actually add a PRIMARY KEY or UNIQUE constraint
*/
function addPrimaryOrUniqueKey($type, $confirm, $msg = '') {
- global $PHP_SELF, $data, $data, $misc;
+ global $PHP_SELF, $data, $misc;
global $lang;
if (!isset($_POST['name'])) $_POST['name'] = '';
* Confirm and then actually add a CHECK constraint
*/
function addCheck($confirm, $msg = '') {
- global $PHP_SELF, $data, $data, $misc;
+ global $PHP_SELF, $data, $misc;
global $lang;
if (!isset($_POST['name'])) $_POST['name'] = '';
/**
* Manage schemas within a database
*
- * $Id: database.php,v 1.97 2007/05/28 17:30:32 ioguix Exp $
+ * $Id: database.php,v 1.98 2007/07/10 09:04:21 soranzo Exp $
*/
// Include application functions
* Searches for a named database object
*/
function doFind($confirm = true, $msg = '') {
- global $PHP_SELF, $data, $data, $misc;
+ global $PHP_SELF, $data, $misc;
global $lang, $conf;
if (!isset($_GET['term'])) $_GET['term'] = '';
/**
* Manage domains in a database
*
- * $Id: domains.php,v 1.29 2007/05/28 17:30:32 ioguix Exp $
+ * $Id: domains.php,v 1.30 2007/07/10 09:04:21 soranzo Exp $
*/
// Include application functions
* Confirm and then actually add a CHECK constraint
*/
function addCheck($confirm, $msg = '') {
- global $PHP_SELF, $data, $data, $misc;
+ global $PHP_SELF, $data, $misc;
global $lang;
if (!isset($_POST['name'])) $_POST['name'] = '';
/**
* List rules on a table OR view
*
- * $Id: rules.php,v 1.29 2007/05/28 17:30:32 ioguix Exp $
+ * $Id: rules.php,v 1.30 2007/07/10 09:04:21 soranzo Exp $
*/
// Include application functions
* Confirm and then actually create a rule
*/
function createRule($confirm, $msg = '') {
- global $PHP_SELF, $data, $data, $misc;
+ global $PHP_SELF, $data, $misc;
global $lang;
if (!isset($_POST['name'])) $_POST['name'] = '';
/**
* Manage schemas in a database
*
- * $Id: schemas.php,v 1.15 2007/05/28 17:30:32 ioguix Exp $
+ * $Id: schemas.php,v 1.16 2007/07/10 09:04:21 soranzo Exp $
*/
// Include application functions
* Show confirmation of drop and perform actual drop
*/
function doDrop($confirm) {
- global $PHP_SELF, $data, $data, $misc;
+ global $PHP_SELF, $data, $misc;
global $lang, $_reload_browser;
if ($confirm) {