[Slashdotjp-dev 1054] [581] allow admin user to show AC info

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2008年 4月 16日 (水) 15:32:23 JST


Revision: 581
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=581
Author:   tach
Date:     2008-04-16 15:32:23 +0900 (Wed, 16 Apr 2008)

Log Message:
-----------
allow admin user to show AC info

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


-------------- next part --------------
Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2008-04-11 07:44:03 UTC (rev 580)
+++ slashjp/trunk/debian/changelog	2008-04-16 06:32:23 UTC (rev 581)
@@ -1,8 +1,9 @@
 slash (2.5.0.201-1) unstable; urgency=low
 
   * New upstream CVS release
+  * Allow to show AC info for admin user
 
- -- Taku YASUI <tach****@osdn*****>  Fri, 11 Apr 2008 16:42:16 +0900
+ -- Taku YASUI <tach****@osdn*****>  Wed, 16 Apr 2008 06:31:19 +0000
 
 slash (2.5.0.200-1) unstable; urgency=low
 

Modified: slashjp/trunk/themes/slashcode/htdocs/users.pl
===================================================================
--- slashjp/trunk/themes/slashcode/htdocs/users.pl	2008-04-11 07:44:03 UTC (rev 580)
+++ slashjp/trunk/themes/slashcode/htdocs/users.pl	2008-04-16 06:32:23 UTC (rev 581)
@@ -1060,7 +1060,7 @@
 	}
 
 	# Can't get user data for the anonymous user.
-	if ($fieldkey eq 'uid' && isAnon($uid)) {
+	if (!$user->{is_admin} && $fieldkey eq 'uid' && isAnon($uid)) {
 		header(getMessage('user_header')) or return;
 		return displayForm();
 	}


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