From 771d0e18a59ea19faecfe2081db34522fc78e53a Mon Sep 17 00:00:00 2001 From: kou Date: Sat, 9 Apr 2005 05:47:33 +0000 Subject: * sample/rss/tdiary_plugin/rss-recent.rb: supported configuration via Web browser. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/rss/tdiary_plugin/rss-recent.rb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'sample') diff --git a/sample/rss/tdiary_plugin/rss-recent.rb b/sample/rss/tdiary_plugin/rss-recent.rb index 261ca872b..f574135e3 100644 --- a/sample/rss/tdiary_plugin/rss-recent.rb +++ b/sample/rss/tdiary_plugin/rss-recent.rb @@ -263,3 +263,27 @@ def rss_recent_pubDate_to_dc_date(target) end end end + +add_conf_proc('rss-recent', label_rss_recent_title) do + item = 'rss-recent.use-image-link' + if @mode == 'saveconf' + @conf[item] = (@cgi.params[item][0] == 't') + end + + <<-HTML +
+

#{label_rss_recent_use_image_link_title}

+

#{label_rss_recent_use_image_link_description}

+

+ +

+
+ HTML +end -- cgit