mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
improve example for display_central and display_login hooks
This commit is contained in:
parent
d0e0fdcebf
commit
946224b913
6
hook.php
6
hook.php
@ -646,11 +646,17 @@ function plugin_example_Status($param) {
|
||||
}
|
||||
|
||||
function plugin_example_display_central() {
|
||||
echo "<tr><th colspan='2'>";
|
||||
echo "<div style='text-align:center; font-size:2em'>";
|
||||
echo __("Plugin example displays on central page", "example");
|
||||
echo "</div>";
|
||||
echo "</th></tr>";
|
||||
}
|
||||
|
||||
function plugin_example_display_login() {
|
||||
echo "<div style='text-align:center; font-size:2em'>";
|
||||
echo __("Plugin example displays on login page", "example");
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user