[Slashdotjp-dev 1019] [546] * Change method to pick up nexus topics for section selection on

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2008年 3月 11日 (火) 23:00:52 JST


Revision: 546
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=546
Author:   tach
Date:     2008-03-11 23:00:52 +0900 (Tue, 11 Mar 2008)

Log Message:
-----------
 * Change method to pick up nexus topics for section selection on
   editH****@users***** (for slashdot.jp)

Modified Paths:
--------------
    slashjp/branches/2.5.0.192/debian/changelog
    slashjp/branches/2.5.0.192/themes/slashcode/htdocs/users.pl


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-03-10 07:18:28 UTC (rev 545)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-03-11 14:00:52 UTC (rev 546)
@@ -2,8 +2,10 @@
 
   * Enable to select using shtml links at site RSS/RDF by
     $constants->{rss_use_story_shtml}
+  * Change method to pick up nexus topics for section selection on
+    editH****@users***** (for slashdot.jp)
 
- -- Taku YASUI <tach****@osdn*****>  Mon, 10 Mar 2008 06:14:44 +0000
+ -- Taku YASUI <tach****@osdn*****>  Tue, 11 Mar 2008 12:49:11 +0000
 
 slash (2.5.0.192-7) unstable; urgency=low
 

Modified: slashjp/branches/2.5.0.192/themes/slashcode/htdocs/users.pl
===================================================================
--- slashjp/branches/2.5.0.192/themes/slashcode/htdocs/users.pl	2008-03-10 07:18:28 UTC (rev 545)
+++ slashjp/branches/2.5.0.192/themes/slashcode/htdocs/users.pl	2008-03-11 14:00:52 UTC (rev 546)
@@ -1781,7 +1781,7 @@
 
 	# Set up $nexus_hr, @nexustid_order, and $story023_default{nexus}.
 	my $topic_tree = $reader->getTopicTree();
-	my $nexus_tids_ar = $reader->getStorypickableNexusChildren($constants->{mainpage_nexus_tid}, 1);
+	my $nexus_tids_ar = [ sort grep {$topic_tree->{$_}{storypickable}} $reader->getNexusTids() ];
 	my $nexus_hr = { };
 	
 	for my $tid (@$nexus_tids_ar) {


Slashdotjp-dev メーリングリストの案内
アーカイブの一覧に戻る