]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Template/_thread.pm
Bugfix to show thread list in deleted postings.
[selfforum.git] / 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