Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2012-09-11 12:14:42 +0400
committerMichal Čihař <mcihar@suse.cz>2012-09-11 12:14:42 +0400
commit51b8557604c3883523c86575b33befcde0368928 (patch)
tree4650cccc6646ae665091d3ab861814f79bb2e04b /setup
parent6a16006907f7fd6c0d98c09a317a392c34c6323c (diff)
Better naming of functions
Diffstat (limited to 'setup')
-rw-r--r--setup/frames/config.inc.php8
-rw-r--r--setup/frames/index.inc.php14
2 files changed, 11 insertions, 11 deletions
diff --git a/setup/frames/config.inc.php b/setup/frames/config.inc.php
index be7bb3e3a6..c409c64756 100644
--- a/setup/frames/config.inc.php
+++ b/setup/frames/config.inc.php
@@ -23,9 +23,9 @@ $config_exists = false;
check_config_rw($config_readable, $config_writable, $config_exists);
?>
<h2><?php echo __('Configuration file') ?></h2>
-<?php display_form_top('config.php'); ?>
+<?php PMA_displayFormTop('config.php'); ?>
<input type="hidden" name="eol" value="<?php echo htmlspecialchars(PMA_ifSetOr($_GET['eol'], 'unix')) ?>" />
-<?php display_fieldset_top('', '', null, array('class' => 'simple')); ?>
+<?php PMA_displayFieldsetTop('', '', null, array('class' => 'simple')); ?>
<tr>
<td>
<textarea cols="50" rows="20" name="textconfig" id="textconfig" spellcheck="false"><?php
@@ -43,6 +43,6 @@ if (!$config_writable) {
</td>
</tr>
<?php
-display_fieldset_bottom_simple();
-display_form_bottom();
+PMA_displayFieldsetBottomSimple();
+PMA_displayFormBottom();
?>
diff --git a/setup/frames/index.inc.php b/setup/frames/index.inc.php
index 23a7969eae..ccfbd1b29a 100644
--- a/setup/frames/index.inc.php
+++ b/setup/frames/index.inc.php
@@ -119,7 +119,7 @@ messages_show_html();
//
// Display server list
//
-display_form_top(
+PMA_displayFormTop(
'index.php', 'get',
array(
'page' => 'servers',
@@ -169,7 +169,7 @@ display_form_top(
</table>
</div>
<?php
-display_form_bottom();
+PMA_displayFormBottom();
?>
</fieldset>
@@ -180,7 +180,7 @@ display_form_bottom();
//
$form_display = new FormDisplay();
-display_form_top('config.php');
+PMA_displayFormTop('config.php');
?>
<table width="100%" cellspacing="0">
<?php
@@ -195,7 +195,7 @@ foreach ($all_languages as $each_lang_key => $each_lang) {
$lang_name = PMA_langName($each_lang);
$opts['values'][$each_lang_key] = $lang_name;
}
-display_input(
+PMA_displayInput(
'DefaultLang', __('Default language'), 'select',
$cf->getValue('DefaultLang'), '', true, $opts
);
@@ -221,7 +221,7 @@ if ($cf->getServerCount() > 0) {
$opts['values']['1'] = __('- none -');
$opts['values_escaped'] = true;
}
-display_input(
+PMA_displayInput(
'ServerDefault', __('Default server'), 'select',
$cf->getValue('ServerDefault'), '', true, $opts
);
@@ -233,7 +233,7 @@ $opts = array(
'win' => 'Windows (\r\n)'),
'values_escaped' => true);
$eol = PMA_ifSetOr($_SESSION['eol'], (PMA_IS_WINDOWS ? 'win' : 'unix'));
-display_input(
+PMA_displayInput(
'eol', __('End of line'), 'select',
$eol, '', true, $opts
);
@@ -263,7 +263,7 @@ if (!$config_exists || !$config_writable) {
</tr>
</table>
<?php
-display_form_bottom();
+PMA_displayFormBottom();
?>
</fieldset>
<div id="footer">