svnno****@sourc*****
svnno****@sourc*****
2009年 3月 24日 (火) 20:08:54 JST
Revision: 1081 http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1081 Author: tach Date: 2009-03-24 20:08:54 +0900 (Tue, 24 Mar 2009) Log Message: ----------- Hide topics that is not searchable Modified Paths: -------------- slashjp/trunk/debian/changelog slashjp/trunk/themes/slashcode/htdocs/topics.pl -------------- next part -------------- Modified: slashjp/trunk/debian/changelog =================================================================== --- slashjp/trunk/debian/changelog 2009-03-24 09:04:15 UTC (rev 1080) +++ slashjp/trunk/debian/changelog 2009-03-24 11:08:54 UTC (rev 1081) @@ -11,8 +11,9 @@ * Redirect Antenna URL on IndexHandler * Fix getStoryByTime() condition (never return "neverdisplay" stories) * Enable to use absolute path for content:encoded link in RSS.pm + * Hide topics that is not searchable - -- Taku YASUI <tach****@osdn*****> Tue, 24 Mar 2009 09:02:10 +0000 + -- Taku YASUI <tach****@osdn*****> Tue, 24 Mar 2009 11:07:59 +0000 slash (2.5.0.233-7) unstable; urgency=low Modified: slashjp/trunk/themes/slashcode/htdocs/topics.pl =================================================================== --- slashjp/trunk/themes/slashcode/htdocs/topics.pl 2009-03-24 09:04:15 UTC (rev 1080) +++ slashjp/trunk/themes/slashcode/htdocs/topics.pl 2009-03-24 11:08:54 UTC (rev 1081) @@ -72,6 +72,10 @@ delete($topics->{$id}) if ($constants->{topiclist_dont_show_nexuses}); } + foreach (keys %$topics) { + delete($topics->{$_}) if ($topics->{$_}{searchable} eq 'no'); + } + slashDisplay('listTopics', { title => getData('current_topics'), width => '90%',