From 5f50887e3800c909d0fce9d5569e0cdde25af2cc Mon Sep 17 00:00:00 2001 From: moyooo Date: Thu, 17 May 2007 19:52:53 +0000 Subject: [PATCH] Ajout CSS et JS depuis plugins git-svn-id: https://forge.glpi-project.org/svn/example/trunk@20 349b9182-4a13-0410-896f-e5e9767dd1b3 --- setup.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.php b/setup.php index 19e0a31..db53b7c 100755 --- a/setup.php +++ b/setup.php @@ -72,6 +72,9 @@ function plugin_init_example() { //function to populate planning $PLUGIN_HOOKS['display_planning']['example']="plugin_display_planning_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"; }