Merge pull request #92 from garas/620c6e6db7989e7f23cde1350e2dfeb8014e357f

Setup script marks all settings as not overridable
This commit is contained in:
Michal Čihař 2012-09-25 11:35:19 -07:00
commit b6a7833c23

View File

@ -328,7 +328,7 @@ function PMA_displayInput($path, $name, $type, $value, $description = '',
if ($is_setup_script && isset($opts['userprefs_allow'])) {
echo '<td class="userprefs-allow" title="' .
__('Allow users to customize this value') . '">';
echo '<input type="checkbox" name="' . $path . '>-userprefs-allow" ';
echo '<input type="checkbox" name="' . $path . '-userprefs-allow" ';
if ($opts['userprefs_allow']) {
echo 'checked="checked"';
};