diff --git a/hook.php b/hook.php index 09c3798..dbcd6fd 100644 --- a/hook.php +++ b/hook.php @@ -555,6 +555,11 @@ function plugin_get_headings_example($type,$ID,$withtemplate){ 1 => "Test PLugin", ); break; + case "mailing": + return array( + 1 => "Test PLugin", + ); + break; } return false; @@ -588,6 +593,11 @@ function plugin_headings_actions_example($type){ 1 => "plugin_headings_example", ); break; + case "mailing" : + return array( + 1 => "plugin_headings_example", + ); + break; } return false; @@ -622,6 +632,9 @@ function plugin_headings_example($type,$ID,$withtemplate=0){ echo ""; echo ""; break; + case "mailing": + echo "Plugin mailing action ".$LANG['plugin_example']["test"]; + break; default : echo "Plugin function with headings TYPE=".$type." ID=".$ID; break;