mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
Base d'exemple + gestion plugins
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@21 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@ -75,6 +75,11 @@ function plugin_init_example() {
|
||||
// Add specific files to add to the header : javascript or css
|
||||
$PLUGIN_HOOKS['add_javascript']['example']="example.js";
|
||||
$PLUGIN_HOOKS['add_css']['example']="example.css";
|
||||
|
||||
// Define Dropdown tables to be manage in GLPI :
|
||||
$PLUGIN_HOOKS['dropdown']['example']=array("glpi_dropdown_plugin_example"=>"Plugin Example Dropdown");
|
||||
$PLUGIN_HOOKS['database_relations']['example']=array("glpi_dropdown_plugin_example"=>array("glpi_plugin_example","FK_dropdown"));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user