Fixed a bug that stopped SMB printer usernames and passwords from being displayed when editing a printer under CUPS.
---- Changes since 1.380 ----
Re-designed the print jobs page to allow several to be cancelled at once, using the standard Webmin table with checkboxes.
+---- Changes since 1.440 ----
+Show the date and time a job was submitted on systems using CUPS.
while($f = readdir(DIR)) {
if ($f =~ /^d(\d+)\-(\d+)$/ && $1 == $job{'id'}) {
push(@pq, "$d/$f");
+ local @st = stat("$d/$f");
+ if (@st) {
+ $job{'time'} ||= $st[9];
+ }
}
}
closedir(DIR);
$job{'printfile'} = @pq ? \@pq : undef;
+ if ($job{'time'}) {
+ $job{'when'} = &make_date($job{'time'});
+ }
push(@jobs, \%job);
}
}