def index(req, ln=CFG_SITE_LANG, mtype='', content=''): navtrail_previous_links = bic.getnavtrail() try: uid = getUid(req) except: return error_page('Error', req) auth = bic.check_user(req,'cfgbibindex') if not auth[0]: return page(title="Manage Indexes", body=bic.perform_index(ln=ln, mtype=mtype, content=content), uid=uid, language=ln, req=req, navtrail = navtrail_previous_links, lastupdated=__lastupdated__) else: return page_not_authorized(req=req, text=auth[1], navtrail=navtrail_previous_links)
return page_not_authorized(req=req, text=auth[1], navtrail=navtrail_previous_links) def index(req, ln=CFG_SITE_LANG, mtype='', content=''): navtrail_previous_links = bic.getnavtrail() try: uid = getUid(req) except Error, e: return error_page(req) auth = bic.check_user(req,'cfgbibindex') if not auth[0]: return page(title="Manage Indexes", body=bic.perform_index(ln=ln, mtype=mtype, content=content), uid=uid, language=ln, req=req, navtrail = navtrail_previous_links, lastupdated=__lastupdated__) else: return page_not_authorized(req=req, text=auth[1], navtrail=navtrail_previous_links) def field(req, ln=CFG_SITE_LANG, mtype='', content=''): navtrail_previous_links = bic.getnavtrail() try: uid = getUid(req) except Error, e:
text=auth[1], navtrail=navtrail_previous_links) def index(req, ln=CFG_SITE_LANG, mtype='', content=''): navtrail_previous_links = bic.getnavtrail() try: uid = getUid(req) except Error, e: return error_page(req) auth = bic.check_user(req, 'cfgbibindex') if not auth[0]: return page(title="Manage Indexes", body=bic.perform_index(ln=ln, mtype=mtype, content=content), uid=uid, language=ln, req=req, navtrail=navtrail_previous_links, lastupdated=__lastupdated__) else: return page_not_authorized(req=req, text=auth[1], navtrail=navtrail_previous_links) def field(req, ln=CFG_SITE_LANG, mtype='', content=''): navtrail_previous_links = bic.getnavtrail() try: