def response():
    code_info.inform_template(t)
    
    t.NAMES_OPEN = ahref( code_info.PAGE_EDITNAMES )
    t.NAMES_CLOSE = "</a>"
    t.SPACES_OPEN = ahref( code_info.PAGE_EDITSPACES )
    t.SPACES_CLOSE = "</a>"
    t.OTHER_OPEN = ahref( code_info.PAGE_EDITOPTS )
    t.OTHER_CLOSE = "</a>"
    if code_info.page() == code_info.PAGE_EDITNAMES:
        import cmp_editLNNS
        cmp=cmp_editLNNS
        cmp.LN_or_NS = "LN"
        t.NAMES_OPEN=BOLD_SPAN
        t.NAMES_CLOSE=SPAN_CLOSE
    elif code_info.page() == code_info.PAGE_EDITSPACES:
        import cmp_editLNNS
        cmp=cmp_editLNNS
        cmp.LN_or_NS = "NS"
        t.SPACES_OPEN=BOLD_SPAN
        t.SPACES_CLOSE=SPAN_CLOSE
    elif code_info.page() == code_info.PAGE_EDITOPTS:
        t.OTHER_OPEN=BOLD_SPAN
        t.OTHER_CLOSE=SPAN_CLOSE
    else:
        pass # illegal
    t.EDIT_SECTION_NAME = cmp.subtitle()
    t.EDIT_SECTION = cmp.response()

    import cmp_activity
    t.ACTIVITY = cmp_activity.response( code_info.NUM_LOGS_ON_EDIT_PAGES )

    return str(t)
def response( num_logs ):
    logs_data = code_old.hub.activity_log.get_logs( num_logs )
    t.html_notes = [ x["msg"] for x in logs_data ]
    
    code_info.inform_template(t)

    return str(t)
def response():
    import cmp_activity
    t.ACTIVITY = cmp_activity.response( code_info.NUM_LOGS_ON_FRONT_PAGE )
    code_info.inform_template(t)
    return str(t)