diff --git a/ChangeLog b/ChangeLog index 1edea2864..47b0fef7d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ $Source$ write permission on config. * libraries/auth/cookie.auth.lib.php: Display PMA_errors on login form. * Documentation.html: Add anchors to configuration directives. + * scripts/setup.php: Add links to documentation. 2005-11-28 Sebastian Mendel * libraries/Theme.class.php, libraries/Theme_Manager.class.php: diff --git a/scripts/setup.php b/scripts/setup.php index dd06b6691..7a0979784 100644 --- a/scripts/setup.php +++ b/scripts/setup.php @@ -4,6 +4,10 @@ // phpMyAdmin setup script by Michal Čihař +// TODO: +// - links to documentation +// - document functions + // Grab phpMyAdmin version and PMA_dl function $cfg['GD2Available'] = 'auto'; require('../libraries/defines.lib.php'); @@ -201,12 +205,18 @@ echo '' . "\n"; } div.desc, label.desc, fieldset.overview div.desc { float: left; - width: 25em; + width: 27em; max-width: 60%; } code:before, code:after { content: '"'; } + a.doc { + margin: 0 1em 0 1em; + } + a.doc img { + border: none; + } @@ -215,6 +225,9 @@ echo '' . "\n"; Documentation'; +} function message($type, $text, $title = '') { echo '
' . "\n"; @@ -421,7 +434,7 @@ function show_overview($legend, $list, $buttons = '') { echo "\n"; } -function show_config_form($list, $legend, $help, $defaults = array(), $save = '') { +function show_config_form($list, $legend, $help, $defaults = array(), $save = '', $prefix = '') { global $default_cfg; if (empty($save)) $save = 'Update'; @@ -440,7 +453,7 @@ function show_config_form($list, $legend, $help, $defaults = array(), $save = '' switch ($type) { case 'text': case 'password': - echo ''; + echo ''; echo ''; - echo ''; + echo ''; break; case 'select': - echo ''; + echo ''; echo '