undefined db_is_information_schema
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2005-11-07 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* tbl_properties_links.php: undefined variable $db_is_information_schema
|
||||||
|
|
||||||
2005-11-06 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2005-11-06 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* libraries/display_tbl.lib.php:
|
* libraries/display_tbl.lib.php:
|
||||||
bug #985399 MIME-based in print view / need to select the pk
|
bug #985399 MIME-based in print view / need to select the pk
|
||||||
|
@@ -34,7 +34,7 @@ $tabs['sql']['text'] = $strSQL;
|
|||||||
$tabs['search']['icon'] = 'b_search.png';
|
$tabs['search']['icon'] = 'b_search.png';
|
||||||
$tabs['search']['text'] = $strSearch;
|
$tabs['search']['text'] = $strSearch;
|
||||||
|
|
||||||
if ( ! $db_is_information_schema ) {
|
if ( isset($db_is_information_schema) && ! $db_is_information_schema ) {
|
||||||
$tabs['insert']['icon'] = 'b_insrow.png';
|
$tabs['insert']['icon'] = 'b_insrow.png';
|
||||||
$tabs['insert']['link'] = 'tbl_change.php';
|
$tabs['insert']['link'] = 'tbl_change.php';
|
||||||
$tabs['insert']['text'] = $strInsert;
|
$tabs['insert']['text'] = $strInsert;
|
||||||
@@ -49,7 +49,7 @@ $tabs['export']['text'] = $strExport;
|
|||||||
* Don't display , "Import", "Operations" and "Empty"
|
* Don't display , "Import", "Operations" and "Empty"
|
||||||
* for views and information_schema
|
* for views and information_schema
|
||||||
*/
|
*/
|
||||||
if ( ! $tbl_is_view && ! $db_is_information_schema ) {
|
if ( ! $tbl_is_view && isset($db_is_information_schema) && ! $db_is_information_schema ) {
|
||||||
$tabs['import']['icon'] = 'b_tblimport.png';
|
$tabs['import']['icon'] = 'b_tblimport.png';
|
||||||
$tabs['import']['link'] = 'tbl_import.php';
|
$tabs['import']['link'] = 'tbl_import.php';
|
||||||
$tabs['import']['text'] = $strImport;
|
$tabs['import']['text'] = $strImport;
|
||||||
@@ -76,7 +76,7 @@ if ( ! $tbl_is_view && ! $db_is_information_schema ) {
|
|||||||
/**
|
/**
|
||||||
* no drop in information_schema
|
* no drop in information_schema
|
||||||
*/
|
*/
|
||||||
if ( ! $db_is_information_schema ) {
|
if ( isset($db_is_information_schema) && ! $db_is_information_schema ) {
|
||||||
$tabs['drop']['icon'] = 'b_deltbl.png';
|
$tabs['drop']['icon'] = 'b_deltbl.png';
|
||||||
$tabs['drop']['link'] = 'sql.php';
|
$tabs['drop']['link'] = 'sql.php';
|
||||||
$tabs['drop']['text'] = $strDrop;
|
$tabs['drop']['text'] = $strDrop;
|
||||||
|
Reference in New Issue
Block a user