3 * Config file view and save screen
5 * @package phpMyAdmin-setup
6 * @author Piotr Przybylski <piotrprz@gmail.com>
7 * @license http://www.gnu.org/licenses/gpl.html GNU GPL 2.0
11 if (!defined('PHPMYADMIN')) {
18 require_once './setup/lib/FormDisplay.class.php';
19 require_once './setup/lib/index.lib.php';
21 $config_readable = false;
22 $config_writable = false;
23 $config_exists = false;
24 check_config_rw($config_readable, $config_writable, $config_exists);
26 <h2
><?php
echo $GLOBALS['strSetupConfigurationFile'] ?
></h2
>
27 <?php
display_form_top('config.php'); ?
>
28 <input type
="hidden" name
="eol" value
="<?php echo htmlspecialchars(PMA_ifSetOr($_GET['eol'], 'unix')) ?>" />
29 <?php
display_fieldset_top('', '', null, array('class' => 'simple')); ?
>
32 <textarea cols
="50" rows
="20" name
="textconfig" id
="textconfig" spellcheck
="false"><?php
33 echo htmlspecialchars(ConfigFile
::getInstance()->getConfigFile())
38 <td
class="lastrow" style
="text-align: left">
39 <input type
="submit" name
="submit_download" value
="<?php echo $GLOBALS['strSetupDownload'] ?>" class="green" />
40 <input type
="submit" name
="submit_save" value
="<?php echo $GLOBALS['strSave'] ?>"<?php
if (!$config_writable) echo ' disabled="disabled"' ?
> />
44 display_fieldset_bottom_simple();
45 display_form_bottom();