PHP3 compatibility
This commit is contained in:
@@ -25,6 +25,7 @@ $Source$
|
|||||||
altered the way the form is submitted in LeftFrameLight mode to
|
altered the way the form is submitted in LeftFrameLight mode to
|
||||||
keep the queryframe. Only if JavaScript is usable, otherwise it's
|
keep the queryframe. Only if JavaScript is usable, otherwise it's
|
||||||
not necessary to keep the 'opener' pointer.
|
not necessary to keep the 'opener' pointer.
|
||||||
|
* libraries/display_tbl.lib.php3: PHP3 compatibility.
|
||||||
|
|
||||||
2003-04-30 Marc Delisle <lem9@users.sourceforge.net>
|
2003-04-30 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* pdf_schema.php3, bug 729517, better comment output,
|
* pdf_schema.php3, bug 729517, better comment output,
|
||||||
|
@@ -441,7 +441,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
|
|||||||
*
|
*
|
||||||
* @see PMA_displayTable()
|
* @see PMA_displayTable()
|
||||||
*/
|
*/
|
||||||
function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $analyzed_sql = array())
|
function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $analyzed_sql = '')
|
||||||
{
|
{
|
||||||
global $lang, $convcharset, $server, $db, $table;
|
global $lang, $convcharset, $server, $db, $table;
|
||||||
global $goto;
|
global $goto;
|
||||||
@@ -449,6 +449,10 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
|
|||||||
global $vertical_display, $disp_direction, $repeat_cells, $highlight_columns;
|
global $vertical_display, $disp_direction, $repeat_cells, $highlight_columns;
|
||||||
global $dontlimitchars;
|
global $dontlimitchars;
|
||||||
|
|
||||||
|
if ($analyzed_sql == '') {
|
||||||
|
$analyzed_sql = array();
|
||||||
|
}
|
||||||
|
|
||||||
if ($disp_direction == 'horizontal' || $disp_direction == 'horizontalflipped') {
|
if ($disp_direction == 'horizontal' || $disp_direction == 'horizontalflipped') {
|
||||||
?>
|
?>
|
||||||
<!-- Results table headers -->
|
<!-- Results table headers -->
|
||||||
@@ -1088,7 +1092,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
|
|||||||
if (file_exists('./libraries/transformations/' . $include_file)) {
|
if (file_exists('./libraries/transformations/' . $include_file)) {
|
||||||
$transformfunction_name = str_replace('.inc.php3', '', $GLOBALS['mime_map'][$meta->name]['transformation']);
|
$transformfunction_name = str_replace('.inc.php3', '', $GLOBALS['mime_map'][$meta->name]['transformation']);
|
||||||
|
|
||||||
@include('./libraries/transformations/' . $include_file);
|
include('./libraries/transformations/' . $include_file);
|
||||||
|
|
||||||
if (defined('PMA_TRANSFORMATION_' . strtoupper($transformfunction_name)) && function_exists('PMA_transformation_' . $transformfunction_name)) {
|
if (defined('PMA_TRANSFORMATION_' . strtoupper($transformfunction_name)) && function_exists('PMA_transformation_' . $transformfunction_name)) {
|
||||||
$transform_function = 'PMA_transformation_' . $transformfunction_name;
|
$transform_function = 'PMA_transformation_' . $transformfunction_name;
|
||||||
|
Reference in New Issue
Block a user