Display information that there are no settings.
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$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>
|
2006-04-26 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* themes/*:
|
* themes/*:
|
||||||
updated themes;
|
updated themes;
|
||||||
|
@@ -243,8 +243,12 @@ function PMA_pluginGetOptions($section, &$list)
|
|||||||
if (isset($val['options'])) {
|
if (isset($val['options'])) {
|
||||||
$ret .= '<table class="form">';
|
$ret .= '<table class="form">';
|
||||||
$ret .= '<tbody>';
|
$ret .= '<tbody>';
|
||||||
foreach ($val['options'] as $id => $opt) {
|
if (count($val['options']) == 0) {
|
||||||
$ret .= PMA_pluginGetOneOption($section, $plugin_name, $id, $opt);
|
$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 .= '</tbody>';
|
||||||
$ret .= '</table>';
|
$ret .= '</table>';
|
||||||
|
Reference in New Issue
Block a user