Ignore:
Timestamp:
1999-02-05T14:10:54+13:00 (25 years ago)
Author:
sjboddie
Message:

made a start on getting all the collections using the default macro files

File:
1 edited

Legend:

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

    r129 r148  
    11package query
    22
    3 ####################
    4 # query page icons #
    5 ####################
     3#######################################################################
     4# navigation bar
     5#
     6# these macros must be overridden for any collections using
     7# options different from the default (i.e. search, titles and authors)
     8#######################################################################
    69
    7 _iconqueryresultsbar_ {<img src="_httpiconqryresb_" width=_widthqryresb_
    8 height=_heightqryresb_ alt="_texticonqueryresultsbar_">}
     10_imagequerybar_ {
     11<center>
     12<nobr>_icontabsearchgreen__icontabspacer__imagebrowsetitles__icontabspacer2__imagebrowseauthors_</nobr>
     13</center>
     14<p>
     15}
     16
     17_imagequerybar_[version=text] {
     18_imagebrowsetitles_<br>
     19_imagebrowseauthors_<br>
     20<p>
     21}
     22
     23
     24#######################################################################
     25# https
     26#######################################################################
     27
     28_httpiconthispage_ {_httpimg_/h\_search.gif}
     29_httpiconthispage_ [language=mi] {_httpimg_/mh\_srch.gif}
     30_widthiconthispage_ {200}
     31_heighticonthispage_ {57}
     32
     33_httpiconqryresb_ {_httpimg_/qryresb.gif}
     34_httpiconqryresb_ [language=mi] {_httpimg_/mqryresb.gif}
     35_widthqryresb_ {537}
     36_heightqryresb_ {17}
     37
     38
     39#######################################################################
     40# icons
     41#######################################################################
     42
     43_iconthispage_ {<img src="_httpiconthispage_" alt="_texticonthispage_" width="_widthiconthispage_" height="_heighticonthispage_">}
     44_iconthispage_ [version=text] {<h2>_texticonthispage_</h2>}
     45
     46_iconqueryresultsbar_ {<img src="_httpiconqryresb_" width="_widthqryresb_" height="_heightqryresb_" alt="_texticonqueryresultsbar_">}
    947_iconqueryresultsbar_[version=text] {_texticonqueryresultsbar_}
    1048
    11 _imagethispage_ {<img src="_httpiconhsearch_" alt="search" width=_widthhsearch_ height=_heighthsearch_>}
    1249
    13 #########################
    14 # English language text #
    15 #########################
     50#######################################################################
     51# images
     52#######################################################################
    1653
    17 _texticonqueryresultsbar_ {}
    18 _textfm1_ {Word count: }
    19 _textmt2_ {More than }
    20 _textndmtq_ {No documents matched the query}
    21 _textdmtq2_ { documents matched the query}
    22 _textdmtq3_ { documents matched the query}
    23 
    24 _textmatches_ {Matches }
    25 
    26 _textbeginsearch_ {Begin Search}
    27 
    28 _textsome_ {some}
    29 _textall_ {all}
     54_imagethispage_ {_iconthispage_}
    3055
    3156
    32 ##############
    33 # query page #
    34 ##############
     57#######################################################################
     58# page content
     59#######################################################################
    3560
    36 _pagetitle_ {_collectionname_: Search}
     61_pagetitle_ {_collectionname_: Search page}
    3762
    3863_noqueryheader_ {
     
    5883
    5984
    60 _imagequerybar_ {
    61 <center>
    62 <nobr>_icontabsearchgreen__icontabspacer__imagebrowsetitles__icontabspacer__imagebrowseauthors_</nobr>
    63 </center>
    64 <p>
    65 }
    66 
    67 _imagequerybar_[version=text] {_imagebrowsetitles_<br>
    68 _imagebrowseauthors_<br>
    69 <p>
    70 }
    71 
    72 
    7385# default to be overridden for each page
    7486_links_ {}
     
    7789_links_
    7890}
    79 
    80 
    81 # these selection macros are overridden for each page
    82 _indexselection_ {
    83 <select name="i">
    84 <option value="t">titles
    85 <option value="c"selected>chapters
    86 </select>
    87 }
    88 
    89 _querytypeselection_ {
    90 <select name="t">
    91 <option value="1" selected>some
    92 <option value="0" >all
    93 </select>
    94 }
    95 
    9691
    9792_queryform_ {
     
    106101<_font_>
    107102<nobr>
    108 Search _indexselection_ for _querytypeselection_ of the words<br>
     103_textselect_<br>
    109104</nobr>
    110105</font>
     
    121116</form>
    122117}
     118
     119#######################################################################
     120# English text
     121#######################################################################
     122
     123_texticonthispage_ {search}
     124_textsome_ {some}
     125_textall_ {all}
     126_texticonqueryresultsbar_ {}
     127_textfm1_ {Word count: }
     128_textmt2_ {More than }
     129_textndmtq_ {No documents matched the query}
     130_textdmtq2_ { document matched the query}
     131_textdmtq3_ { documents matched the query}
     132_textmatches_ {Matches }
     133_textbeginsearch_ {Begin Search}
     134
     135# the textselect macro will be overridden for most collections
     136_textselect_ {Search _hselection_ of _jselection_ in _nselection_ language for
     137_querytypeselection_ of the words}
     138
     139#######################################################################
     140# Maori text       
     141#######################################################################
     142
     143_texticonthispage_ {rapu}
     144_textsome_ [language=mi] [language=mi] {&euml;tehi}
     145_textall_ [language=mi] {te katoa}
     146_textbeginsearch_ [language=mi] {Rapua}
     147_textfm1_ [language=mi] {Kia hia ng&auml; kupu: }
     148_textmt2_ [language=mi] {Neke atu i te }
     149_textndmtq_ [language=mi] {k&auml;ore he pukapuka e p&auml; ana ki &auml;u kupu rapu}
     150_textdmtq2_ [language=mi] { te pukapuka e p&auml; ana ki &auml;u kupu rapu}
     151_textdmtq3_ [language=mi] { ng&auml; pukapuka e p&auml; ana ki &auml;u kupu rapu}
     152
     153
     154
Note: See TracChangeset for help on using the changeset viewer.