Changeset 5030

Show
Ignore:
Timestamp:
12/07/07 14:40:20 (1 year ago)
Author:
sato
Message:

1589

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • components/bbs/trunk/bbs/bbs/topic_detail.rhtml

    r4784 r5030  
    3232        </td> 
    3333        <td class="rubricks_general_table_cell_borderless" style="width: 200px;vertical-align: middle;"> 
    34           <div class="float_button_left_inactive">[<%= hl(@bbs_topic.updated_on_to_s) %>]</div> 
     34          <div class="float_button_left_inactive">[<%= hl(@bbs_topic.topic_updated_on_to_s) %>]</div> 
    3535          <%= form_tag({:controller => '/bbs/bbs_message', :action => 'print', :page => 'print_message', :id => @bbs_topic.message_id}, {:id => "print_topic_message_form", :target => "_blank"}) %> 
    3636            <div id="topic_message_button" class="float_button_right_inactive swap"> 
  • components/bbs/trunk/bbs/bbs_message_controller.rb

    r4651 r5030  
    4545      if bt.last_message?(bm.message_no) 
    4646        bt.last_poster_name = bm.poster_name 
     47        bt.last_posted = bm.updated_on 
    4748        raise ::ActionController::ValidateException unless bt.valid? 
    4849        bt.save 
  • components/bbs/trunk/bbs/bbs_topic.rb

    r4651 r5030  
    77 
    88  def over_flow_message? 
    9     return max_message_no >= self.bbs_forum.bbs_category.bbs_info.message_max_posts 
     9    return message_count >= self.bbs_forum.bbs_category.bbs_info.message_max_posts 
    1010  end 
    1111 
     
    7878    return message.poster_name 
    7979  end 
     80 
     81  def topic_updated_on_to_s 
     82    return message.updated_on_to_s 
     83  end 
    8084end