From c6044d36b49ec8639cfd860938cb94000673b090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 27 Sep 2005 18:30:18 +0000 Subject: [PATCH] Do not use strOr, drop file upload from normal SQL dialogs. --- ChangeLog | 2 ++ libraries/sql_query_form.lib.php | 10 +--------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6e0ecd5ee..2bdcf1f43 100755 --- a/ChangeLog +++ b/ChangeLog @@ -24,6 +24,8 @@ $Source$ * lang/hebrew, translators.html: New Hebrew translation, thanks to Hadar Porat - hpman28. * lang/*: Add missing messages, remove duplicates and no longer used. + * libraries/sql_query_form.lib.php: Do not use strOr, drop file upload + from normal SQL dialogs. 2005-09-26 Sebastian Mendel * libraries/database_interface.lib.php: fixed bug in PMA_DBI_fetch_*() diff --git a/libraries/sql_query_form.lib.php b/libraries/sql_query_form.lib.php index 16a704ed7..5311a947b 100644 --- a/libraries/sql_query_form.lib.php +++ b/libraries/sql_query_form.lib.php @@ -141,7 +141,7 @@ function PMA_sqlQueryForm( $query = true, $display_tab = false ) { } // display uploads - if ( $display_tab === 'full' || $display_tab === 'files' ) { + if ( $display_tab === 'files' ) { if ( $GLOBALS['is_upload'] ) { PMA_sqlQueryFormUpload( $display_tab ); } @@ -366,7 +366,6 @@ function PMA_sqlQueryFormInsert( $query = '', $is_querywindow = false ) { * @uses $GLOBALS['strDelete'] * @uses $GLOBALS['strDocu'] * @uses $GLOBALS['strGo'] - * @uses $GLOBALS['strOr'] * @uses $GLOBALS['strSubmit'] * @uses $GLOBALS['strVar'] * @uses count() @@ -382,9 +381,6 @@ function PMA_sqlQueryFormBookmark( $display_tab = 'full' ) { echo '
'; echo ''; - if ( $display_tab == 'full' ) { - echo '' . $GLOBALS['strOr'] . ' '; - } echo $GLOBALS['strBookmarkQuery'] . '' . "\n"; echo '
'; echo ' ';