X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=maps%2Fbin%2Fdetail.cgi;h=55c9cbde98df17f3b81aacb4298686de120e6c0b;hb=338c4f27d2fd517aa63544459399aef9b28438be;hp=1d3909714e6d6289a583356ad07a9acec0539750;hpb=16babf81ce331af378de565ba73e927ff5491f65;p=clearscm.git diff --git a/maps/bin/detail.cgi b/maps/bin/detail.cgi index 1d39097..55c9cbd 100755 --- a/maps/bin/detail.cgi +++ b/maps/bin/detail.cgi @@ -90,49 +90,49 @@ sub MakeButtons { if ($type eq 'whitelist') { $buttons = $buttons . submit ({-name => 'action', - -value => 'Blacklist Marked', + -value => 'Blacklist', -onClick => 'return CheckAtLeast1Checked (document.detail);'}) . submit ({-name => 'action', - -value => 'Nulllist Marked', + -value => 'Nulllist', -onClick => 'return CheckAtLeast1Checked (document.detail);'}) . submit ({-name => 'action', - -value => 'Reset Marks', + -value => 'Reset', -onClick => 'return ClearAll (document.detail);'}); } elsif ($type eq 'blacklist') { $buttons = $buttons . submit ({-name => 'action', - -value => 'Whitelist Marked', + -value => 'Whitelist', -onClick => 'return CheckAtLeast1Checked (document.detail);'}) . submit ({-name => 'action', - -value => 'Nulllist Marked', + -value => 'Nulllist', -onClick => 'return CheckAtLeast1Checked (document.detail);'}) . submit ({-name => 'action', - -value => 'Reset Marks', + -value => 'Reset', -onClick => 'return ClearAll (document.detail);'}); } elsif ($type eq 'nulllist') { $buttons = $buttons . submit ({-name => 'action', - -value => 'Whitelist Marked', + -value => 'Whitelist', -onClick => 'return CheckAtLeast1Checked (document.detail);'}) . submit ({-name => 'action', - -value => 'Blacklist Marked', + -value => 'Blacklist', -onClick => 'return CheckAtLeast1Checked (document.detail);'}) . submit ({-name => 'action', - -value => 'Reset Marks', + -value => 'Reset', -onClick => 'return ClearAll (document.detail);'}); } else { $buttons = $buttons . submit ({-name => 'action', - -value => 'Whitelist Marked', + -value => 'Whitelist', -onClick => 'return CheckAtLeast1Checked (document.detail);'}) . submit ({-name => 'action', - -value => 'Blacklist Marked', + -value => 'Blacklist', -onClick => 'return CheckAtLeast1Checked (document.detail);'}) . submit ({-name => 'action', - -value => 'Nulllist Marked', + -value => 'Nulllist', -onClick => 'return CheckAtLeast1Checked (document.detail);'}) . submit ({-name => 'action', - -value => 'Reset Marks', + -value => 'Reset', -onClick => 'return ClearAll (document.detail);'}); } # if @@ -242,8 +242,9 @@ sub PrintTable { my $messages = 1; for (@msgs) { - my $msg_date = pop @{$_}; - my $subject = pop @{$_}; + my $msg_date = pop @{$_}; + my $link_date = $msg_date; + my $subject = pop @{$_}; if ($date eq substr ($msg_date, 0, 10)) { $msg_date = b font {-color => 'green'}, SQLDatetime2UnixDatetime $msg_date; @@ -262,7 +263,6 @@ sub PrintTable { -cellspacing => 2, -border => 0, -width => '100%'}; - my $msg_nbr = $messages; print Tr [ td {-class => 'msgnbr', @@ -275,7 +275,7 @@ sub PrintTable { td {-class => 'subject', -valign => 'middle', -bgcolor => '#ffffff'}, - a {-href => "display.cgi?sender=$sender;msg_nbr=$msg_nbr"}, $subject, + a {-href => "display.cgi?sender=$sender;msg_date=$link_date"}, $subject, td {-class => 'date', -width => '150', -valign => 'middle'}, $msg_date