Exemplo n.º 1
0
function plugin_headings_fusioninventory($type, $ID, $withtemplate = 0)
{
    global $CFG_GLPI;
    switch ($type) {
        case PROFILE_TYPE:
            $prof = new PluginFusioninventoryProfile();
            if (!$prof->GetfromDB($ID)) {
                PluginFusioninventory::createaccess($ID);
            }
            $prof->showForm($CFG_GLPI["root_doc"] . "/plugins/fusioninventory/front/profile.php", $ID);
            break;
    }
}