Changeset 5030
- Timestamp:
- 12/07/07 14:40:20 (1 year ago)
- Files:
-
- components/bbs/trunk/bbs/bbs/topic_detail.rhtml (modified) (1 diff)
- components/bbs/trunk/bbs/bbs_message_controller.rb (modified) (1 diff)
- components/bbs/trunk/bbs/bbs_topic.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
components/bbs/trunk/bbs/bbs/topic_detail.rhtml
r4784 r5030 32 32 </td> 33 33 <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> 35 35 <%= form_tag({:controller => '/bbs/bbs_message', :action => 'print', :page => 'print_message', :id => @bbs_topic.message_id}, {:id => "print_topic_message_form", :target => "_blank"}) %> 36 36 <div id="topic_message_button" class="float_button_right_inactive swap"> components/bbs/trunk/bbs/bbs_message_controller.rb
r4651 r5030 45 45 if bt.last_message?(bm.message_no) 46 46 bt.last_poster_name = bm.poster_name 47 bt.last_posted = bm.updated_on 47 48 raise ::ActionController::ValidateException unless bt.valid? 48 49 bt.save components/bbs/trunk/bbs/bbs_topic.rb
r4651 r5030 7 7 8 8 def over_flow_message? 9 return m ax_message_no>= self.bbs_forum.bbs_category.bbs_info.message_max_posts9 return message_count >= self.bbs_forum.bbs_category.bbs_info.message_max_posts 10 10 end 11 11 … … 78 78 return message.poster_name 79 79 end 80 81 def topic_updated_on_to_s 82 return message.updated_on_to_s 83 end 80 84 end
