Tatsuki SUGIURA
sugi****@users*****
2006年 9月 4日 (月) 21:17:45 JST
Index: slashjp/Slash/Slash.pm diff -u slashjp/Slash/Slash.pm:1.10 slashjp/Slash/Slash.pm:1.11 --- slashjp/Slash/Slash.pm:1.10 Mon Aug 28 19:00:45 2006 +++ slashjp/Slash/Slash.pm Mon Sep 4 21:17:45 2006 @@ -1,7 +1,7 @@ # This code is a part of Slash, and is released under the GPL. # Copyright 1997-2005 by Open Source Technology Group. See README # and COPYING for more information, or see http://slashcode.com/. -# $Id: Slash.pm,v 1.10 2006/08/28 10:00:45 sugi Exp $ +# $Id: Slash.pm,v 1.11 2006/09/04 12:17:45 sugi Exp $ package Slash; @@ -728,7 +728,9 @@ slashDisplay('printCommentsMain', { comments => $comments, title => $discussion->{title}, - 'link' => $discussion->{url}, + 'link' => ($slashdb->getDescriptions('discussion_kinds')->{$discussion->{dkid}} eq 'journal-story' + ? $constants->{rootdir}."/article.pl?sid=".$discussion->{sid} + : $discussion->{url}), count => $count, sid => $discussion->{id}, cid => $cid,