Changeset 15391 for platform/tdiary

Show
Ignore:
Timestamp:
07/07/08 21:16:28 (5 months ago)
Author:
hsbt
Message:

oops. fix small bug.

Location:
platform/tdiary/plugin
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • platform/tdiary/plugin/livedoor_weather.rb

    r15388 r15391  
    178178 
    179179add_body_enter_proc do |date| 
    180         unless @conf.mobile_agent? or feed? or bot? or iphone? then 
     180        unless @conf.mobile_agent? or @conf.iphone? or feed? or bot? 
    181181                lwws_to_html( date.strftime("%Y%m%d") ) 
    182182        end 
  • platform/tdiary/plugin/section_footer2.rb

    r15389 r15391  
    66 
    77require 'digest/md5' 
     8require 'rubygems' 
    89require 'json/ext' 
    910require 'timeout' 
     
    4344 
    4445add_section_leave_proc do |date, index| 
    45         r = '<div class="tags">' 
    46         unless @conf.mobile_agent? or feed? or bot? or iphone? then 
     46        unless @conf.mobile_agent? or @conf.iphone? or feed? or bot?  
     47                r = '<div class="tags">' 
    4748                # add category_tag 
    4849                if @category_to_tag_list and not @category_to_tag_list.empty? then 
     
    5354                        r << ' | ' 
    5455                end 
    55                  
     56 
    5657                # add del.icio.us link 
    5758                r << add_delicious(date, index) 
     
    6566                # add Permalink 
    6667                r << %Q|<a href="#{permalink(date, index, false)}">Permalink</a> | 
     68 
     69                r << "</div>\n" 
    6770        end 
    68         r << "</div>\n" 
    6971end 
    7072