*Syntax fixes and cleanup
This commit is contained in:
@@ -26,7 +26,7 @@ if (@jobs) {
|
||||
local $max = $cron::config{'max_len'} || 10000;
|
||||
local $cmd = $j->{'cluster_command'};
|
||||
push(@cols,
|
||||
sprintf &ui_link("edit.cgi?id=$j->{'cluster_id'}","%s")%s",
|
||||
sprintf &ui_link("edit.cgi?id=$j->{'cluster_id'}","%s")."%s",
|
||||
length($cmd) > $max ?
|
||||
&html_escape(substr($cmd, 0, $max)) :
|
||||
$cmd !~ /\S/ ? "BLANK" : &html_escape($cmd),
|
||||
|
||||
@@ -28,9 +28,9 @@ if (@procs) {
|
||||
foreach $r (@procs) {
|
||||
print &ui_checked_columns_row([
|
||||
$r->[0],
|
||||
&ui_link("edit_user.cgi?user=$r->[1]","$r->[1]"),
|
||||
&ui_link("edit_user.cgi?user=$r->[1]",$r->[1]),
|
||||
$r->[2],
|
||||
&ui_link("edit_dbase.cgi?db=$r->[3]","$r->[3]"),
|
||||
&ui_link("edit_dbase.cgi?db=$r->[3]",$r->[3]),
|
||||
$r->[4],
|
||||
&nice_time($r->[5]),
|
||||
&html_escape($r->[7])
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ if (@table) {
|
||||
}
|
||||
for($j=0; $j<@colnames; $j++) {
|
||||
if ($j == 0) {
|
||||
$lnk = &ui_link("edit.cgi?table=$in{'table'}&idx=$i","$t[$j]");
|
||||
$lnk = &ui_link("edit.cgi?table=$in{'table'}&idx=$i",$t[$j]);
|
||||
}
|
||||
else {
|
||||
$lnk = $t[$j];
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ if (@table) {
|
||||
}
|
||||
for($j=0; $j<@colnames; $j++) {
|
||||
if ($j == 0) {
|
||||
$lnk = &ui_link("edit.cgi?table=$in{'table'}&idx=$i","$t[$j]");
|
||||
$lnk = &ui_link("edit.cgi?table=$in{'table'}&idx=$i",$t[$j]);
|
||||
}
|
||||
else {
|
||||
$lnk = $t[$j];
|
||||
|
||||
Reference in New Issue
Block a user