資料載入處理中...
臺灣人文及社會科學引文索引資料庫
網站地圖
國圖首頁
聯絡我們
操作說明
English
行動版
來源文獻查詢
引文查詢
瀏覽查詢
作者權威檔
引用/點閱統計
我的研究室
資料庫說明
相關網站
簡易查詢
""" % jscksch ## 一開始預設自動完成是:題名 print """ """ tablewidth="width=100% align=center cellspacing=0 cellpadding=0" ftdwidth = 'align="right"' opt = ''.join(['
%s' % e for e in L]) ## 檢索按鈕 #searchbutton = """ #
# """ % (session.IBC, _('Search'), jsbase) acturl = '%s/keywordextent?kw=' % session.uri jsfunc1 = """keywordextent('%s', '%s', '%s')""" % (acturl, 'ysearchinput0', inputmsg) jsbase1 = 'onclick="%s" onkeypress="%s"' % (jsfunc1, jsfunc1) ## 擴充關鍵字查詢 keyword_expand = """
%s
""" % (_('Keyword extension ins'), jsbase1, _('Keyword extension')) ## 作者查詢,沒有延伸詞擴展功能 if session.lastsearch == 'opt3': keyword_expand = '' searchbutton = """
%s
%s
""" % (_('Search'), jsbase, _('Search'), _('Reset'), _('Reset')) searchbuttonbasic = """
%s
%s
%s
""" % (_('Search'), jsbase, _('Search'), keyword_expand, _('Reset'), _('Reset')) searchbuttonrequired = """
%s
%s
""" % (_('Search'), jsfunc_req, _('Search'), _('Reset'), _('Reset')) jsfunc = """keypresssearch(event, '%s')""" % _('Enter search terms you have already been!') ##KM2 jsfunc += """%s""" % km2_searchjs jsbase = """onclick="" onkeypress="%s" """ % (jsfunc) # if searchmode == 'basic': ## 有瀏覽欄位功能 i = 0 brw_onchange = """ onChange="brwstatus('%s', this.options[this.options.selectedIndex].value, 'brwfield%d', '%s', '%s');" """ % (formval, i, ckfieldbrwattr, i) if brwfieldable: brw_button = """
""" % (i, _('Browse'), formval, i, i, _('Please select browse field'), uri) else: brw_button = '' selectfldarea = """
%s
""" % (brw_onchange, opt) if BasicNoSelectFld: ## 代表預設有欄位 selectfldarea = '' print """
""" % (tablewidth, inputsize, jsbase) + """ %s %s %s
""" %(selectfldarea, brw_button, searchbuttonbasic) try: if extralimitflds: print """
""" cn = 0 ## 輸出查詢欄位部份 for v in extralimitflds: (fld, fldname) = v.split('/') jsfunc = "basic_autocomplete('dcf')" jsbase = """onclick="%s" onkeypress="%s" """ % (jsfunc, jsfunc) ##if cn in [0, 4]: ## 題名/書刊名 預設為 checked if fld in ['ti', 'so']: print """
%s""" % (fld, jsbase, fldname) ## 作者查詢,作者欄位、學術專長預設 checked elif session.lastsearch == 'opt3' and fld in ['au', 'res']: print """
%s""" % (fld, jsbase, fldname) elif cn == len(extralimitflds) - 1: print """
%s""" % (fld, fldname) else: print """
%s""" % (fld, jsbase, fldname) cn += 1 print '
' if session.lastsearch in ['opt1']: import gsweb #gsweb.layout(session, param, '_source_search_basic_limitype.htm', nohead=1) print """
""" except: pass print '
' # elif searchmode == 'cmd': ## 有瀏覽欄位功能 i = 0 brw_onchange = """ onChange="brwstatus('%s', this.options[this.options.selectedIndex].value, 'brwfield%d', '%s', '%s');" """ % (formval, i, ckfieldbrwattr, i) if brwfieldable: brw_button = """
""" % (i, _('Browse'), formval, i, i, _('Please select browse field'), uri) else: brw_button = '' cmdfldarea = """
""" if BasicNoSelectFld: ## 代表預設有欄位 selectfldarea = '' (rows, cols) = inputsize.split('/') print """
""" % (tablewidth, rows, cols) + """ %s %s %s
""" %(cmdfldarea, brw_button, searchbutton) # elif searchmode == 'a2a': ## 有瀏覽欄位功能 i = 0 brw_button = '' cmdfldarea = """
""" if BasicNoSelectFld: ## 代表預設有欄位 selectfldarea = '' (rows, cols) = inputsize.split('/') print """
%s
""" % (tablewidth, _('Text to text search terms'), rows, cols) print """
%s
""" %(searchbuttonrequired) # elif searchmode == 'vse': ## 有瀏覽欄位功能 i = 0 brw_button = '' cmdfldarea = """
""" if BasicNoSelectFld: ## 代表預設有欄位 selectfldarea = '' import gsvse (rows, cols) = inputsize.split('/') print """
""" % tablewidth gsvse.DispInsLv(option='1') print """
""" print """
%s
""" % (_('Text to text search terms'), rows, cols) print """
%s
""" %(searchbuttonrequired) # elif searchmode == 'advance': opt = ''.join(['
%s' % e for e in L]) ##print 'smax', smax for i in xrange(0, smax): brw_onchange = """ onChange="brwstatus('%s', this.options[this.options.selectedIndex].value, 'brwfield%d', '%s', '%s');" """ % \ (formval, i, ckfieldbrwattr, i) ## 有瀏覽欄位功能 if brwfieldable: brw_button = """
""" % (i, _('Browse'), formval, i, i, _('Please select browse field'), uri) ## 無瀏覽欄位功能 else: brw_button = '' if i == 0: print """
""" % (i < sdef and 'display:block;' or 'display:none;') + """
""" %(tablewidth, i, inputsize, i, jsbase) + """
"""%(i, brw_onchange) + opt + """
%s
""" % (brw_button, i) elif i == (smax-1): ## advsearchbutton = searchbutton if smax > sdef: advsearchbutton = '' aotopts = """
and
or
not
""" % (i) print """
""" % (i < sdef and 'display:block;' or 'display:none;') + """
%s
"""%(tablewidth, aotopts, i,inputsize, i,i, brw_onchange) \ + opt + """
%s %s
""" % (brw_button, advsearchbutton, i) else: aotopts = """
and
or
not
""" % (i) print """
""" % (i < sdef and 'display:block;' or 'display:none;') + """
%s
"""%(tablewidth, aotopts, i,inputsize,i,i, brw_onchange) \ + opt + """
%s
""" % (brw_button, i) ## 初始瀏覽按鍵為readonly if brwfieldable: print """' try: if limitschflds: print """
""" % (limitschflds) except: pass ", line 35, in ? AttributeError: CGISession instance has no attribute 'lastsearch'