mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
Add hook on infocom form
This commit is contained in:
parent
a272064d6f
commit
616ab93a44
8
hook.php
8
hook.php
@ -659,4 +659,10 @@ function plugin_example_display_login() {
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
?>
|
||||
function plugin_example_infocom_hook($params) {
|
||||
echo "<tr><th colspan='4'>";
|
||||
echo __("Plugin example displays on central page", "example");
|
||||
echo "</th></tr>";
|
||||
}
|
||||
|
||||
?>
|
||||
|
@ -177,6 +177,7 @@ function plugin_init_example() {
|
||||
|
||||
$PLUGIN_HOOKS['display_central']['example'] = "plugin_example_display_central";
|
||||
$PLUGIN_HOOKS['display_login']['example'] = "plugin_example_display_login";
|
||||
$PLUGIN_HOOKS['infocom']['example'] = "plugin_example_infocom_hook";
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user