Changeset 4553

Show
Ignore:
Timestamp:
09/09/07 08:35:31 (1 year ago)
Author:
uta
Message:

-

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • components/bbs/trunk/bbs/bbs_abstract_helper.rb

    r2945 r4553  
    11module Bbs::BbsAbstractHelper 
    2  
    32  def message_per_page_list 
    43    return ['20','50','[_Bbs_All]'] 
     
    1413 
    1514  def default_message 
    16     return (RubricksLib.current_user.signature == '')? '' : "--<br>#{RubricksLib.current_user.signature.gsub(/\r\n|\r|\n/,'<br>')}"   
     15    return (RubricksLib.current_user.signature == '')? '' : "--<br>#{RubricksLib.current_user.signature.gsub(/\r\n|\r|\n/,'<br>')}" 
    1716  end 
    1817end 
  • components/bbs/trunk/bbs/bbs_category.rb

    r4216 r4553  
    99   
    1010  def forum_count 
    11     return Bbs::BbsForum.count(:include => :bbs_category, 
    12              :conditions => ['bbs_categories.id = ?', self.id]) 
     11    return Bbs::BbsForum.count(:include => :bbs_category, :conditions => ['bbs_categories.id = ?', self.id]) 
    1312  end 
    1413   
  • components/bbs/trunk/bbs/bbs_info.rb

    r4216 r4553  
    3434            return true 
    3535          end 
    36         end          
     36        end 
    3737      end 
    3838      return false