Changeset 12913
- Timestamp:
- 05/31/08 19:47:28 (5 years ago)
- Files:
-
- 1 modified
-
platform/tdiary/plugin/livedoor_weather.rb (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/tdiary/plugin/livedoor_weather.rb
r3325 r12913 6 6 # You can redistribute it and/or modify it under GPL2. 7 7 # 8 8 9 require 'open-uri' 9 10 require 'timeout' … … 79 80 cache = "#{@cache_path}/lwws" 80 81 81 if date == nil82 unless date 82 83 file_name = "#{cache}/#{convert_date( date_status)}.xml" # file_name is YYYYMMDD 83 84 else … … 97 98 result << %Q|<div class=\"lwws\">| 98 99 99 if @conf['lwws.icon.disp'] != "t" ||@conf.mobile_agent? then100 if @conf['lwws.icon.disp'] != "t" or @conf.mobile_agent? then 100 101 result << %Q|<a href="#{h(detail_url)}">#{telop}</a>| 101 102 else … … 108 109 end 109 110 110 if @conf['lwws.max_temp.disp'] == "t" then 111 unless max_temp == nil 112 result << %Q| #{@lwws_max_temp_label}:#{h(max_temp)}#{@celsius_label}| 113 end 114 end 115 if @conf['lwws.min_temp.disp'] == "t" then 116 unless min_temp == nil 117 result << %Q| #{@lwws_min_temp_label}:#{h(min_temp)}#{@celsius_label}| 118 end 111 if @conf['lwws.max_temp.disp'] == "t" and not max_temp.nil? then 112 result << %Q| #{@lwws_max_temp_label}:#{h(max_temp)}#{@celsius_label}| 113 end 114 115 if @conf['lwws.min_temp.disp'] == "t" and not min_temp.nil? then 116 result << %Q| #{@lwws_min_temp_label}:#{h(min_temp)}#{@celsius_label}| 119 117 end 120 118
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)