[example] adding mailing heading

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@73 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
tsmr 2009-04-14 21:27:06 +00:00
parent dc2dc419a2
commit 396028a4af

View File

@ -555,6 +555,11 @@ function plugin_get_headings_example($type,$ID,$withtemplate){
1 => "Test PLugin", 1 => "Test PLugin",
); );
break; break;
case "mailing":
return array(
1 => "Test PLugin",
);
break;
} }
return false; return false;
@ -588,6 +593,11 @@ function plugin_headings_actions_example($type){
1 => "plugin_headings_example", 1 => "plugin_headings_example",
); );
break; break;
case "mailing" :
return array(
1 => "plugin_headings_example",
);
break;
} }
return false; return false;
@ -622,6 +632,9 @@ function plugin_headings_example($type,$ID,$withtemplate=0){
echo "</table>"; echo "</table>";
echo "</form>"; echo "</form>";
break; break;
case "mailing":
echo "Plugin mailing action ".$LANG['plugin_example']["test"];
break;
default : default :
echo "Plugin function with headings TYPE=".$type." ID=".$ID; echo "Plugin function with headings TYPE=".$type." ID=".$ID;
break; break;