From 8480ffb665437a3cc0f3e57c5b520012e89e5058 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 7 Jun 2009 11:09:13 +0000 Subject: [PATCH] improve function names --- db_operations.php | 2 +- db_search.php | 2 +- libraries/common.lib.php | 18 +++++++++--------- libraries/db_links.inc.php | 2 +- libraries/display_tbl.lib.php | 10 +++++----- libraries/server_links.inc.php | 2 +- libraries/tbl_links.inc.php | 2 +- pdf_pages.php | 2 +- querywindow.php | 4 ++-- server_privileges.php | 4 ++-- tbl_operations.php | 6 +++--- tbl_select.php | 2 +- tbl_structure.php | 2 +- test/theme.php | 2 +- 14 files changed, 30 insertions(+), 30 deletions(-) diff --git a/db_operations.php b/db_operations.php index 5edeaa925..5566630ee 100644 --- a/db_operations.php +++ b/db_operations.php @@ -421,7 +421,7 @@ if (!$is_information_schema) { 'structure' => $strStrucOnly, 'data' => $strStrucData, 'dataonly' => $strDataOnly); - PMA_generate_html_radio('what', $choices, 'data', true); + PMA_display_html_radio('what', $choices, 'data', true); unset($choices); ?> diff --git a/libraries/common.lib.php b/libraries/common.lib.php index a4fd814cb..24cf54523 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1289,7 +1289,7 @@ function PMA_profilingCheckbox($sql_query) echo PMA_generate_common_hidden_inputs($GLOBALS['db'], $GLOBALS['table']); echo '' . "\n"; echo '' . "\n"; - PMA_generate_html_checkbox('profiling', $GLOBALS['strProfiling'], isset($_SESSION['profiling']), true); + PMA_display_html_checkbox('profiling', $GLOBALS['strProfiling'], isset($_SESSION['profiling']), true); echo '' . "\n"; echo '' . "\n"; } @@ -1517,7 +1517,7 @@ function PMA_localisedDate($timestamp = -1, $format = '') * @return string html code for one tab, a link if valid otherwise a span * @access public */ -function PMA_getTab($tab, $url_params = array()) +function PMA_generate_html_tab($tab, $url_params = array()) { // default values $defaults = array( @@ -1600,18 +1600,18 @@ function PMA_getTab($tab, $url_params = array()) $out .= ''; return $out; -} // end of the 'PMA_getTab()' function +} // end of the 'PMA_generate_html_tab()' function /** * returns html-code for a tab navigation * - * @uses PMA_getTab() + * @uses PMA_generate_html_tab() * @uses htmlentities() * @param array $tabs one element per tab * @param string $url_params * @return string html-code for tab-navigation */ -function PMA_getTabs($tabs, $url_params) +function PMA_generate_html_tabs($tabs, $url_params) { $tag_id = 'topmenu'; $tab_navigation = @@ -1619,7 +1619,7 @@ function PMA_getTabs($tabs, $url_params) .'