mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-05 02:18:42 +02:00
fix proto
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@190 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
dad2c49f9c
commit
622ff0617d
@ -36,9 +36,12 @@
|
|||||||
class PluginExampleDropdown extends CommonDropdown {
|
class PluginExampleDropdown extends CommonDropdown {
|
||||||
|
|
||||||
|
|
||||||
static function getTypeName() {
|
static function getTypeName($nb=0) {
|
||||||
|
|
||||||
return __('Plugin Example Dropdown');
|
if ($nb > 0) {
|
||||||
|
return __('Plugin Example Dropdowns');
|
||||||
|
}
|
||||||
|
return __('Plugin Example Dropdowns');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user