2
# IRM - The Information Resource Manager
3
# Copyright (C) 1999 Yann Ramin
5
# This program is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 2 of the License, or
8
# (at your option) any later version.
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
# GNU General Public License (in file COPYING) for more details.
15
# You should have received a copy of the GNU General Public License
16
# along with this program; if not, write to the Free Software
17
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
################################################################################
21
require_once '../include/irm.inc';
22
require_once 'include/i18n.php';
26
commonHeader(_("Computers") . " - " . _("Setup computers in groups"));
27
__("Use this utility to Setup computers in groups.");
33
PRINT '<tr class="computerheader">';
34
PRINT "<td colspan=\"2\">\n";
35
__("Add all computers from previous search to group");
36
PRINT '<form method=post action="'.Config::AbsLoc('users/computers-groups-batch-add.php').'">';
37
Dropdown_groups("groups", "sID");
41
PRINT '<tr class="computerupdate">';
42
PRINT "<td align=center>";
43
PRINT '<form method=post action="'.Config::AbsLoc('users/computers-groups-batch-add.php').'">';
44
PRINT "<input type=hidden name=outquery value=\"$outquery\">";
45
PRINT "<input type=submit value=\""._("Add")."\">";
48
PRINT "<td align=center>";
49
PRINT '<form method=post action="'.Config::AbsLoc('users/computers-groups-batch-del.php').'">';
50
PRINT "<input type=hidden name=outquery value=\"$outquery\">";
51
PRINT "<input type=hidden name=sID value=$sID>";
52
PRINT "<input type=submit value=\""._("Delete")."\">";
60
__("NOTE: Sometimes this may take a while, depending on the number of
61
computers you have (upwards of 10 seconds).");