2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Config file view and save screen
6 * @package PhpMyAdmin-setup
9 if (!defined('PHPMYADMIN')) {
16 require_once './libraries/config/FormDisplay.class.php';
17 require_once './setup/lib/index.lib.php';
18 require_once './setup/lib/ConfigGenerator.class.php';
20 $config_readable = false;
21 $config_writable = false;
22 $config_exists = false;
23 check_config_rw($config_readable, $config_writable, $config_exists);
25 <h2
><?php
echo __('Configuration file') ?
></h2
>
26 <?php
display_form_top('config.php'); ?
>
27 <input type
="hidden" name
="eol" value
="<?php echo htmlspecialchars(PMA_ifSetOr($_GET['eol'], 'unix')) ?>" />
28 <?php
display_fieldset_top('', '', null, array('class' => 'simple')); ?
>
31 <textarea cols
="50" rows
="20" name
="textconfig" id
="textconfig" spellcheck
="false"><?php
32 echo htmlspecialchars(ConfigGenerator
::getConfigFile())
37 <td
class="lastrow" style
="text-align: left">
38 <input type
="submit" name
="submit_download" value
="<?php echo __('Download') ?>" class="green" />
39 <input type
="submit" name
="submit_save" value
="<?php echo __('Save') ?>"<?php
if (!$config_writable) echo ' disabled="disabled"' ?
> />
43 display_fieldset_bottom_simple();
44 display_form_bottom();