This commit is contained in:
Stanislas
2025-07-16 10:58:25 +02:00
parent d16f837062
commit 2e0217ead0
8 changed files with 246 additions and 84 deletions

View File

@@ -350,7 +350,7 @@ function plugin_example_searchOptionsValues($options = [])
switch ($table . '.' . $field) {
case 'glpi_plugin_example_examples.serial':
echo __('Not really specific - Use your own dropdown - Just for example', 'example');
GlpiDropdown::show(
Dropdown::show(
getItemTypeForTable($options['searchoption']['table']),
['value' => $options['value'],
'name' => $options['name'],
@@ -729,6 +729,7 @@ function plugin_example_Status($param)
// Do checks (no check for example)
$ok = true;
echo 'example plugin: example';
if ($ok) {
echo '_OK';
} else {