Changeset 1921


Ignore:
Timestamp:
02/07/01 14:08:21 (20 years ago)
Author:
kjm18
Message:

added macros for revamped prefs page, revamped history, and mgpp form query
pages. delhistorypage macros removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/english.dm

    r1856 r1921  
    532532_textsome_ {_If_(_cgiargb_,ranked,some)}
    533533_textall_ {_If_(_cgiargb_,boolean,all)}
     534_textformsome_ {_If_(_cgiargb_,ranked,some)}
     535_textformall_ {_If_(_cgiargb_,natural,all)}
    534536_texticonqueryresultsbar_ {}
     537_texticonsearchhistorybar_ {search history}
    535538_textfreqmsg1_ {Word count: }
    536539_textpostprocess_ {_If_(_quotedquery_,<br><i>post-processed to find _quotedquery_</i>
     
    544547_textmatches_ {Matches }
    545548_textbeginsearch_ {Begin Search}
    546 
    547 # _hselection_, _jselection_ and _nselection_ are set from within the server
    548 # some or all of them may remain unset
    549 
    550 _textsimplesearch_ {Search for _If_(_hselection_, _hselection_ )_If_(_jselection_,_textjselect_)_If_(_gselection_, at _gselection_ level)_If_(_nselection_, in _nselection_ language)
     549_textrunquery_{Run Query}
     550_textclearform_{Clear Form}
     551
     552#these go together in form search:
     553#"Word or phrase  (fold, stem)  ... in field"
     554_textwordphrase_{Word or phrase}
     555_textinfield_{... in field}
     556_textfoldstem_{(fold, stem)}
     557
     558_textadvquery_{Or enter a query directly:}
     559_textallfields_{All fields}
     560_textand_{and}
     561_textor_{or}
     562_textandnot_{and not}
     563
     564# _hselection_, _jselection_, _nselection_ and _gselection_ are set from
     565# within the server some or all of them may remain unset
     566
     567
     568_textsimplesearch_ {Search for _If_(_hselection_, _hselection_) _If_(_jselection_, _textjselect_) _If_(_gselection_, at _gselection_ level) _If_(_nselection_, in _nselection_ language)
    551569which contain _querytypeselection_ of the words}
    552570
    553 _textadvancedsearch_ {Search _If_(_hselection_, _hselection_, _defaultindextext_)_If_(_jselection_,_textjselect_)_If_(_gselection_, at _gselection_ level)_If_(_nselection_, in _nselection_ language)
     571_textadvancedsearch_ {Search _If_(_hselection_, _hselection_, _defaultindextext_) _If_(_jselection_,_textjselect_) _If_(_gselection_, at _gselection_ level)_If_(_nselection_, in _nselection_ language)
    554572using _querytypeselection_ query}
     573
     574_textformsimplesearch_ {Search for _If_(_hselection_, _hselection_) _If_(_jselection_, _textjselect_) _If_(_gselection_, at _gselection_ level) _If_(_nselection_, in _nselection_ language)
     575which contain _formquerytypeselection_ of}
     576
     577_textformadvancedsearch_ {Search _If_(_hselection_, _hselection_, _defaultindextext_) _If_(_jselection_,_textjselect_) _If_(_gselection_, at _gselection_ level)_If_(_nselection_, in _nselection_ language)
     578and display results in _formquerytypeselection_ order}
     579
    555580
    556581_textjselect_ {_If_(_hselection_, of) _jselection_}
     
    563588_textexplaineras_{C.E. and B.C.E are alternatives for A.D. and B.C. repsectively.  These terms are considered to be culture indiscriminate, and stand for "Common Era" and "Before the Common Era"}
    564589
    565 
    566590_textstemon_ { (ignoring word endings)}
    567 _textclearhistory_ {Clear History}
    568 _textexpand_ {Expand}
    569 _textcontract_ {Contract}
     591
    570592_textsearchhistory_ {Search History}
    571 _textquery_ {Query}
    572 _textresults_ {Results}
    573 _textview_ {View}
     593
     594#text macros for search history
    574595_textnohistory_ {Search history not available}
    575 
     596_texthresult_ {result}
     597_texthresults_ {results}
     598_texthallwords_ {all words}
     599_texthsomewords_ {some words}
     600_texthboolean_ {boolean}
     601_texthranked_ {ranked}
     602_texthcaseon_ {case must match}
     603_texthcaseoff_ {casefolded}
     604_texthstemon_ {stemmed}
     605_texthstemoff_ {unstemmed}
    576606
    577607#------------------------------------------------------------
     
    589619_heightqryresb_ {17}
    590620
     621## "history" ## green_bar_left_aligned ## srchhistb ##
     622_httpiconsrchhistb_ {_httpimg_/srchhistb.gif}
     623_widthsrchhistb_ {_pagewidth_}
     624_heightsrchhistb_ {17}
     625
    591626## "display" ## hand_made ##
    592627_httpicondisplay_ {_httpimg_/display.gif}
     
    595630
    596631
    597 
    598632######################################################################
    599633# 'preferences' page
     
    610644_textpresentationprefs_ {Presentation preferences}
    611645_textpreferences_ {Preferences}
     646_textcasediffs_ {Case differences:}
    612647_textignorecase_ { ignore case differences}
    613648_textmatchcase_ { upper/lower case must match}
     649_textwordends_{Word endings:}
    614650_textstem_ { ignore word endings}
    615651_textnostem_ { whole word must match}
    616652_textprefop_ {Return up to _maxdocoption_ hits with _hitsperpageoption_ hits per page.}
    617 _textextlink_ {Access to external Web pages: }
     653_textextlink_ {Access to external Web pages:}
    618654_textintlink_ {Source documents retrieved from:}
    619 _textlanguage_ {Interface language: }
    620 _textencoding_ {Encoding: }
    621 _textformat_ {Interface format: }
     655_textlanguage_ {Interface language:}
     656_textencoding_ {Encoding:}
     657_textformat_ {Interface format:}
    622658_textall_ {all}
    623 _textsimplemode_ {simple query mode}
    624 _textadvancedmode_ {advanced query mode (allows boolean searching using !, &, |, and parentheses)}
     659_textquerymode_{Query mode:}
     660_textsimplemode_ { simple query mode}
     661_textadvancedmode_ { advanced query mode (allows boolean searching using !, &, |, and parentheses)}
    625662_textlinkinterm_ {through intermediate page}
    626663_textlinkdirect_ {go directly there}
     
    632669Subcollections to include:
    633670<br>}
    634 _textfcoption_ {Include navigation bar at top of document pages}
    635 _texthloption_ {Highlight search terms within document text}
    636 _texthistorydisplay_ {display search history}
     671_textfcoption_ { Include navigation bar at top of document pages}
     672_texthloption_ { Highlight search terms within document text}
     673_textsearchhistory_{Search history:}
     674_texthistorydisplay_ { display _historynumrecords_search history records}
     675_textnohistorydisplay_{ do not display search history}
     676
     677_texttypesearch_ {Type of search:}
     678_texttextsearch_ {text search}
     679_textformsearch_ {form search}
     680_textqueryboxsize_ {Query box size:}
     681_textregbox_{ regular query box}
     682_textbigbox_{ large query box}
     683_textformtype_ {Form type:}
     684_textsimple_{ simple}
     685_textadvanced_ { advanced}
     686
     687# used in "with 4 fields" in the form search box
     688_textwith_{with}
     689_textfields_{fields}
    637690
    638691
     
    645698_widthhpref_ {200}
    646699_heighthpref_ {57}
    647 
    648 
    649 
    650 ######################################################################
    651 # 'delete search history' page
    652 package delhistory
    653 ######################################################################
    654 
    655 
    656 #------------------------------------------------------------
    657 # text macros
    658 #------------------------------------------------------------
    659 
    660 _textdsh_ {Delete Search History}
    661 
    662 _textselectdelete_ {<a href="_httpclearhistory_&hdh=1">Delete all
    663 records</a> or select records to <select name=hmode><option value=save>not
    664 delete<option value=delete selected>delete</select><br> Records can be
    665 selected by typing their numbers into the box,<br> or by clicking in the
    666 boxes in each record.<br> Acceptable values are 1,2,3-6,7- etc }
    667 
    668 _textclearselected_ {Clear selected}
    669 _textselect_ {select}
    670 
    671 
    672 #------------------------------------------------------------
    673 # icons
    674 #------------------------------------------------------------
    675 
    676700
    677701
     
    9921016<h3>How to use this feature:</h3>
    9931017<ul>
    994    <li>To search for documents about a sinlge year:<p>
     1018   <li>To search for documents about a single year:<p>
    9951019   <ul>
    9961020       <li>Type in any ordinary search terms as you normally would.
     
    10011025       <li>Begin your search as you ordinarily would.
    10021026   </ul>
    1003 <p><li>To search for documents abou a time period or range of years:<p>
     1027<p><li>To search for documents about a time period or range of years:<p>
    10041028   <ul>
    10051029       <li>Type in any ordinary search terms as you normally would.
Note: See TracChangeset for help on using the changeset viewer.