<?php // File acc_domain.php / FirebirdWebAdmin // Purpose html sequence for the domains-panel in accessories.php // Author Lutz Brueckner <*****@*****.**> // Copyright (c) 2000, 2001, 2002, 2003, 2004 by Lutz Brueckner, // published under the terms of the GNU General Public Licence v.2, // see file LICENCE for details if (isset($s_confirmations['domain'])) { $subject = 'domain'; include './panels/confirm.php'; } elseif (isset($dom_add_flag)) { echo js_collations($s_charsets); ?> <form method="post" action="<?php echo url_session($_SERVER['PHP_SELF']); ?> " name="acc_domain_form"> <table class="table table-bordered" "> <?php echo get_datatype_definition('dom', $acc_strings['CreateDom'], 1, TRUE); echo get_domain_constraint($s_coldefs['dom']); ?> </table> <input type="submit" name="acc_dom_create_doit" value="<?php echo $button_strings['Create']; ?> " class="bgrp"> <input type="reset" name="acc_dom_create_clear" value="<?php echo $button_strings['Reset'];
$s_tables_def = (bool) get_request_data('tb_show_def'); $s_tables_comp = (bool) get_request_data('tb_show_comp'); $s_tables_comment = (bool) get_request_data('tb_show_comments'); $s_tables_valid = FALSE; } $js_stack .= js_request_comment_area(); } // init $s_domain for the columns form if necessary if ($s_domains_valid == FALSE && ($s_create_num > 0 || isset($col_add_flag))) { include_once './inc/domains.inc.php'; $s_domains = get_domain_definitions($s_domains); $s_domains_valid = TRUE; } // add javascript for the columns form if ($s_connected === TRUE && ($s_create_num > 0 || isset($col_add_flag))) { $js_stack .= js_collations($s_charsets) . js_request_table_columns(); } // // setup $s_tables[] and $s_fields[] if necessary // if ($s_connected && $s_tables_valid == FALSE) { include_once './inc/get_tables.inc.php'; if (get_tables($dbhandle)) { $s_tables_valid = TRUE; } } // // print out all the panels // $s_page = 'Tables'; $panels = $s_tables_panels;