print term
'''
- #not sure this would be the best way but locals() would be cleaner
- #can this be done with genshi?
- '''
- return g.render('search_results.xhtml', locals())
- '''
- return g.render('search_results.xhtml', paginator=paginator,
- page_num=page_num,
- count=count, query_string=query_string,
- course_list=course_list,
- instructor_list=instructor_list,
- norm_query=norm_query,
- results_len=results_len,
- course_len=course_len,
- instr_len=instr_len)
+ return g.render('search_results.xhtml', **locals())