svnno****@sourc*****
svnno****@sourc*****
2008年 5月 19日 (月) 19:07:40 JST
Revision: 656 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=656 Author: tach Date: 2008-05-19 19:07:40 +0900 (Mon, 19 May 2008) Log Message: ----------- * Add feature to enable/disable PERL / RAWPERL directives on Template - use constant 'enable_template_evalperl' Modified Paths: -------------- slashjp/branches/2.5.0.192/Slash/Display/Display.pm slashjp/branches/2.5.0.192/debian/changelog slashjp/branches/2.5.0.192/sql/mysql/defaults.sql -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/Slash/Display/Display.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/Display/Display.pm 2008-05-16 08:01:23 UTC (rev 655) +++ slashjp/branches/2.5.0.192/Slash/Display/Display.pm 2008-05-19 10:07:40 UTC (rev 656) @@ -401,7 +401,9 @@ POST_CHOMP => $constants->{template_post_chomp}, CACHE_SIZE => $cache_size, %$cfg2, + EVAL_PERL => ($constants->{enable_template_evalperl} : 1 ? 0), })], + EVAL_PERL => ($constants->{enable_template_evalperl} : 1 ? 0), }); $cfg->{template} = $template if ref $cfg; Modified: slashjp/branches/2.5.0.192/debian/changelog =================================================================== --- slashjp/branches/2.5.0.192/debian/changelog 2008-05-16 08:01:23 UTC (rev 655) +++ slashjp/branches/2.5.0.192/debian/changelog 2008-05-19 10:07:40 UTC (rev 656) @@ -16,8 +16,10 @@ * Enable to specify encoding for prog2file - use 'encoding' to option * Add feature to write static html file for mobile mode + * Add feature to enable/disable PERL / RAWPERL directives on Template + - use constant 'enable_template_evalperl' - -- Taku YASUI <tach****@osdn*****> Fri, 16 May 2008 08:00:52 +0000 + -- Taku YASUI <tach****@osdn*****> Mon, 19 May 2008 10:05:33 +0000 slash (2.5.0.192-12) unstable; urgency=low Modified: slashjp/branches/2.5.0.192/sql/mysql/defaults.sql =================================================================== --- slashjp/branches/2.5.0.192/sql/mysql/defaults.sql 2008-05-16 08:01:23 UTC (rev 655) +++ slashjp/branches/2.5.0.192/sql/mysql/defaults.sql 2008-05-19 10:07:40 UTC (rev 656) @@ -1147,6 +1147,7 @@ INSERT IGNORE INTO vars (name, value, description) VALUES ('mobile_useragent_regex','','User-Agent regex to force mobile mode'); INSERT IGNORE INTO vars (name, value, description) VALUES ('mobile_encoding','Shift_JIS','Content encoding for mobile webpages (static html files)'); INSERT IGNORE INTO vars (name, value, description) VALUES ('mobile_staticdir','','Path for mobile static html files (disabled if empty)'); +INSERT IGNORE INTO vars (name, value, description) VALUES ('enable_template_evalperl','0','Add "EVAL_PERL" to Template option to be able to use "PERL" and "RAWPERL" directives'); UPDATE vars SET value='text/html; charset=UTF-8' WHERE name='content_type_webpage'; UPDATE vars SET value='0' WHERE name='draconian_charset'; UPDATE vars SET value='UTF-8' WHERE name='rdfencoding';