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/pref.dm

    r129 r148  
    11package preferences
    22
    3 _pagetitle_ {_collectionname_: Preferences}
    43
    5 _imagethispage_ {<img src="_httpiconhpref_" alt="Preferences" width=_widthhpref_ height=_heighthpref_>}
     4#######################################################################
     5# page content
     6#######################################################################
     7
     8_pagetitle_ {_collectionname_: _textpreferences_}
     9_imagethispage_ {_iconthispage_}
     10
    611
    712# these macros will be overridden at runtime
    813_caseoption_ {
    914<input type=radio name=k value=1
    10         checked> ignore case differences<br>
     15        checked>_textignorecase_<br>
    1116<input type=radio name=k value=0
    12         > upper/lower case must match
     17        >_textmatchcase_
    1318}
    1419
    1520_stemoption_ {
    1621<input type=radio name=s value=1
    17         > ignore word endings<br>
     22        >_textstem_<br>
    1823<input type=radio name=s value=0
    19         checked> whole word must match
    20 }
    21 
    22 _encodingoption_ {
    23 <select name="nw">
    24   <option value="w">Western (ISO-8859-1)
    25   <option value="g">Simplified Chinese (GB2312)
    26   <option value="8">Unicode (UTF-8)
    27 </select>
     24        checked>_textnostem_
    2825}
    2926
     
    6360
    6461<p>
    65 Return up to _maxdocoption_ hits with _hitsperpageoption_
    66 hits per page.
     62_textprefop_
    6763
    6864<table width="100%">
    6965<tr><td>
    70 <input type="submit" value="Set these preferences">
     66<input type="submit" value="_textsetprefs_">
    7167</td></tr></table>
    7268</blockquote>
     
    7470</form>
    7571}
     72
     73
     74#######################################################################
     75# https
     76#######################################################################
     77
     78_httpiconhpref_ {_httpimg_/h\_pref.gif}
     79_httpiconhpref_ [language=mi] {_httpimg_/mh\_pref.gif}
     80_widthhpref_ {200}
     81_widthhpref_ [language=mi] {220}
     82_heighthpref_ {57}
     83
     84
     85#######################################################################
     86# icons
     87#######################################################################
     88
     89_iconthispage_ {<img src="_httpiconhpref_" alt="_textpreferences_" width="_widthhpref_" height="_heighthpref_">}
     90_iconthispage_ [language=mi] {<img src="_httpimg_/mh\_pref.gif" alt="" width="220" height="57">}
     91
     92
     93#######################################################################
     94# english macros
     95#######################################################################
     96
     97_textpreferences_ {Preferences}
     98_textignorecase_ { ignore case differences}
     99_textmatchcase_ { upper/lower case must match}
     100_textstem_ { ignore word endings}
     101_textnostem_ { whole word must match}
     102_textprefop_ {Return up to _maxdocoption_ hits with _hitsperpageoption_ hits per page.}
     103_textsetprefs_ {Set these preferences}
     104
     105#######################################################################
     106# maori macros
     107#######################################################################
     108
     109_textpreferences_ [language=mi] {Whiriwhiringa}
     110_textignorecase_ [language=mi] { hei aha te p&uuml; matua me te p&uuml; iti}
     111_textmatchcase_ [language=mi] { me tika te p&uuml; matua me te p&uuml; iti}
     112_textstem_ [language=mi] { hei aha te k&uuml;muri}
     113_textnostem_ [language=mi] { me tika te k&uuml;muri}
     114_textprefop_ [language=mi] {Whakahokia mai te _maxdocoption_ kupu, &auml;, kia _hitsperpageoption_ kupu ki ia wh&auml;rangi.}
     115_textsetprefs_ [language=mi] {Whakamaua}
     116
     117
     118
     119
     120
Note: See TracChangeset for help on using the changeset viewer.