diff options
author | Crack <piotrprz@gmail.com> | 2010-08-06 15:57:59 +0400 |
---|---|---|
committer | Crack <piotrprz@gmail.com> | 2010-08-06 15:57:59 +0400 |
commit | f7c3ea158aaad28aea233fb859403d3db27812c3 (patch) | |
tree | 105b32fc632f203aecc44b1afe278bf355d4c49a /prefs_manage.php | |
parent | 9d4c5409c608af3900dd4f8889b69e17666dfbd5 (diff) |
info about setup script in "manage your settings", it seems many people still don't know it exists
Diffstat (limited to 'prefs_manage.php')
-rw-r--r-- | prefs_manage.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/prefs_manage.php b/prefs_manage.php index bd085593e5..8d47e90394 100644 --- a/prefs_manage.php +++ b/prefs_manage.php @@ -259,6 +259,23 @@ PMA_printJsValue("PMA_messages['strSavedOn']", __('Saved on: __DATE__')); <input type="submit" name="submit_import" value="<?php echo __('Go'); ?>" /> </form> </div> + <?php + if (file_exists('./setup/index.php')) { + // show only if setup script is available, allows to disable this message + // by simply removing setup directory + ?> + <div class="group"> + <h2><?php echo __('More settings') ?></h2> + <div class="group-cnt"> + <?php + echo sprintf(__('You can set more settings by modifying config.inc.php, eg. by using %sSetup script%s.'), '<a href="setup/index.php">', '</a>'); + echo PMA_showDocu('setup_script'); + ?> + </div> + </div> + <?php + } + ?> </div> <div id="main_pane_right"> <div class="group"> |