def find(self, keyword=None, cur_p=''):
        '''
        find by keyword.
        '''
        if not keyword:
            self.__to_find__(cur_p)

        kwd = {
            'pager': '',
            'title': '查找结果',

        }

        self.render(self.wrap_tmpl('user/{sig}user_find_list.html'),

                    kwd=kwd,
                    view=MUser.get_by_keyword(keyword),
                    cfg=config.CMS_CFG,
                    userinfo=self.userinfo)
def find ( self , keyword = None , cur_p = '' ) : if not keyword : self . __to_find__ ( cur_p ) kwd = { 'pager' : '' , 'title' : '查找结果' , } self . render ( self . wrap_tmpl ( 'user/{sig}user_find_list.html' ) , kwd = kwd , view = MUser . get_by_keyword ( keyword ) , cfg = config . CMS_CFG , userinfo = self . userinfo )
find by keyword.