41 $head[$h][0] = DOL_URL_ROOT.
"/printing/admin/printing.php?mode=config";
42 $head[$h][1] = $langs->trans(
"ListDrivers");
43 $head[$h][2] =
'config';
46 if ($mode ==
'setup') {
47 $head[$h][0] = DOL_URL_ROOT.
"/printing/admin/printing.php?mode=setup&driver=".
GETPOST(
'driver',
'alpha');
48 $head[$h][1] = $langs->trans(
"SetupDriver");
49 $head[$h][2] =
'setup';
53 if ($mode ==
'test') {
54 $head[$h][0] = DOL_URL_ROOT.
"/printing/admin/printing.php?mode=test&driver=".
GETPOST(
'driver',
'alpha');
55 $head[$h][1] = $langs->trans(
"TargetedPrinter");
56 $head[$h][2] =
'test';
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.