示例#1
0
// Original Author of file: Remi Collet
// Purpose of file: Display tab on CronTask form
// ----------------------------------------------------------------------
define('GLPI_ROOT', '..');
include GLPI_ROOT . "/inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
header_nocache();
if (!isset($_POST["id"])) {
    exit;
}
if (!isset($_REQUEST['glpi_tab'])) {
    exit;
}
$crontask = new CronTask();
if ($_POST['id'] > 0 && $crontask->getFromDB($_POST['id'])) {
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            $crontask->showStatistics();
            $crontask->showHistory();
            Plugin::displayAction($crontask, $_REQUEST['glpi_tab']);
            break;
        case 2:
            $crontask->showHistory();
            break;
        default:
            if (!Plugin::displayAction($crontask, $_REQUEST['glpi_tab'])) {
                $crontask->showStatistics();
            }
    }
}
ajaxFooter();
示例#2
0
if ($_POST['id'] > 0 && $contract->can($_POST['id'], 'r')) {
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            $contract->showSuppliers();
            $contract->showItems();
            Document::showAssociated($contract);
            Link::showForItem('Contact', $_POST["id"]);
            Plugin::displayAction($contract, $_REQUEST['glpi_tab']);
            break;
        case 2:
            $contract->showItems();
            break;
        case 5:
            Document::showAssociated($contract);
            break;
        case 7:
            Link::showForItem('Contract', $_POST["id"]);
            break;
        case 10:
            showNotesForm($_POST['target'], 'Contract', $_POST["id"]);
            break;
        case 12:
            Log::showForItem($contract);
            break;
        default:
            if (!Plugin::displayAction($contract, $_REQUEST['glpi_tab'])) {
                $contract->showSuppliers();
            }
    }
}
ajaxFooter();
示例#3
0
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            $budget->showValuesByEntity();
            $budget->showItems();
            Document::showAssociated($budget);
            Link::showForItem('Budget', $_POST["id"]);
            Plugin::displayAction($budget, $_REQUEST['glpi_tab'], $_POST["withtemplate"]);
            break;
        case 2:
            $budget->showItems();
            break;
        case 5:
            Document::showAssociated($budget);
            break;
        case 7:
            Link::showForItem('Budget', $_POST["id"]);
            break;
        case 10:
            showNotesForm($_POST['target'], 'Budget', $_POST["id"]);
            break;
        case 12:
            Log::showForItem($budget);
            break;
        default:
            if (!Plugin::displayAction($budget, $_REQUEST['glpi_tab'], $_POST["withtemplate"])) {
                $budget->showValuesByEntity();
            }
            break;
    }
}
ajaxFooter();
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            Consumable::showAddForm($consumable);
            Consumable::showForItem($consumable);
            Consumable::showForItem($consumable, 1);
            Infocom::showForItem($consumable);
            Document::showAssociated($consumable);
            Link::showForItem('ConsumableItem', $_POST["id"]);
            Plugin::displayAction($consumable, $_REQUEST['glpi_tab']);
            break;
        case 4:
            Infocom::showForItem($consumable);
            break;
        case 5:
            Document::showAssociated($consumable);
            break;
        case 7:
            Link::showForItem('ConsumableItem', $_POST["id"]);
            break;
        case 10:
            showNotesForm($_POST['target'], 'ConsumableItem', $_POST["id"]);
            break;
        default:
            if (!Plugin::displayAction($consumable, $_REQUEST['glpi_tab'])) {
                Consumable::showAddForm($consumable);
                Consumable::showForItem($consumable);
                Consumable::showForItem($consumable, 1);
            }
    }
}
ajaxFooter();
 static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
 {
     if ($tabnum == 49) {
         $pmServicescatalog = new PluginMonitoringServicescatalog();
         $pmDisplay = new PluginMonitoringDisplay();
         // $pmDisplay->showCounters("Businessrules");
         $pmServicescatalog->showChecks();
     } else {
         if ($tabnum == 50) {
             $pmContact_Item = new PluginMonitoringContact_Item();
             $pmContact_Item->showContacts("PluginMonitoringServicescatalog", $item->getID());
         } else {
             Plugin::load('monitoring', true);
             Plugin::displayAction($appliance, $_POST['glpi_tab']);
         }
     }
     return true;
 }
