diff --git a/vendor/built_in_modules/survey/init.rb b/vendor/built_in_modules/survey/init.rb index e91c4af4..38b19e33 100644 --- a/vendor/built_in_modules/survey/init.rb +++ b/vendor/built_in_modules/survey/init.rb @@ -11,26 +11,26 @@ module Faq update_info 'some update_info' front_end do - app_page 'survey' do - frontend_i18n "survey.frontend.survey" - end + # app_page 'survey' do + # frontend_i18n "survey.frontend.survey" + # end end authorizable data_count 1..20 - # widgets do - # default_widget do - # enable ["typeA"] - # query 'Survey.any_of( {:postdate.lte => Time.now} )' - # link_field :title, {:method => 'panel_survey_front_end_survey_path',:args=>:self} - # field :time_range - # field :write - # field :result - # link_to_more 'panel_survey_front_end_survey_path', :title_i18n=> 'faq.default_widget.to_more' - # end - # end + widgets do + default_widget do + enable ["typeA"] + query 'Survey.any_of( {:postdate.lte => Time.now} )' + link_field :title, {:method => 'panel_survey_front_end_survey_path',:args=>:self} + field :time_range + field :write + field :result + link_to_more 'panel_survey_front_end_survey_path', :title_i18n=> 'faq.default_widget.to_more' + end + end side_bar do