]> git.p6c8.net - selfforum.git/commitdiff
Bugfix to show thread list in deleted postings. master
authorfox_two <>
Sun, 13 Jan 2002 20:30:35 +0000 (20:30 +0000)
committerfox_two <>
Sun, 13 Jan 2002 20:30:35 +0000 (20:30 +0000)
selfforum-cgi/shared/Template/_thread.pm

index ba7ae87cc3adda6afab00026cf7faf4037885a61..94b9fe4c95f4463f65d4e7ede8b4ba2bbe5ce1ef 100644 (file)
@@ -89,7 +89,7 @@ sub html_thread ($$$;$) {
            $temp->{
              (length $_->{'cat'}
                ? 'start'
            $temp->{
              (length $_->{'cat'}
                ? 'start'
-               : 'startNC').$del
+               : 'startNC').($actions->{'actionDeleted'} ? $del : '')
            },
            { $temp->{'name'}    => $_->{'name'},
              $temp->{'subject'} => $_->{'subject'},
            },
            { $temp->{'name'}    => $_->{'name'},
              $temp->{'subject'} => $_->{'subject'},
@@ -113,7 +113,7 @@ sub html_thread ($$$;$) {
            $temp->{
              (length $_->{'cat'}
               ? 'start'
            $temp->{
              (length $_->{'cat'}
               ? 'start'
-              : 'startNC').$del
+               : 'startNC').($actions->{'actionDeleted'} ? $del : '')
            },
            { $temp->{'name'}    => $_->{'name'},
              $temp->{'subject'} => $_->{'subject'},
            },
            { $temp->{'name'}    => $_->{'name'},
              $temp->{'subject'} => $_->{'subject'},
@@ -164,7 +164,7 @@ sub html_thread ($$$;$) {
            $temp->{
              (length $_->{'cat'}
              ? 'line'
            $temp->{
              (length $_->{'cat'}
              ? 'line'
-             : 'lineNC').$del
+             : 'lineNC').($actions->{'actionDeleted'} ? $del : '')
            },
            { $temp->{'name'}    => $_->{'name'},
              $temp->{'subject'} => $_->{'subject'},
            },
            { $temp->{'name'}    => $_->{'name'},
              $temp->{'subject'} => $_->{'subject'},
@@ -187,7 +187,7 @@ sub html_thread ($$$;$) {
            $temp->{
              (length $_->{'cat'}
              ? 'line'
            $temp->{
              (length $_->{'cat'}
              ? 'line'
-             : 'lineNC').$del
+             : 'lineNC').($actions->{'actionDeleted'} ? $del : '')
            },
            { $temp->{'name'}    => $_->{'name'},
              $temp->{'subject'} => $_->{'subject'},
            },
            { $temp->{'name'}    => $_->{'name'},
              $temp->{'subject'} => $_->{'subject'},

patrick-canterino.de