示例#6
0
            break;
        case 5:
            Document::showAssociated($ticket);
            break;
        case 6:
            Log::showForItem($ticket);
            break;
        case 7:
            $validation = new Ticketvalidation();
            $validation->showSummary($ticket);
            break;
        case 8:
            $ticket->showStats();
            break;
        case 10:
            // affichage uniquement  si enquete déclenchée et status clos
            $satisfaction = new TicketSatisfaction();
            if ($ticket->fields['status'] == 'closed' && $satisfaction->getFromDB($_POST["id"])) {
                $satisfaction->showSatisfactionForm($ticket);
            } else {
                echo "<p class='center b'>" . $LANG['satisfaction'][2] . "</p>";
            }
            break;
        default:
            if (!Plugin::displayAction($ticket, $_REQUEST['glpi_tab'])) {
                $fup = new TicketFollowup();
                $fup->showSummary($ticket);
            }
    }
}
ajaxFooter();
You should have received a copy of the GNU General Public License
along with GLPI; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
--------------------------------------------------------------------------
*/
// ----------------------------------------------------------------------
// Original Author of file:
// Purpose of file:
// ----------------------------------------------------------------------
define('GLPI_ROOT', '..');
include GLPI_ROOT . "/inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
header_nocache();
checkRight("config", 'r');
if (isset($_POST['id']) && $_POST['id'] > 0) {
    if (!isset($_REQUEST['glpi_tab'])) {
        exit;
    }
    $translation = new NotificationTemplateTranslation();
    $translation->getFromDB($_POST['id']);
    switch ($_REQUEST['glpi_tab']) {
        case 12:
            Log::showForItem($translation);
            break;
        default:
            if (!Plugin::displayAction($translation, $_REQUEST['glpi_tab'])) {
            }
    }
}
ajaxFooter();
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
--------------------------------------------------------------------------
*/
// ----------------------------------------------------------------------
// Original Author of file: Julien Dombre
// Purpose of file:
// ----------------------------------------------------------------------
define('GLPI_ROOT', '..');
include GLPI_ROOT . "/inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
header_nocache();
if (!isset($_POST["id"])) {
    exit;
}
if (!isset($_REQUEST['glpi_tab'])) {
    exit;
}
$validation = new TicketValidation();
if ($_POST["id"] > 0 && $validation->getFromDB($_POST["id"])) {
    switch ($_REQUEST['glpi_tab']) {
        default:
            Plugin::displayAction($validation, $_REQUEST['glpi_tab']);
    }
}
ajaxFooter();
}
if (!isset($_REQUEST['glpi_tab'])) {
    exit;
}
if (!isset($_POST["sort"])) {
    $_POST["sort"] = "";
}
if (!isset($_POST["order"])) {
    $_POST["order"] = "";
}
checkRight("software", "r");
$version = new SoftwareVersion();
if ($_POST["id"] > 0 && $version->can($_POST["id"], 'r')) {
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            Computer_SoftwareVersion::showForVersion($version);
            Plugin::displayAction($version, $_REQUEST['glpi_tab']);
            break;
        case 2:
            Computer_SoftwareVersion::showForVersion($version);
            break;
        case 12:
            Log::showForItem($version);
            break;
        default:
            if (!Plugin::displayAction($version, $_REQUEST['glpi_tab'])) {
                Computer_SoftwareVersion::showForVersionByEntity($version);
            }
    }
}
ajaxFooter();
if (!isset($_POST["withtemplate"])) {
    $_POST["withtemplate"] = "";
}
checkRight("software", "r");
$license = new SoftwareLicense();
if ($_POST["id"] > 0 && $license->can($_POST["id"], 'r')) {
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            Infocom::showForItem($license);
            Document::showAssociated($license);
            Plugin::displayAction($license, $_REQUEST['glpi_tab']);
            break;
        case 2:
            Computer_SoftwareLicense::showForLicense($license);
            break;
        case 4:
            Infocom::showForItem($license);
            break;
        case 5:
            Document::showAssociated($license);
            break;
        case 12:
            Log::showForItem($license);
            break;
        default:
            if (!Plugin::displayAction($license, $_REQUEST['glpi_tab'])) {
                Computer_SoftwareLicense::showForLicenseByEntity($license);
            }
    }
}
ajaxFooter();
            $cartridge->showCompatiblePrinters();
            Cartridge::showAddForm($cartridge);
            Cartridge::showForCartridgeItem($cartridge);
            Cartridge::showForCartridgeItem($cartridge, 1);
            Infocom::showForItem($cartridge);
            Document::showAssociated($cartridge);
            Link::showForItem('CartridgeItem', $_POST["id"]);
            Plugin::displayAction($cartridge, $_REQUEST['glpi_tab']);
            break;
        case 4:
            Infocom::showForItem($cartridge);
            break;
        case 5:
            Document::showAssociated($cartridge);
            break;
        case 7:
            Link::showForItem('CartridgeItem', $_POST["id"]);
            break;
        case 10:
            showNotesForm($_POST['target'], 'CartridgeItem', $_POST["id"]);
            break;
        default:
            if (!Plugin::displayAction($cartridge, $_REQUEST['glpi_tab'])) {
                $cartridge->showCompatiblePrinters();
                Cartridge::showAddForm($cartridge);
                Cartridge::showForCartridgeItem($cartridge);
                Cartridge::showForCartridgeItem($cartridge, 1);
            }
    }
}
ajaxFooter();
include GLPI_ROOT . "/inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
header_nocache();
$notification = new Notification();
if (isset($_POST['id']) && $_POST['id'] > 0 && $notification->can($_POST['id'], 'r')) {
    if (!isset($_REQUEST['glpi_tab'])) {
        exit;
    }
    $target = NotificationTarget::getInstanceByType($notification->getField('itemtype'), $notification->getField('event'), array('entities_id' => $notification->getField('entities_id')));
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            if ($target) {
                $target->showForNotification($notification);
            }
            Plugin::displayAction($notification, $_REQUEST['glpi_tab']);
            break;
        case 1:
            if ($target) {
                $target->showForNotification($notification);
            }
            break;
        case 12:
            $notification->getFromDB($_POST["id"]);
            Log::showForItem($notification);
            break;
        default:
            if (!Plugin::displayAction($notification, $_REQUEST['glpi_tab'])) {
            }
    }
}
ajaxFooter();
 /**
  * Display content of Tab
  *
  * @param $ID of the item
  * @param $tab number of the tab
  *
  * @return true if handled (for class stack)
  **/
 function showTabContent($ID, $tab)
 {
     if (!$this->isNewID($ID)) {
         switch ($tab) {
             case -1:
                 Plugin::displayAction($this, $tab);
                 $this->displayMoreTabs($tab);
                 return false;
             default:
                 $this->displayMoreTabs($tab);
                 return Plugin::displayAction($this, $tab);
         }
     }
     return false;
 }
