--- search.rb.orig 2005-06-13 02:50:14.000000000 +0900 +++ search.rb 2005-06-13 02:44:32.000000000 +0900 @@ -140,7 +140,7 @@ def main $KCODE = 'EUC' cgi = CGI.new - @config = TDiary::Config.new + @config = TDiary::Config.new(cgi) @config.options['apply_plugin'] = true html = '
error
' begin @@ -231,20 +231,20 @@ def search_form_page(theme) patterns = [] - ERbLight.new(HEADER + SEARCH_FORM + FOOTER).result(binding()) + ERB.new(HEADER + SEARCH_FORM + FOOTER).result(binding()) end def search_result_page(theme, patterns) - ERbLight.new(HEADER + SEARCH_RESULT + FOOTER).result(binding()) + ERB.new(HEADER + SEARCH_RESULT + FOOTER).result(binding()) end def search_error_page(theme, patterns, reason) - ERbLight.new(HEADER + SEARCH_ERROR + FOOTER).result(binding()) + ERB.new(HEADER + SEARCH_ERROR + FOOTER).result(binding()) end def history_page(theme) patterns = [] - ERbLight.new(HEADER + HISTORY + FOOTER).result(binding()) + ERB.new(HEADER + HISTORY + FOOTER).result(binding()) end def query_log