from .tool.func import * def list_recent_discuss(tool = 'normal'): with get_db_connect() as conn: m_sub = 0 if tool == 'normal': pass elif tool == 'close': m_sub = '(' + get_lang(conn, 'closed') + ')' else: tool = 'open' m_sub = '(' + get_lang(conn, 'open_discussion_list') + ')' return easy_minify(conn, flask.render_template(skin_check(conn), imp = [get_lang(conn, 'recent_discussion'), wiki_set(conn), wiki_custom(conn), wiki_css([m_sub, 0])], data = '' + \ '
' + \ '' + \ '' + \ '', menu = [['other', get_lang(conn, 'return')]] ))