[Slashdotjp-dev 600] CVS update: slashjp/themes/slashcode/htdocs

Zurück zum Archiv-Index

Tatsuki SUGIURA sugi****@users*****
2006年 8月 30日 (水) 17:54:10 JST


Index: slashjp/themes/slashcode/htdocs/users.pl
diff -u slashjp/themes/slashcode/htdocs/users.pl:1.11 slashjp/themes/slashcode/htdocs/users.pl:1.12
--- slashjp/themes/slashcode/htdocs/users.pl:1.11	Thu Jul 13 10:12:27 2006
+++ slashjp/themes/slashcode/htdocs/users.pl	Wed Aug 30 17:54:09 2006
@@ -2,7 +2,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: users.pl,v 1.11 2006/07/13 01:12:27 sugi Exp $
+# $Id: users.pl,v 1.12 2006/08/30 08:54:09 sugi Exp $
 
 use strict;
 use Digest::MD5 'md5_hex';
@@ -2024,6 +2024,7 @@
 
 	my $lb_check = $user_edit->{lowbandwidth} ? $constants->{markup_checked_attribute} : '';
 	my $sd_check = $user_edit->{simpledesign} ? $constants->{markup_checked_attribute} : '';
+	my $l_check = $user_edit->{light}	? $constants->{markup_checked_attribute} : ''; # TODO: backported light mode. should be deleted in future.
 	my $i_check = $user_edit->{noicons}	? $constants->{markup_checked_attribute} : '';
 	my $w_check = $user_edit->{willing}	? $constants->{markup_checked_attribute} : '';
 
@@ -2034,6 +2035,7 @@
 		admin_block		=> $admin_block,
 		user_edit		=> $user_edit,
 		tzformat_select		=> $tzformat_select,
+		l_check			=> $l_check, # TODO: backported light mode. should be deleted in future.
 		i_check			=> $i_check,
 		w_check			=> $w_check,
 		lb_check		=> $lb_check,
@@ -2927,10 +2929,11 @@
 
 		slashboxes	=> checkList($slashboxes, 1024),
 
-		maxstories	=> 30, # XXXSKIN fix this later
+		maxstories	=> (($form->{maxstories} > 0 && $form->{maxstories} <= 90) ? $form->{maxstories} : 30),
 		noboxes		=> ($form->{useslashboxes} ? 0 : 1),
 		lowbandwidth	=> ($form->{lowbandwidth} ? 1 : 0),
 		simpledesign	=> ($form->{simpledesign} ? 1 : 0),
+		light		=> ($form->{light} ? 1 : 0), # TODO: backported light mode. should be deleted in future.
 		noicons		=> ($form->{noicons} ? 1 : 0),
 		willing		=> ($form->{willing} ? 1 : 0),
 	};


Slashdotjp-dev メーリングリストの案内
Zurück zum Archiv-Index