示例#14
0
            case 4:
                Infocom::showForItem($phone);
                Contract::showAssociated($phone);
                break;
            case 5:
                Document::showAssociated($phone);
                break;
            case 6:
                Ticket::showListForItem('Phone', $_POST["id"]);
                break;
            case 7:
                Link::showForItem('Phone', $_POST["id"]);
                break;
            case 10:
                showNotesForm($_POST['target'], 'Phone', $_POST["id"]);
                break;
            case 11:
                Reservation::showForItem('Phone', $_POST["id"]);
                break;
            case 12:
                Log::showForItem($phone);
                break;
            default:
                if (!Plugin::displayAction($phone, $_REQUEST['glpi_tab'])) {
                    Computer_Item::showForItem($phone);
                    NetworkPort::showForItem('Phone', $_POST["id"], 'Phone', $_POST["withtemplate"]);
                }
        }
    }
}
ajaxFooter();
示例#15
0
            break;
        case 3:
            Ticket::showListForUser($_POST["id"]);
            break;
        case 4:
            Group_User::showForUser($user);
            break;
        case 5:
            Document::showAssociated($user);
            break;
        case 6:
            $config = new Config();
            $user->computePreferences();
            $config->showFormUserPrefs($user->fields);
            break;
        case 11:
            Reservation::showForUser($_POST["id"]);
            break;
        case 12:
            Auth::showSynchronizationForm($_POST["id"]);
            break;
        case 13:
            Log::showForItem($user);
            break;
        default:
            if (!Plugin::displayAction($user, $_REQUEST['glpi_tab'])) {
                Profile_User::showForUser($user);
            }
    }
}
ajaxFooter();
示例#16
0
 /**
  * Display content of Tab
  *
  * @param $ID of the item
  * @param $tab number of the tab
  *
  * @return true if handled (for class stack)
  */
 function showTabContent($ID, $tab)
 {
     global $CFG_GLPI;
     if (!$this->isNewID($ID)) {
         switch ($tab) {
             case -1:
                 // All
                 $this->showChildren($ID);
                 EntityData::showStandardOptions($this);
                 Profile_User::showForEntity($this);
                 $collection = new RuleRightCollection();
                 if ($collection->canList()) {
                     $ldaprule = new RuleRight();
                     $ldaprule->showAndAddRuleForm($this);
                 }
                 $collection = new RuleOcsCollection();
                 if ($collection->canList()) {
                     $ocsrule = new RuleOcs();
                     $ocsrule->showAndAddRuleForm($this);
                 }
                 $collection = new RuleMailCollectorCollection();
                 if ($collection->canList()) {
                     $mailcollector = new RuleMailCollector();
                     $mailcollector->showAndAddRuleForm($this);
                 }
                 Document::showAssociated($this);
                 EntityData::showNotificationOptions($this);
                 EntityData::showHelpdeskOptions($this);
                 EntityData::showInventoryOptions($this);
                 Plugin::displayAction($this, $tab);
                 break;
             case 2:
                 EntityData::showStandardOptions($this);
                 break;
             case 3:
                 Profile_User::showForEntity($this);
                 break;
             case 4:
                 $collection = new RuleRightCollection();
                 if ($collection->canList()) {
                     $ldaprule = new RuleRight();
                     $ldaprule->showAndAddRuleForm($this);
                 }
                 $collection = new RuleOcsCollection();
                 if ($collection->canList()) {
                     $ocsrule = new RuleOcs();
                     $ocsrule->showAndAddRuleForm($this);
                 }
                 $collection = new RuleMailCollectorCollection();
                 if ($collection->canList()) {
                     $mailcollector = new RuleMailCollector();
                     $mailcollector->showAndAddRuleForm($this);
                 }
                 break;
             case 5:
                 EntityData::showAdvancedOptions($this);
                 break;
             case 6:
                 Document::showAssociated($this);
                 break;
             case 7:
                 EntityData::showNotificationOptions($this);
                 break;
             case 8:
                 EntityData::showHelpdeskOptions($this);
                 break;
             case 9:
                 EntityData::showInventoryOptions($this);
                 break;
             case 10:
                 showNotesForm(getItemTypeFormURL('EntityData'), 'EntityData', $_POST["id"]);
                 break;
             default:
                 if (!Plugin::displayAction($this, $tab)) {
                     $this->showChildren($ID);
                 }
                 return false;
         }
     }
     return false;
 }
