2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Config file view and save screen
6 * @package PhpMyAdmin-Setup
9 use PMA\setup\lib\ConfigGenerator
;
11 if (!defined('PHPMYADMIN')) {
18 require_once './libraries/config/FormDisplay.tpl.php';
19 require_once './setup/lib/index.lib.php';
21 echo '<h2>' , __('Configuration file') , '</h2>';
23 echo PMA_displayFormTop('config.php');
24 echo '<input type="hidden" name="eol" value="'
25 , htmlspecialchars(PMA_ifSetOr($_GET['eol'], 'unix')) , '" />';
26 echo PMA_displayFieldsetTop('config.inc.php', '', null, array('class' => 'simple'));
29 echo '<textarea cols="50" rows="20" name="textconfig" '
30 , 'id="textconfig" spellcheck="false">';
31 echo htmlspecialchars(ConfigGenerator
::getConfigFile($GLOBALS['ConfigFile']));
36 echo '<td class="lastrow" style="text-align: left">';
37 echo '<input type="submit" name="submit_download" value="'
38 , __('Download') , '" class="green" />';
42 echo PMA_displayFieldsetBottomSimple();
43 echo PMA_displayFormBottom();