Display information that there are no settings.
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2006-04-26 Michal Čihař <michal@cihar.com>
|
||||
* libraries/plugin_interface.lib.php:
|
||||
- Display information that there are no settings.
|
||||
|
||||
2006-04-26 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* themes/*:
|
||||
updated themes;
|
||||
|
@@ -243,9 +243,13 @@ function PMA_pluginGetOptions($section, &$list)
|
||||
if (isset($val['options'])) {
|
||||
$ret .= '<table class="form">';
|
||||
$ret .= '<tbody>';
|
||||
if (count($val['options']) == 0) {
|
||||
$ret .= '<tr><td colspan="2">' . $GLOBALS['strNoOptions'] . '</td></tr>';
|
||||
} else {
|
||||
foreach ($val['options'] as $id => $opt) {
|
||||
$ret .= PMA_pluginGetOneOption($section, $plugin_name, $id, $opt);
|
||||
}
|
||||
}
|
||||
$ret .= '</tbody>';
|
||||
$ret .= '</table>';
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user