示例#17
0
            case 4:
                Infocom::showForItem($periph);
                Contract::showAssociated($periph);
                break;
            case 5:
                Document::showAssociated($periph);
                break;
            case 6:
                Ticket::showListForItem('Peripheral', $_POST["id"]);
                break;
            case 7:
                Link::showForItem('Peripheral', $_POST["id"]);
                break;
            case 10:
                showNotesForm($_POST['target'], 'Peripheral', $_POST["id"]);
                break;
            case 11:
                Reservation::showForItem('Peripheral', $_POST["id"]);
                break;
            case 12:
                Log::showForItem($periph);
                break;
            default:
                if (!Plugin::displayAction($periph, $_REQUEST['glpi_tab'])) {
                    Computer_Item::showForItem($periph);
                    NetworkPort::showForItem('Peripheral', $_POST["id"], $_POST["withtemplate"]);
                }
        }
    }
}
ajaxFooter();
示例#18
0
            $authldap->showFormUserConfig($_POST['id'], $_POST['target']);
            $authldap->showFormGroupsConfig($_POST['id'], $_POST['target']);
            $authldap->showFormAdvancedConfig($_POST['id'], $_POST['target']);
            $authldap->showFormReplicatesConfig($_POST['id'], $_POST['target']);
            Log::showForItem($authldap);
            break;
        case 2:
            $authldap->showFormUserConfig($_POST['id'], $_POST['target']);
            break;
        case 3:
            $authldap->showFormGroupsConfig($_POST['id'], $_POST['target']);
            break;
        case 4:
            $authldap->showFormEntityConfig($_POST['id'], $_POST['target']);
            break;
        case 5:
            $authldap->showFormAdvancedConfig($_POST['id'], $_POST['target']);
            break;
        case 6:
            $authldap->showFormReplicatesConfig($_POST['id'], $_POST['target']);
            break;
        case 12:
            Log::showForItem($authldap);
            break;
        default:
            if (!Plugin::displayAction($authldap, $_REQUEST['glpi_tab'])) {
                $authldap->showFormTestLDAP($_POST['id'], $_POST['target']);
            }
    }
}
ajaxFooter();
示例#19
0
include GLPI_ROOT . "/inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
header_nocache();
checkCentralAccess();
$central = new Central();
if (!isset($_REQUEST['glpi_tab'])) {
    exit;
}
switch ($_REQUEST['glpi_tab']) {
    case 2:
        $central->showGroupView();
        break;
    case 3:
        $central->showGlobalView();
        break;
    case -1:
        // all
        $central->showMyView();
        echo "<br>";
        $central->showGroupView();
        echo "<br>";
        $central->showGlobalView();
        echo "<br>";
        Plugin::displayAction($central, $_REQUEST['glpi_tab']);
        break;
    default:
        if (!Plugin::displayAction($central, $_REQUEST['glpi_tab'])) {
            $central->showMyView();
        }
}
ajaxFooter();
示例#20
0
// ----------------------------------------------------------------------
define('GLPI_ROOT', '..');
include GLPI_ROOT . "/inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
header_nocache();
if (!isset($_POST["id"])) {
    exit;
}
checkRight("group", "r");
$group = new Group();
if ($_POST["id"] > 0 && $group->can($_POST["id"], 'r')) {
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            Group_User::showForGroup($_POST['target'], $group);
            $group->showItems();
            $group->showLDAPForm($_POST['target'], $_POST["id"]);
            Plugin::displayAction($group, $_REQUEST['glpi_tab']);
            break;
        case 2:
            $group->showItems();
            break;
        case 3:
            $group->showLDAPForm($_POST['target'], $_POST["id"]);
            break;
        default:
            if (!Plugin::displayAction($group, $_REQUEST['glpi_tab'])) {
                Group_User::showForGroup($_POST['target'], $group);
            }
    }
}
ajaxFooter();
示例#21
0
// ----------------------------------------------------------------------
// Original Author of file: Julien Dombre
// Purpose of file:
// ----------------------------------------------------------------------
define('GLPI_ROOT', '..');
include GLPI_ROOT . "/inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
header_nocache();
if (!isset($_POST['id'])) {
    exit;
}
$slalevel = new SlaLevel();
if ($_POST['id'] > 0 && $slalevel->can($_POST['id'], 'r')) {
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            $slalevel->getRuleWithCriteriasAndActions($_POST['id'], 0, 1);
            $slalevel->showActionsList($_POST["id"]);
            break;
        case 1:
            $slalevel->getRuleWithCriteriasAndActions($_POST['id'], 0, 1);
            $slalevel->showActionsList($_POST["id"]);
            break;
        case 12:
            Log::showForItem($slalevel);
            break;
        default:
            if (!Plugin::displayAction($slalevel, $_REQUEST['glpi_tab'])) {
            }
    }
}
ajaxFooter();
示例#22
0
                break;
            case 4:
                Infocom::showForItem($monitor);
                Contract::showAssociated($monitor);
                break;
            case 5:
                Document::showAssociated($monitor, $_POST["withtemplate"]);
                break;
            case 6:
                Ticket::showListForItem('Monitor', $_POST["id"]);
                break;
            case 7:
                Link::showForItem('Monitor', $_POST["id"]);
                break;
            case 10:
                showNotesForm($_POST['target'], 'Monitor', $_POST["id"]);
                break;
            case 11:
                Reservation::showForItem('Monitor', $_POST["id"]);
                break;
            case 12:
                Log::showForItem($monitor);
                break;
            default:
                if (!Plugin::displayAction($monitor, $_REQUEST['glpi_tab'])) {
                    Computer_Item::showForItem($monitor);
                }
        }
    }
}
ajaxFooter();
define('GLPI_ROOT', '..');
include GLPI_ROOT . "/inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
header_nocache();
if (!isset($_POST["id"])) {
    exit;
}
if (!isset($_REQUEST['glpi_tab'])) {
    exit;
}
if (empty($_POST["id"])) {
    $_POST["id"] = -1;
}
$collector = new MailCollector();
if ($_POST['id'] > 0 && $collector->can($_POST['id'], 'r')) {
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            $collector->showGetMessageForm($_POST['id']);
            Plugin::displayAction($collector, $_REQUEST['glpi_tab']);
            break;
        case 12:
            Log::showForItem($collector);
            break;
        default:
            if (!Plugin::displayAction($collector, $_REQUEST['glpi_tab'])) {
                $collector->showGetMessageForm($_POST['id']);
            }
            break;
    }
}
ajaxFooter();
            Plugin::displayAction($netdevice, $_REQUEST['glpi_tab']);
            break;
        case 4:
            Infocom::showForItem($netdevice);
            Contract::showAssociated($netdevice);
            break;
        case 5:
            Document::showAssociated($netdevice, $_POST["withtemplate"]);
            break;
        case 6:
            Ticket::showListForItem('NetworkEquipment', $_POST["id"]);
            break;
        case 7:
            Link::showForItem('NetworkEquipment', $_POST["id"]);
            break;
        case 10:
            showNotesForm($_POST['target'], 'NetworkEquipment', $_POST["id"]);
            break;
        case 11:
            Reservation::showForItem('NetworkEquipment', $_POST["id"]);
            break;
        case 12:
            Log::showForItem($netdevice);
            break;
        default:
            if (!Plugin::displayAction($netdevice, $_REQUEST['glpi_tab'])) {
                NetworkPort::showForItem('NetworkEquipment', $_POST["id"]);
            }
    }
}
ajaxFooter();
*/
// ----------------------------------------------------------------------
// Original Author of file:
// Purpose of file:
// ----------------------------------------------------------------------
define('GLPI_ROOT', '..');
include GLPI_ROOT . "/inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
header_nocache();
checkRight("config", 'r');
if (isset($_POST['id']) && $_POST['id'] > 0) {
    if (!isset($_REQUEST['glpi_tab'])) {
        exit;
    }
    $template = new NotificationTemplate();
    $template->getFromDB($_POST['id']);
    switch ($_REQUEST['glpi_tab']) {
        case -1:
        case 1:
            $templatelanguage = new NotificationTemplateTranslation();
            $templatelanguage->showSummary($template);
            break;
        case 12:
            Log::showForItem($template);
            break;
        default:
            if (!Plugin::displayAction($template, $_REQUEST['glpi_tab'])) {
            }
    }
}
ajaxFooter();