Пример #1
0
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: Nelly Lasson
// 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;
}
if (empty($_POST['id'])) {
    $_POST['id'] = -1;
}
$transfer = new Transfer();
if ($_POST['id'] > 0 && $transfer->can($_POST['id'], 'r')) {
    switch ($_REQUEST['glpi_tab']) {
        default:
            if (!Plugin::displayAction($transfer, $_REQUEST['glpi_tab'])) {
            }
    }
}
ajaxFooter();