Tatsuki SUGIURA
sugi****@users*****
2006年 8月 30日 (水) 17:54:09 JST
Index: slashjp/Slash/Display/Display.pm diff -u slashjp/Slash/Display/Display.pm:1.5 slashjp/Slash/Display/Display.pm:1.6 --- slashjp/Slash/Display/Display.pm:1.5 Fri Jul 14 10:54:25 2006 +++ slashjp/Slash/Display/Display.pm Wed Aug 30 17:54:09 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.5 2006/07/14 01:54:25 sugi Exp $ +# $Id: Display.pm,v 1.6 2006/08/30 08:54:09 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.5 $ ' =~ /\$Revision:\s+([^\s]+)/; +($VERSION) = ' $Revision: 1.6 $ ' =~ /\$Revision:\s+([^\s]+)/; @EXPORT = qw(slashDisplay slashDisplayName); @EXPORT_OK = qw(get_template); my(%objects); @@ -265,6 +265,9 @@ 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}; }