public
Description: Tog Platform Internal Message System Component
Homepage: http://www.toghq.com
Clone URL: git://github.com/tog/tog_mail.git
aitor (author)
Thu Aug 27 08:17:17 -0700 2009
commit  b670a35b4d5b6496e81c3fe9fc98efb1a38ce4f2
tree    4bc653ff1efba61be2312f694478afb4d0aa7359
parent  4c84b4891c588390e3af426e5934542c16873420
tog_mail / init.rb
100644 11 lines (8 sloc) 0.377 kb
1
2
3
4
5
6
7
8
9
10
11
require_plugin 'tog_core'
 
require "i18n" unless defined?(I18n)
Dir[File.dirname(__FILE__) + '/locale/**/*.yml'].each do |file|
  I18n.load_path << file
end
 
Tog::Plugins.settings :tog_mail, "messages.default_folders" => "Inbox Outbox",
                                 "messages_list.size" => "10"
 
Tog::Interface.sections(:member).add "Messages", "/member/messages"