initalized h_tabs
This commit is contained in:
@@ -239,11 +239,13 @@ function get_script_tabs()
|
|||||||
$script_tabs =
|
$script_tabs =
|
||||||
'<script type="text/javascript">' . "\n" .
|
'<script type="text/javascript">' . "\n" .
|
||||||
'// <![CDATA[' . "\n" .
|
'// <![CDATA[' . "\n" .
|
||||||
'var j_tabs = new Array();' . "\n";
|
'var j_tabs = new Array();' . "\n" .
|
||||||
|
'var h_tabs = new Array();' . "\n" ;
|
||||||
for ($i = 0, $cnt = count($GLOBALS['PMD']['TABLE_NAME']); $i < $cnt; $i++) {
|
for ($i = 0, $cnt = count($GLOBALS['PMD']['TABLE_NAME']); $i < $cnt; $i++) {
|
||||||
$script_tabs .= "j_tabs['" . $GLOBALS['PMD_URL']['TABLE_NAME'][$i] . "'] = '"
|
$script_tabs .= "j_tabs['" . $GLOBALS['PMD_URL']['TABLE_NAME'][$i] . "'] = '"
|
||||||
. (PMA_foreignkey_supported($GLOBALS['PMD']['TABLE_TYPE'][$i]) ? '1' : '0') . "';\n";
|
. (PMA_foreignkey_supported($GLOBALS['PMD']['TABLE_TYPE'][$i]) ? '1' : '0') . "';\n";
|
||||||
}
|
$script_tabs .="h_tabs['" . $GLOBALS['PMD_URL']['TABLE_NAME'][$i] . "'] = 1;"."\n" ;
|
||||||
|
}
|
||||||
$script_tabs .=
|
$script_tabs .=
|
||||||
'// ]]>' . "\n" .
|
'// ]]>' . "\n" .
|
||||||
'</script>' . "\n";
|
'</script>' . "\n";
|
||||||
|
Reference in New Issue
Block a user