[Slashdotjp-dev 1112] [639] Do not show any comments on article.pl when mobile mode

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2008年 5月 13日 (火) 00:26:20 JST


Revision: 639
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=639
Author:   tach
Date:     2008-05-13 00:26:20 +0900 (Tue, 13 May 2008)

Log Message:
-----------
Do not show any comments on article.pl when mobile mode

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


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-05-10 18:53:40 UTC (rev 638)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-05-12 15:26:20 UTC (rev 639)
@@ -9,8 +9,9 @@
     - You can use 'jcount' variable journalhead;journal template
   * Fix: Use of uninitialized value in length at
     /usr/lib/perl5/Slash/Utility/Data.pm line 2054.
+  * Do not show any comments on article.pl when mobile mode
 
- -- Taku YASUI <tach****@osdn*****>  Sun, 11 May 2008 03:52:48 +0900
+ -- Taku YASUI <tach****@osdn*****>  Mon, 12 May 2008 15:25:30 +0000
 
 slash (2.5.0.192-11) unstable; urgency=low
 

Modified: slashjp/branches/2.5.0.192/themes/slashcode/htdocs/article.pl
===================================================================
--- slashjp/branches/2.5.0.192/themes/slashcode/htdocs/article.pl	2008-05-10 18:53:40 UTC (rev 638)
+++ slashjp/branches/2.5.0.192/themes/slashcode/htdocs/article.pl	2008-05-12 15:26:20 UTC (rev 639)
@@ -204,7 +204,7 @@
 			}
 			# If no comments ever have existed and commentstatus is disabled,
 			# just skip the display of the comment header bar -Brian
-			if ($discussion && ! (
+			if ($discussion && !$user->{mobile} && ! (
 				   !$discussion->{commentcount}
 				&&  $discussion->{commentstatus} eq 'disabled'
 			)) {


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