mirror of
https://github.com/darold/squidanalyzer.git
synced 2025-07-30 01:14:28 +02:00
Remove link on week, the week view is not available yet.
This commit is contained in:
parent
d3097ffa82
commit
00ddef5bd0
@ -3617,7 +3617,7 @@ sub _get_calendar
|
|||||||
|
|
||||||
if ($wd == 7) {
|
if ($wd == 7) {
|
||||||
my $week = "<th>" . ($wn+1) . "</th>";
|
my $week = "<th>" . ($wn+1) . "</th>";
|
||||||
$week = "<th><a href=\"$outdir/week" . ($wn+1) . "\">" . ($wn+1) . "</a></th>" if (grep(/href/, @currow));
|
#$week = "<th><a href=\"$outdir/week" . ($wn+1) . "\">" . ($wn+1) . "</a></th>" if (grep(/href/, @currow));
|
||||||
map { $_ = "<td> </td>" if ($_ eq ''); } @currow;
|
map { $_ = "<td> </td>" if ($_ eq ''); } @currow;
|
||||||
$para .= "<tr>$week" . join('', @currow) . "</tr>\n";
|
$para .= "<tr>$week" . join('', @currow) . "</tr>\n";
|
||||||
@currow = ('','','','','','','');
|
@currow = ('','','','','','','');
|
||||||
@ -3628,7 +3628,7 @@ sub _get_calendar
|
|||||||
my $wn = &get_week_number($year,$month,28);
|
my $wn = &get_week_number($year,$month,28);
|
||||||
if (($wn == $old_week) || grep(/href/, @currow)) {
|
if (($wn == $old_week) || grep(/href/, @currow)) {
|
||||||
my $week = "<th>" . ($wn+1) . "</th>";
|
my $week = "<th>" . ($wn+1) . "</th>";
|
||||||
$week = "<th><a href=\"$outdir/week" . ($wn+1) . "\">" . ($wn+1) . "</a></th>" if (grep(/href/, @currow));
|
#$week = "<th><a href=\"$outdir/week" . ($wn+1) . "\">" . ($wn+1) . "</a></th>" if (grep(/href/, @currow));
|
||||||
$para .= "<tr>$week" . join('', @currow) . "</tr>\n";
|
$para .= "<tr>$week" . join('', @currow) . "</tr>\n";
|
||||||
}
|
}
|
||||||
$para .= "</table>\n";
|
$para .= "</table>\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user