| line |
!l |
l&&!r |
l&&r |
condition |
|
178
|
0 |
0 |
0 |
$$me{'alphabet'} and not $$me{'data'}{'search'} |
|
188
|
0 |
0 |
0 |
defined $$me{'data'}{'sort'} and $$me{'data'}{'sort'} eq $$me{'sort'}[0] |
|
191
|
0 |
0 |
0 |
defined $$me{'data'}{'sort_dir'} and $$me{'data'}{'sort_dir'} eq 'asc' |
|
210
|
0 |
0 |
0 |
$$me{'search'} and not $$me{'hide_search_form'} |
|
217
|
0 |
0 |
0 |
defined $$me{'header'} and $$me{'header'} eq 'no' |
|
|
0 |
0 |
0 |
$$me{'sections'} and $$me{'header'} ne 'yes' |
|
228
|
0 |
0 |
0 |
not $rows and $$me{'hide_if_empty'} |
|
253
|
0 |
0 |
0 |
$i_col++ and $$col{'category'} ne $$prev_col{'category'} |
|
292
|
0 |
0 |
0 |
defined $$col{'data'} && $$col{'add'} && (' (', [[$me->link($col, 'Add')]], ')') |
|
345
|
0 |
0 |
0 |
$$me{'sections'} and $$me{'_section'} ne (my $section = $$me{'sections'}(@$d)) |
|
358
|
0 |
0 |
0 |
defined $$me{'shade_alternate_rows'} and $$me{'shade_alternate_rows'} eq 'no' |
|
360
|
0 |
0 |
0 |
defined $$me{'row_id_col'} && join('-', 'row', $$d[$$me{'row_id_col'}]) |
|
376
|
0 |
0 |
0 |
defined $$me{'_bgcolor'} && $$me{'_bgcolor'} eq $$me{'light_bg'} |
|
418
|
0 |
0 |
0 |
$value > 1 and $plural |
|
445
|
0 |
0 |
0 |
ref $test eq 'CODE' && !&$test(@data) |
|
|
0 |
0 |
0 |
not ref $test eq 'CODE' && !&$test(@data) and $formatted = $$col{'formatter'}(map({$$col{'contains_html'} ? $_ : HTML($_);} @data)) |
|
|
0 |
0 |
0 |
$$col{'action'} and $$col{'link_empty'} |
|
452
|
0 |
0 |
0 |
$$col{'norepeat'} and $formatted eq $$col{'_prev_value'} |
| line |
l |
!l |
condition |
|
168
|
0 |
0 |
$$me{'cellpadding'} ||= 1 |
|
169
|
0 |
0 |
$$me{'cellspacing'} ||= 0 |
|
170
|
0 |
0 |
$$me{'light_bg'} ||= '#ffffff' |
|
171
|
0 |
0 |
$$me{'dark_bg'} ||= '#eeeeee' |
|
173
|
0 |
0 |
$$me{'none'} ||= 'None' |
|
179
|
0 |
0 |
$$me{'data'}{'letter'} ||= 'a' |
|
200
|
0 |
0 |
$$me{'cellpadding'} ||= 1 |
|
201
|
0 |
0 |
$$me{'cellspacing'} ||= 0 |
|
292
|
0 |
0 |
$$col{'header_style'} || $$col{'style'} || undef |
|
332
|
0 |
0 |
$$me{'sort'} or 'name' |
|
334
|
0 |
0 |
$$me{'_row_hash_ids'} ||= [(sort {&$sorter($a) cmp &$sorter($b);} keys %{$$me{'rows'};})] |
|
405
|
0 |
0 |
$$col{'formatter'} ||= sub {
my(%d) = @_;
$d{$$col{'format'}};
}
|
|
408
|
0 |
0 |
$$col{'formatter'} ||= sub {
$_[$$col{'format'}];
}
|
|
420
|
0 |
0 |
$$col{'formatter'} ||= sub {
my($index, $noun, $plural) = @{$$col{'format'};};
my $value = $_[$index];
return 0 if $value == 0;
$noun .= 's' if $value > 1;
$noun = $plural if $value > 1 and $plural;
return "$value $noun";
}
|
|
432
|
0 |
0 |
{'date', sub {
my(@parts) = split(/\D/, $_[$index], 0);
join '/', grep($_, @parts[1, 2, 0]);
}
, 'datetime', sub {
my(@parts) = split(/\D/, $_[$index], 0);
join ' ', join('/', grep($_, @parts[1, 2, 0])), join(':', grep($_, @parts[3, 4, 5]));
}
}->{$format} || sub {
"UNKNOWN FORMAT NAME $format";
}
|
|
502
|
0 |
0 |
$$me{'first_row_data'} ||= \%query_data |
|
514
|
0 |
0 |
$$me{'data'}{'letter'} || 'a' |