40 $head[$h][0] = DOL_URL_ROOT.
"/printing/admin/printing.php?mode=config";
41 $head[$h][1] = $langs->trans(
"ListDrivers");
42 $head[$h][2] =
'config';
45 if ($mode ==
'setup') {
46 $head[$h][0] = DOL_URL_ROOT.
"/printing/admin/printing.php?mode=setup&driver=".
GETPOST(
'driver',
'alpha');
47 $head[$h][1] = $langs->trans(
"SetupDriver");
48 $head[$h][2] =
'setup';
52 if ($mode ==
'test') {
53 $head[$h][0] = DOL_URL_ROOT.
"/printing/admin/printing.php?mode=test&driver=".
GETPOST(
'driver',
'alpha');
54 $head[$h][1] = $langs->trans(
"TargetedPrinter");
55 $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.