diff --git a/libraries/File.class.php b/libraries/File.class.php index bcdcb1e56e..98c1f08f8e 100644 --- a/libraries/File.class.php +++ b/libraries/File.class.php @@ -159,7 +159,8 @@ class PMA_File /** * Gets file content * - * @return string binary file content + * @return mixed the binary file content as a string, + * or false if no content * * @access public */ diff --git a/libraries/Menu.class.php b/libraries/Menu.class.php index f1b192929e..ef56ec2f74 100644 --- a/libraries/Menu.class.php +++ b/libraries/Menu.class.php @@ -103,7 +103,7 @@ class PMA_Menu } else { $tabs = $this->_getServerTabs(); } - return PMA_generateHtmlTabs($tabs, $url_params); + return PMA_getHtmlTabs($tabs, $url_params); } /** diff --git a/libraries/Scripts.class.php b/libraries/Scripts.class.php index 604f310ede..7fae5abf50 100644 --- a/libraries/Scripts.class.php +++ b/libraries/Scripts.class.php @@ -153,6 +153,7 @@ class PMA_Scripts foreach ($this->_files as $file) { $retval .= $this->_includeFile( $file['filename'], + $file['timestamp'], $file['conditional_ie'] ); } diff --git a/libraries/TableSearch.class.php b/libraries/TableSearch.class.php index 14624009aa..b8b55a4086 100644 --- a/libraries/TableSearch.class.php +++ b/libraries/TableSearch.class.php @@ -1068,7 +1068,7 @@ EOT; $url_params['db'] = $this->_db; $url_params['table'] = $this->_table; - $html_output .= PMA_generateHtmlTabs( + $html_output .= PMA_getHtmlTabs( $this->_getSubTabs(), $url_params, 'topmenu2' ); $html_output .= $this->_getFormTag($goto); diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 77bb491e4e..edade08500 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1684,7 +1684,7 @@ function PMA_localisedDate($timestamp = -1, $format = '') * * @access public */ -function PMA_generateHtmlTab($tab, $url_params = array()) +function PMA_getHtmlTab($tab, $url_params = array()) { // default values $defaults = array( @@ -1775,7 +1775,7 @@ function PMA_generateHtmlTab($tab, $url_params = array()) $out .= ''; return $out; -} // end of the 'PMA_generateHtmlTab()' function +} // end of the 'PMA_getHtmlTab()' function /** * returns html-code for a tab navigation @@ -1786,14 +1786,14 @@ function PMA_generateHtmlTab($tab, $url_params = array()) * * @return string html-code for tab-navigation */ -function PMA_generateHtmlTabs($tabs, $url_params, $menu_id = 'topmenu') +function PMA_getHtmlTabs($tabs, $url_params, $menu_id = 'topmenu') { $tab_navigation = '