member plugin init edit

This commit is contained in:
unknown committed 2013-02-20 18:05:09 +08:00
commit f59da3ce81
59 files changed
+273 -111

No files matched your search

@@ -0,0 +1,4 @@
en:
ad_banner:
ad_banner: Ad Banner
@@ -0,0 +1,3 @@
zh_tw:
module_name:
ad_banner: 廣告輪播
+2 -2
View File
@@ -1,6 +1,6 @@
module AdBanner
OrbitApp.registration "AdBanner",:type=> 'ModuleApp' do
module_label 'miss_module_i18n.ad_banner'
module_label 'module_name.ad_banner'
base_url File.expand_path File.dirname(__FILE__)
# personal_plugin :enable => true,:path=>"panel/ad_banner/plugin/profile",:i18n=>'admin.ad_banner'
@@ -33,7 +33,7 @@ module AdBanner
# end
side_bar do
head_label_i18n 'admin.ad_banner',:icon_class=>"icons-landscape"
head_label_i18n 'ad_banner.ad_banner',:icon_class=>"icons-landscape"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:public=>['admin/ad_banners', 'admin/ad_images']})
@@ -15,3 +15,5 @@ en:
search: Search for Announcement
update_bulletin_success: Announcement was successfully updated
update_bulletin_category_success: Announcement category was successfully updated
all_articles: All Articles
add_new: New
@@ -11,8 +11,8 @@ zh_tw:
editing_announcement_category: 編輯公告類別
error:
no_avilb_cate_for_posting: 公告必需有一個類別才能發送,請與管理員聯絡
front_end:
bulletins: 請LIN給名字前台頁
frontend:
bulletins: 公告前台
new_bulletin_category: 新增公告類別
search: 搜尋公告
update_bulletin_success: 公告已成功更新
+2 -2
View File
@@ -13,7 +13,7 @@ module Announcement
front_end do
app_page 'bulletins' do
frontend_i18n "announcement.front_end.bulletins"
frontend_i18n "announcement.frontend.bulletins"
end
end
@@ -40,7 +40,7 @@ module Announcement
end
side_bar do
head_label_i18n 'admin.announcement',:icon_class=>"icons-megaphone"
head_label_i18n 'announcement.announcement',:icon_class=>"icons-megaphone"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:private=>['bulletins', 'bulletin_categorys', 'approvals','tags']})
active_for_object_auth ['BulletinCategory']
+3 -1
View File
@@ -4,7 +4,9 @@
en:
_locale: English
archive:
all: All
archive: Archive
add: Add
back: Back
create: Create
@@ -2,8 +2,12 @@ zh_tw:
_locale: 中文
archive:
archive: 檔案室
all: 全部檔案
widget:
archive_files: 檔案室Wiget
frontend:
archive: 檔案室前台
add: 新增
back: 回去
create: 創造
+7 -8
View File
@@ -1,12 +1,9 @@
module Archive
OrbitApp.registration "Archive",:type=> 'ModuleApp' do
module_label 'miss_module_i18n.archive'
module_label 'archive.archive'
base_url File.expand_path File.dirname(__FILE__)
# personal_plugin :enable => true,:path=>"panel/archive/plugin/profile",:i18n=>'miss_plugin_i18n.archive'
# =======
# personal_plugin :enable => true,:path=>"panel/archive/plugin/profile",:i18n=>'admin.archive'
# >>>>>>> 858e942da234fffa3053a995231f2b0d9eee43d1
# personal_plugin :enable => true,:path=>"panel/archive/plugin/profile",:i18n=>'archive.archive'
version "0.1"
organization "Rulingcom"
@@ -15,7 +12,9 @@ module Archive
update_info 'some update_info'
front_end do
app_page 'archive_files'
app_page 'archive_files' do
frontend_i18n "archive.frontend.archive"
end
end
widgets do
@@ -33,14 +32,14 @@ module Archive
end
side_bar do
head_label_i18n 'miss_module_i18n.archive',:icon_class=>"icons-archive"
head_label_i18n 'archive.archive',:icon_class=>"icons-archive"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:private=>['archive_file_categorys','archive_files'],:public=>['panel/archive/back_end/tags']})
active_for_object_auth ['BulletinCategory']
head_link_path "panel_archive_back_end_archive_files_path"
context_link 'miss_module_i18n._archive.all',
context_link 'archive.all',
:link_path=>"panel_archive_back_end_archive_files_path" ,
:priority=>1,
:active_for_action=>{:archive_files=>:index},
@@ -1,5 +1,6 @@
en:
calendar:
calendar_: Calendar
calendar: Calendar
calendars: Calendars
color: Color
+2 -1
View File
@@ -1,7 +1,8 @@
zh_tw:
calendar:
calendar_: 行事曆
calendar: 日曆
calendars: Calendars
categories: 類別
color: Color
name: Name
save: Save
+3 -3
View File
@@ -1,6 +1,6 @@
module Calendar
OrbitApp.registration "Calendar",:type=> 'ModuleApp' do
module_label 'miss_module_i18n.calendar'
module_label 'calendar.calendar_'
base_url File.expand_path File.dirname(__FILE__)
# personal_plugin :enable => true,:path=>"panel/calendar/plugin/profile",:i18n=>'admin.calendar'
@@ -11,14 +11,14 @@ module Calendar
update_info 'some update_info'
side_bar do
head_label_i18n 'miss_module_i18n.calendar',:icon_class=>"icons-calendar"
head_label_i18n 'calendar.calendar_',:icon_class=>"icons-calendar"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:private=>['cals','calendar_categories'],:public=>['panel/calendar/back_end/tags']})
head_link_path "panel_calendar_back_end_cals_path"
context_link 'calendar.calendars',
context_link 'calendar.categories',
:link_path=>"new_panel_calendar_back_end_cal_path" ,
:priority=>1,
:active_for_action=>{:cals=>:new},
+2 -2
View File
@@ -1,6 +1,6 @@
module Gallery
OrbitApp.registration "Gallery",:type=> 'ModuleApp' do
module_label 'miss_module_i18n.gallery'
module_label 'gallery.gallery'
base_url File.expand_path File.dirname(__FILE__)
# personal_plugin :enable => true,:path=>"panel/gallery/plugin/profile",:i18n=>'admin.gallery'
@@ -41,7 +41,7 @@ module Gallery
end
side_bar do
head_label_i18n 'miss_module_i18n.gallery',:icon_class=>"icons-pictures"
head_label_i18n 'gallery.gallery',:icon_class=>"icons-pictures"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:private=>['albums','album_images','gallery_categories','/panel/gallery/back_end/tags']})
active_for_object_auth ['BulletinCategory']
@@ -0,0 +1,3 @@
en:
location:
location: Location
@@ -0,0 +1,3 @@
zh_tw:
location:
location: 地標
+2 -2
View File
@@ -1,6 +1,6 @@
module Location
OrbitApp.registration "Location",:type=> 'ModuleApp' do
module_label 'miss_module_i18n.location'
module_label 'location.location'
base_url File.expand_path File.dirname(__FILE__)
# personal_plugin :enable => true,:path=>"panel/location/plugin/profile",:i18n=>'admin.location'
@@ -32,7 +32,7 @@ module Location
# end
side_bar do
head_label_i18n 'miss_module_i18n.location',:icon_class=>"icons-location"
head_label_i18n 'location.location',:icon_class=>"icons-location"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:private=>['locations']})
@@ -1,24 +1,13 @@
zh_tw:
miss_module_i18n:
archive: 檔案室
_archive:
all: 全部檔案
calendar: 日曆模組
calendars: 日曆
gallery: 相簿
location: (未命名)Location
ad_banner: 廣告輪播
miss_plugin_i18n:
personal_book: Personal Book
personal_diploma: Personal Diploma
personal_experience: Personal Experience
personal_honor: Personal Honor
personal_journal: Personal Journal
personal_lab: Personal Lab
personal_patent: Personal Patent
personal_project: Personal Project
personal_research: Personal Research
personal_conference: Personal Conference
# miss_plugin_i18n:
# personal_experience: 經歷
# personal_honor: 榮譽
# personal_project: 研究計畫
# personal_research: 研究
# personal_conference: 研討會論文
@@ -5,3 +5,5 @@ zh_tw:
create_page_content_success: 頁面內容已成功建立
editing_page_content: 編輯頁面內容
update_page_content_success: 頁面內容已成功更新
frontend:
page: 頁面前台
+4 -2
View File
@@ -12,11 +12,13 @@ module PageContent
update_info 'some update_info'
front_end do
app_page 'page_contexts'
app_page 'page_contexts' do
frontend_i18n "page_content.frontend.page"
end
end
side_bar do
head_label_i18n 'page',:icon_class=>"icons-page"
head_label_i18n 'page',:icon_class=>"icons-newspaper"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:private=>['page_contexts']})
active_for_object_auth ['PageContext']
@@ -1,7 +1,8 @@
zh_tw:
_locale: 中文
module_name:
personal_book: 專書
add: 新增
back: 回去
create: 創造
+2 -3
View File
@@ -1,9 +1,8 @@
module PersonalBook
OrbitApp.registration "PersonalBook",:type=> 'ModuleApp' do
module_label 'miss_plugin_i18n.personal_book'
module_label 'module_name.personal_book'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true,:path=>"panel/personal_book/plugin/profile",:admin_path=>"/panel/personal_book/back_end/writing_books",:i18n=>'miss_plugin_i18n.personal_book'
personal_plugin :enable => true,:path=>"panel/personal_book/plugin/profile",:admin_path=>"/panel/personal_book/back_end/writing_books",:i18n=>'module_name.personal_book'
end
@@ -1,7 +1,8 @@
zh_tw:
_locale: 中文
module_name:
personal_conference: 研討會論文
add: 新增
back: 回去
create: 創造
+2 -3
View File
@@ -1,9 +1,8 @@
module PersonalConference
OrbitApp.registration "PersonalConference",:type=> 'ModuleApp' do
module_label 'miss_plugin_i18n.personal_conference'
module_label 'module_name.personal_conference'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true,:path=>"panel/personal_conference/plugin/profile",:admin_path=>"/panel/personal_conference/back_end/writing_conferences",:i18n=>'miss_plugin_i18n.personal_conference'
personal_plugin :enable => true,:path=>"panel/personal_conference/plugin/profile",:admin_path=>"/panel/personal_conference/back_end/writing_conferences",:i18n=>'module_name.personal_conference'
end
@@ -1,7 +1,8 @@
zh_tw:
_locale: 中文
module_name:
personal_diploma: 學歷
add: 新增
back: 回去
create: 創造
+2 -3
View File
@@ -1,9 +1,8 @@
module PersonalDiploma
OrbitApp.registration "PersonalDiploma",:type=> 'ModuleApp' do
module_label 'miss_plugin_i18n.personal_diploma'
module_label 'module_name.personal_diploma'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true,:path=>"panel/personal_diploma/plugin/profile",:admin_path=>"/panel/personal_diploma/back_end/diplomas",:i18n=>'miss_plugin_i18n.personal_diploma'
personal_plugin :enable => true,:path=>"panel/personal_diploma/plugin/profile",:admin_path=>"/panel/personal_diploma/back_end/diplomas",:i18n=>'module_name.personal_diploma'
end
@@ -1,7 +1,8 @@
zh_tw:
_locale: 中文
module_name:
personal_experience: 經歷
add: 新增
back: 回去
create: 創造
+2 -3
View File
@@ -1,9 +1,8 @@
module PersonalExperience
OrbitApp.registration "PersonalExperience",:type=> 'ModuleApp' do
module_label 'miss_plugin_i18n.personal_experience'
module_label 'module_name.personal_experience'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true,:path=>"panel/personal_experience/plugin/profile",:admin_path=>"/panel/personal_experience/back_end/experiences",:i18n=>'miss_plugin_i18n.personal_experience'
personal_plugin :enable => true,:path=>"panel/personal_experience/plugin/profile",:admin_path=>"/panel/personal_experience/back_end/experiences",:i18n=>'module_name.personal_experience'
end
@@ -1,7 +1,8 @@
zh_tw:
_locale: 中文
module_name:
personal_honor: 榮譽
add: 新增
back: 回去
create: 創造
+2 -3
View File
@@ -1,9 +1,8 @@
module PersonalHonor
OrbitApp.registration "PersonalHonor",:type=> 'ModuleApp' do
module_label 'miss_plugin_i18n.personal_honor'
module_label 'module_name.personal_honor'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true,:path=>"panel/personal_honor/plugin/profile",:admin_path=>"/panel/personal_honor/back_end/honors",:i18n=>'miss_plugin_i18n.personal_honor'
personal_plugin :enable => true,:path=>"panel/personal_honor/plugin/profile",:admin_path=>"/panel/personal_honor/back_end/honors",:i18n=>'module_name.personal_honor'
end
@@ -1,4 +1,6 @@
zh_tw:
module_name:
personal_journal: 期刊著作
personal_journal:
paper_title : "論文名稱"
journal_title : "期刊名稱"
+2 -3
View File
@@ -1,9 +1,8 @@
module PersonalJournal
OrbitApp.registration "PersonalJournal",:type=> 'ModuleApp' do
module_label 'miss_plugin_i18n.personal_journal'
module_label 'module_name.personal_journal'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true,:path=>"panel/personal_journal/plugin/profile",:admin_path=>"/panel/personal_journal/back_end/writing_journals",:i18n=>'miss_plugin_i18n.personal_journal'
personal_plugin :enable => true,:path=>"panel/personal_journal/plugin/profile",:admin_path=>"/panel/personal_journal/back_end/writing_journals",:i18n=>'module_name.personal_journal'
end
@@ -1,7 +1,8 @@
zh_tw:
_locale: 中文
module_name:
personal_lab: 實驗室
add: 新增
back: 回去
create: 創造
+2 -2
View File
@@ -1,8 +1,8 @@
module PersonalLab
OrbitApp.registration "PersonalLab",:type=> 'ModuleApp' do
module_label 'miss_plugin_i18n.personal_lab'
module_label 'module_name.personal_lab'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true,:path=>"panel/personal_lab/plugin/profile",:admin_path=>"/panel/personal_lab/back_end/labs",:i18n=>'miss_plugin_i18n.personal_lab'
personal_plugin :enable => true,:path=>"panel/personal_lab/plugin/profile",:admin_path=>"/panel/personal_lab/back_end/labs",:i18n=>'module_name.personal_lab'
end
@@ -1,7 +1,8 @@
zh_tw:
_locale: 中文
module_name:
personal_patent: 專利
add: 新增
back: 回去
create: 創造
+3 -3
View File
@@ -1,9 +1,9 @@
module PersonalPatent
OrbitApp.registration "PersonalPatent",:type=> 'ModuleApp' do
module_label 'miss_plugin_i18n.personal_patent'
module_label 'module_name.personal_patent'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true,:path=>"panel/personal_patent/plugin/profile",:admin_path=>"/panel/personal_patent/back_end/writing_patents",:i18n=>'miss_plugin_i18n.personal_patent'
personal_plugin :enable => true,:path=>"panel/personal_patent/plugin/profile",:admin_path=>"/panel/personal_patent/back_end/writing_patents",:i18n=>'module_name.personal_patent'
end
end
@@ -1,7 +1,8 @@
zh_tw:
_locale: 中文
module_name:
personal_project: 研究計畫
add: 新增
back: 回去
create: 創造
+2 -2
View File
@@ -1,8 +1,8 @@
module PersonalProject
OrbitApp.registration "PersonalProject",:type=> 'ModuleApp' do
module_label 'miss_plugin_i18n.personal_project'
module_label 'module_name.personal_project'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true,:path=>"panel/personal_project/plugin/profile",:admin_path=>"/panel/personal_project/back_end/projects",:i18n=>'miss_plugin_i18n.personal_project'
personal_plugin :enable => true,:path=>"panel/personal_project/plugin/profile",:admin_path=>"/panel/personal_project/back_end/projects",:i18n=>'module_name.personal_project'
end
@@ -1,7 +1,8 @@
zh_tw:
_locale: 中文
module_name:
personal_research: 研究
add: 新增
back: 回去
create: 創造
+2 -2
View File
@@ -1,8 +1,8 @@
module PersonalResearch
OrbitApp.registration "PersonalResearch",:type=> 'ModuleApp' do
module_label 'miss_plugin_i18n.personal_research'
module_label 'module_name.personal_research'
base_url File.expand_path File.dirname(__FILE__)
personal_plugin :enable => true,:path=>"panel/personal_research/plugin/profile",:admin_path=>"/panel/personal_research/back_end/researchs",:i18n=>'miss_plugin_i18n.personal_research'
personal_plugin :enable => true,:path=>"panel/personal_research/plugin/profile",:admin_path=>"/panel/personal_research/back_end/researchs",:i18n=>'module_name.personal_research'
end