diff --git a/db_tracking.php b/db_tracking.php index df589ed723..73ecd5b23c 100644 --- a/db_tracking.php +++ b/db_tracking.php @@ -91,11 +91,7 @@ if ($GLOBALS['dbi']->numRows($all_tables_result) > 0) { // Print out information about versions $drop_image_or_text = ''; - if (in_array( - $GLOBALS['cfg']['ActionLinksMode'], - array('icons', 'both') - ) - ) { + if (PMA_Util::showIcons('ActionLinksMode')) { $drop_image_or_text .= PMA_Util::getImage( 'b_drop.png', __('Delete tracking data for this table') diff --git a/libraries/DisplayResults.class.php b/libraries/DisplayResults.class.php index fabb04fabd..5ff12d60f1 100644 --- a/libraries/DisplayResults.class.php +++ b/libraries/DisplayResults.class.php @@ -535,11 +535,7 @@ class PMA_DisplayResults ) { $caption_output = ''; - if (in_array( - $GLOBALS['cfg']['TableNavigationLinksMode'], - array('icons', 'both') - ) - ) { + if (PMA_Util::showIcons('TableNavigationLinksMode')) { $caption_output .= $caption; } diff --git a/libraries/Footer.class.php b/libraries/Footer.class.php index 49b0798577..c845c826f8 100644 --- a/libraries/Footer.class.php +++ b/libraries/Footer.class.php @@ -71,7 +71,7 @@ class PMA_Footer { $message = '' . __('phpMyAdmin Demo Server') . ': '; if (file_exists('./revision-info.php')) { - include('./revision-info.php'); + include './revision-info.php'; $message .= sprintf( __('Currently running Git revision %1$s from the %2$s branch.'), '' @@ -161,11 +161,7 @@ class PMA_Footer $retval .= '