Changeset 15391 for platform/tdiary/plugin
- Timestamp:
- 07/07/08 21:16:28 (5 months ago)
- Location:
- platform/tdiary/plugin
- Files:
-
- 2 modified
-
livedoor_weather.rb (modified) (1 diff)
-
section_footer2.rb (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/tdiary/plugin/livedoor_weather.rb
r15388 r15391 178 178 179 179 add_body_enter_proc do |date| 180 unless @conf.mobile_agent? or feed? or bot? or iphone? then180 unless @conf.mobile_agent? or @conf.iphone? or feed? or bot? 181 181 lwws_to_html( date.strftime("%Y%m%d") ) 182 182 end -
platform/tdiary/plugin/section_footer2.rb
r15389 r15391 6 6 7 7 require 'digest/md5' 8 require 'rubygems' 8 9 require 'json/ext' 9 10 require 'timeout' … … 43 44 44 45 add_section_leave_proc do |date, index| 45 r = '<div class="tags">'46 unless @conf.mobile_agent? or feed? or bot? or iphone? then46 unless @conf.mobile_agent? or @conf.iphone? or feed? or bot? 47 r = '<div class="tags">' 47 48 # add category_tag 48 49 if @category_to_tag_list and not @category_to_tag_list.empty? then … … 53 54 r << ' | ' 54 55 end 55 56 56 57 # add del.icio.us link 57 58 r << add_delicious(date, index) … … 65 66 # add Permalink 66 67 r << %Q|<a href="#{permalink(date, index, false)}">Permalink</a> | 68 69 r << "</div>\n" 67 70 end 68 r << "</div>\n"69 71 end 70 72
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)