diff --git a/setup.php b/setup.php index 7309c46..43f08e5 100755 --- a/setup.php +++ b/setup.php @@ -95,6 +95,9 @@ function plugin_init_example() { //function to populate planning $PLUGIN_HOOKS['display_planning']['example']="plugin_display_planning_example"; + //function to populate planning + $PLUGIN_HOOKS['user_preferences']['example']="plugin_user_preferences_example"; + // Massive Action definition $PLUGIN_HOOKS['use_massive_action']['example']=1; @@ -638,5 +641,26 @@ function cron_plugin_example(){ echo "tttt"; } +// Show user preferences +function plugin_user_preferences_example($parm){ + // Complete form display + + $data=plugin_version_example(); + + echo "
"; +} ?>