diff --git a/ajax/ruletest.tabs.php b/ajax/ruletest.tabs.php new file mode 100755 index 0000000..f12af6c --- /dev/null +++ b/ajax/ruletest.tabs.php @@ -0,0 +1,47 @@ + diff --git a/front/popup.php b/front/popup.php new file mode 100644 index 0000000..d4e63a3 --- /dev/null +++ b/front/popup.php @@ -0,0 +1,62 @@ +
".$LANG['buttons'][13].""; + echo ""; + popFooter(); +} + +?> \ No newline at end of file diff --git a/front/ruletest.form.php b/front/ruletest.form.php new file mode 100644 index 0000000..ee5b32d --- /dev/null +++ b/front/ruletest.form.php @@ -0,0 +1,43 @@ + diff --git a/front/ruletest.php b/front/ruletest.php new file mode 100644 index 0000000..4032722 --- /dev/null +++ b/front/ruletest.php @@ -0,0 +1,43 @@ + diff --git a/inc/ruletest.class.php b/inc/ruletest.class.php new file mode 100644 index 0000000..c7b5eaf --- /dev/null +++ b/inc/ruletest.class.php @@ -0,0 +1,83 @@ + diff --git a/inc/ruletestcollection.class.php b/inc/ruletestcollection.class.php new file mode 100644 index 0000000..be7ad97 --- /dev/null +++ b/inc/ruletestcollection.class.php @@ -0,0 +1,54 @@ + diff --git a/setup.php b/setup.php index b76a902..92dd124 100755 --- a/setup.php +++ b/setup.php @@ -49,6 +49,10 @@ function plugin_init_example() { Plugin::registerClass('PluginExampleExample', array('notificationtemplates_types' => true)); + //Classes for rulesengine + Plugin::registerClass('PluginExampleRuleTest'); + Plugin::registerClass('PluginExampleRuleTestCollection',array('rulecollections_types'=>true)); + // Display a menu entry ? if (isset($_SESSION["glpi_plugin_example_profile"])) { // Right set in change_profile hook $PLUGIN_HOOKS['menu_entry']['example'] = 'front/example.php';