[Slashdotjp-dev 633] CVS update: slashjp/Slash/Display

Back to archive index

Tatsuki SUGIURA sugi****@users*****
2006年 10月 24日 (火) 20:20:35 JST


Index: slashjp/Slash/Display/Display.pm
diff -u slashjp/Slash/Display/Display.pm:1.7 slashjp/Slash/Display/Display.pm:1.8
--- slashjp/Slash/Display/Display.pm:1.7	Tue Sep  5 17:00:18 2006
+++ slashjp/Slash/Display/Display.pm	Tue Oct 24 20:20:34 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: Display.pm,v 1.7 2006/09/05 08:00:18 sugi Exp $
+# $Id: Display.pm,v 1.8 2006/10/24 11:20:34 sugi Exp $
 
 package Slash::Display;
 
@@ -50,7 +50,7 @@
 use base 'Exporter';
 use vars qw($VERSION @EXPORT @EXPORT_OK $CONTEXT %FILTERS $TEMPNAME);
 
-($VERSION) = ' $Revision: 1.7 $ ' =~ /\$Revision:\s+([^\s]+)/;
+($VERSION) = ' $Revision: 1.8 $ ' =~ /\$Revision:\s+([^\s]+)/;
 @EXPORT	   = qw(slashDisplay slashDisplayName);
 @EXPORT_OK = qw(get_template);
 my(%objects);
@@ -254,10 +254,6 @@
 	my $user      = getCurrentUser();
 	my $gSkin     = getCurrentSkin();
 
-	# TODO: backported light mode. we should delete in future.
-	# This line for temp light mode, but maybe cause some probloems.
-	getCurrentForm('light') and $user->{light} = 1;
-
 	# save for later (local() seems not to work ... ?)
 	my $origSkin = $user->{currentSkin} || $gSkin->{name};
 	my $origPage = $user->{currentPage};
@@ -269,9 +265,6 @@
 
 	if ($opt->{Skin} && $opt->{Skin} eq 'NONE') {
 		$user->{currentSkin} = 'default';
-	} elsif ($user->{light}) {
-		# TODO: backported light mode. we should delete in future.
-		$user->{currentSkin} = 'light';
 	} elsif ($opt->{Skin}) {
 		$user->{currentSkin} = $opt->{Skin};
 	}


Slashdotjp-dev メーリングリストの案内
Back to archive index