X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=maps%2Fbin%2Fdetail.cgi;h=85ecb4958560e4441cbd9dde911de4c367f014a2;hb=5b549cfe88e1ff05a22af5b9da6a72a0b77bb41a;hp=de7fd29c1d4638501b7646cb885f0574f6ce1ca7;hpb=020a4a5ea2be725b155cae3a2cadc9aba3911b9b;p=clearscm.git diff --git a/maps/bin/detail.cgi b/maps/bin/detail.cgi index de7fd29..85ecb49 100755 --- a/maps/bin/detail.cgi +++ b/maps/bin/detail.cgi @@ -75,11 +75,13 @@ sub MakeButtons { my $type = shift; my $prev_button = $prev >= 0 ? - a ({-href => "detail.cgi?type=$type;date=$date;next=$prev"}, - 'Previous') : ''; + a ({-href => "detail.cgi?type=$type;date=$date;next=$prev", + -accesskey => 'p', + }, 'Previous') : ''; my $next_button = ($next + $lines) < $total ? - a {-href => "detail.cgi?type=$type;date=$date;next=" . ($next + $lines)}, - 'Next' : ''; + a {-href => "detail.cgi?type=$type;date=$date;next=" . ($next + $lines), + -accesskey => 'n', + }, 'Next' : ''; my $buttons = $prev_button; @@ -169,6 +171,7 @@ sub PrintTable { foreach my $sender (ReturnSenders $userid, $type, $next, $lines, $date) { my @msgs = ReturnMessages $userid, $sender; + my @msgs2 = @msgs; $next++; print @@ -189,12 +192,12 @@ sub PrintTable { -width => '100%', -bgcolor => '#d4d0c8'}; print - td {-class => 'tablelabel', - -valign => 'middle', - -width => '40'}, 'Sender:', - td {-class => 'sender', - -valign => 'middle'}, - a {-href => "mailto:$sender"}, $sender; + td {-class => 'tablelabel', + -valign => 'middle', + -width => '40'}, 'Sender:', + td {-class => 'sender', + -valign => 'middle'}, + a {-href => "mailto:$sender?subject=$msgs2[0][0]"}, $sender; print end_table; @@ -236,7 +239,7 @@ sub PrintTable { -bgcolor => '#ffffff'}, a {-href => "display.cgi?sender=$sender;msg_nbr=$msg_nbr"}, $subject, td {-class => 'date', - -width => '130', + -width => '150', -valign => 'middle'}, $msg_date ]; print end_table;