Changeset 258


Ignore:
Timestamp:
1999-05-10T15:41:55+12:00 (25 years ago)
Author:
sjboddie
Message:

Gradually getting document action working

Location:
trunk/gsdl/macros
Files:
1 added
2 edited

Legend:

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

    r218 r258  
    1616_imagecollection_ {}
    1717
    18 # this is the total width of the page - i.e. the width
    19 # of any title bars etc. that go all the way across
     18
     19#######################################################################
     20# these width macros are read in by the server when calculating
     21# width of navigation bar etc. There should be one for each
     22# classification that this receptionist supports, one for the
     23# search button, and the _pagewidth_ macro which is the total width
     24# of the page
     25#######################################################################
     26
    2027_pagewidth_ {537}
    21 
     28_searchwidth_ {_widthtsrchx_}   
     29_Titlewidth_ {_widthttitlx_}
     30_Creatorwidth_ {_widthtauthx_}
     31_Serieswidth_ {_widthtserx_}
     32_Datewidth_ {_widthtdatex_}
     33_Subjectwidth_ {_widthtsubjx_}
     34_Organizationwidth_ {_widthtorgx_}
     35_Howtowidth_ {_widththowx_}
     36
     37// all cgi args are set as _cgiargX_ macros - those I've put here
     38// are those that need to default to something
     39_cgiargd_ {}
    2240
    2341#######################################################################
     
    2644#######################################################################
    2745
    28 #_gwcgi_ {http://nowhere.nzdl.org/cgi-bin/gw}
    29 #_httpprefix_ {http://nowhere.nzdl.org}
    30 
    31 _cookie_ {}
    32 _g_ {00}
    33 _collection_ {}
    34 _compressedoptions_ {}
    35 _querystring_ {}
    36 _urlsafequerystring_ {}
    37 _notdetached_ {0}
    38 _istitle_ {0}
    39 
    40 _httparrowprevious_ {}
    41 _httparrownext_ {}
    42 _toc_ {}
    4346_navigationbar_ {}
    44 
    45 
    46 #######################################################################
    47 # navigation bar
     47_javaimagesnavbar_ {}
     48_javaimagescontent_ {}
     49_widthtspace_ {2}
     50
     51#######################################################################
     52# navigation bar images
    4853#
    4954#######################################################################
     
    5762# image macros for all the classifications currently supported by
    5863# this receptionist. i.e. title, author, subject, series, date,
    59 # howto, and organization
     64# howto, and organization (and search)
    6065
    6166_imagesearch_ {<a href="_httpquery_"
     
    6772}
    6873_imagesearch_[style=htmlonly] {<img src="_httpicontspace_" alt="" width="_widthtsrchx_" height="_heighttsrchx_">}
    69 _searchwidth_ {_widthtsrchx_}
    70 
    71 
    72 _imagetitle_ {<a href="_httpbrowsetitles_"
     74
     75_imageTitle_ {<a href="_httpbrowseTitle_"
    7376    onMouseover = "img\_on('titles')"
    7477    onMouseout = "img\_off('titles')"><img name="titles"
    7578        src="_httpiconttitlof_" width=_widthttitlx_ height=_heightttitlx_
    76         border=0 alt="_textimagebrowsetitles_"></a>}
    77 _imagetitle_[version=text] {<a href="_httpbrowsetitles_">_textimagebrowsetitles_</a><br>
    78 }
    79 _titlewidth_ {_widthttitlx_}
    80 
    81 
    82 _imageauthor_ {<a href="_httpbrowseauthors_"
     79        border=0 alt="_textimageTitle_"></a>}
     80_imageTitle_[version=text] {<a href="_httpbrowseTitle_">_textimageTitle_</a><br>
     81}
     82
     83_imageCreator_ {<a href="_httpbrowseCreator_"
    8384    onMouseover = "img\_on('authors')"
    8485    onMouseout = "img\_off('authors')"><img name="authors"
    8586        src="_httpicontauthof_" width=_widthtauthx_ height=_heighttauthx_
    86         border=0 alt="_textimagebrowseauthors_"></a>}
    87 _imageauthor_[version=text] {<a href="_httpbrowseauthors_">_textimagebrowseauthors_</a><br>
    88 }
    89 _authorwidth_ {_widthtauthx_}
    90 
    91 
    92 _imageseries_ {<a href="_httpbrowseseries_"
     87        border=0 alt="_textimageCreator_"></a>}
     88_imageCreator_[version=text] {<a href="_httpbrowseCreator_">_textimageCreator_</a><br>
     89}
     90
     91_imageSeries_ {<a href="_httpbrowseSeries_"
    9392    onMouseover = "img\_on('series')"
    9493    onMouseout = "img\_off('series')"><img name="series"
    9594        src="_httpicontserof_" width="_widthtserx_" height="_heighttserx_"
    96         border="0" alt="_textimagebrowseseries_"></a>}
    97 _imageseries_[version=text] {<a href="_httpbrowseseries_">_textimagebrowseseries_</a><br>
    98 }
    99 _serieswidth_ {_widthtserx_}
    100 
    101 
    102 _imagedate_ {<a href="_httpbrowsedates_"
     95        border="0" alt="_textimageSeries_"></a>}
     96_imageSeries_[version=text] {<a href="_httpbrowseSeries_">_textimageSeries_</a><br>
     97}
     98
     99_imageDate_ {<a href="_httpbrowseDate_"
    103100    onMouseover = "img\_on('dates')"
    104101    onMouseout = "img\_off('dates')"><img name="dates"
    105102        src="_httpicontdateof_" width="_widthtdatex_" height="_heighttdatex_"
    106         border="0" alt="_textimagebrowsedates_"></a>}
    107 _imagedate_[version=text] {<a href="_httpbrowsedates_">_textimagebrowsedates_</a><br>
    108 }
    109 _datewidth_ {_widthtdatex_}
    110 
    111 
    112 _imagesubject_ {<a href="_httpbrowsesubjects_"
     103        border="0" alt="_textimageDate_"></a>}
     104_imageDate_[version=text] {<a href="_httpbrowseDate_">_textimageDate_</a><br>
     105}
     106
     107_imageSubject_ {<a href="_httpbrowseSubject_"
    113108    onMouseover = "img\_on('subjects')"
    114109    onMouseout = "img\_off('subjects')"><img name="subjects"
    115110        src="_httpicontsubjof_" width="_widthtsubjx_" height="_heighttsubjx_"
    116         border="0" alt="_textimagebrowsesubjects_"></a>}
    117 _imagesubject_[version=text] {<a href="_httpbrowsesubjects_">_textimagebrowsesubjects_</a><br>
    118 }
    119 _subjectwidth_ {_widthtsubjx_}
    120 
    121 
    122 _imageorganization_ {<a href="_httpbrowseorg_"
     111        border="0" alt="_textimageSubject_"></a>}
     112_imageSubject_[version=text] {<a href="_httpbrowseSubject_">_textimageSubject_</a><br>
     113}
     114
     115_imageOrganization_ {<a href="_httpbrowseOrganization_"
    123116    onMouseover = "img\_on('org')"
    124117    onMouseout = "img\_off('org')"><img name="org"
    125118        src="_httpicontorgof_" width="_widthtorgx_" height="_heighttorgx_"
    126         border="0" alt="_textimagebrowseorg_"></a>}
    127 _imageorganization_[version=text] {<a href="_httpbrowseorg_">_textimagebrowseorg_</a><br>
    128 }
    129 _organizationwidth_ {_widthtorgx_}
    130 
    131 
    132 _imagehowto_ {<a href="_httpbrowsehow_"
     119        border="0" alt="_textimageOrganization_"></a>}
     120_imageOrganization_[version=text] {<a href="_httpbrowseOrganization_">_textimageOrganization_</a><br>
     121}
     122
     123_imageHowto_ {<a href="_httpbrowseHowto_"
    133124    onMouseover = "img\_on('how')"
    134125    onMouseout = "img\_off('how')"><img name="how"
    135126        src="_httpiconthowof_" width="_widththowx_" height="_heightthowx_"
    136         border="0" alt="_textimagebrowsehow_"></a>}
    137 _imagehowto_[version=text] {<a href="_httpbrowsehow_">_textimagebrowsehow_</a><br>
    138 }
    139 _howtowidth_ {_widththowx_}
    140 
    141 
    142 #######################################################################
    143 # scripts
     127        border="0" alt="_textimageHowto_"></a>}
     128_imageHowto_[version=text] {<a href="_httpbrowseHowto_">_textimageHowto_</a><br>
     129}
     130
     131
     132#######################################################################
     133# java images/scripts
    144134#######################################################################
    145135
    146136# the _javalinks_ macros are the flashy image links at the top right of
    147 # the page. this macro should be overridden for those collections/pages
    148 # needing links different from the default (i.e. about, home, help,
    149 # and preferences.
     137# the page.
    150138
    151139_javalinks_ {_imageabout__imagehome__imagehelp__imagepref_}
     
    157145}
    158146
     147# the javaimages macros contain the javascript code required
     148# by each flashy javascript image. _javaimagesheader_ contains those
     149# images at the top right of the page, _javaimagesnavbar_ (set
     150# from within the server) contains those images in the navigation bar,
     151# and _javaimagescontent_ (also set in server) contains any other
     152# javascript images that occur in the page.
    159153# the javaimages macros should contain _javaX_ macros for each javascript
    160154# image link within the page.
    161155
    162 # those java image links appearing at top right of page
    163156_javaimagesheader_ {_javaabout__javahome__javahelp__javapref_}
    164157_javaimagesheader_ [version=text] {}
    165 
    166 # those java image links appearing in navigation bar
    167 # this macro should be set when the navigation bar is set
    168 # up at runtime
    169 _javaimagesnavbar_ {}
    170 
    171 # any other java image links appearing in page
    172 _javaimagescontent_ {}
    173158
    174159_javaabout_ {
     
    207192}
    208193
    209 _javatitle_ {
     194_javaTitle_ {
    210195    titles\_on = new Image(_widthttitlx_, _heightttitlx_);
    211196    titles\_on.src = "_httpiconttitlon_";
     
    214199}
    215200
    216 _javaauthor_ {
     201_javaCreator_ {
    217202    authors\_on = new Image(_widthtauthx_, _heighttauthx_);
    218203    authors\_on.src = "_httpicontauthon_";
     
    221206}
    222207
    223 _javaseries_ {
     208_javaSeries_ {
    224209    series\_on = new Image(_widthtserx_, _heighttserx_);         
    225210    series\_on.src = "_httpicontseron_";
     
    228213}
    229214
    230 _javadate_ {
     215_javaDate_ {
    231216    dates\_on = new Image(_widthtdatex_, _heighttdatex_);         
    232217    dates\_on.src = "_httpicontdateon_";
     
    235220}
    236221
    237 _javasubject_ {
     222_javaSubject_ {
    238223    subjects\_on = new Image(_widthtsubjx_, _heighttsubjx_);         
    239224    subjects\_on.src = "_httpicontsubjon_";
     
    242227}
    243228
    244 _javahowto_ {
     229_javaHowto_ {
    245230    how\_on = new Image(_widththowx_, _heightthowx_);         
    246231    how\_on.src = "_httpiconthowon_";
     
    249234}
    250235
    251 _javaorganization_ {
     236_javaOrganization_ {
    252237    org\_on = new Image(_widthtorgx_, _heighttorgx_);         
    253238    org\_on.src = "_httpicontorgon_";
     
    291276}
    292277
     278_javahighlighting_ {
     279    hl\_on = new Image(_widthehlx_, _heightehlx_);
     280    hl\_on.src = "_httpiconehlon_";
     281    hl\_off = new Image(_widthehlx_, _heightehlx_);
     282    hl\_off.src = "_httpiconehlof_";
     283}
     284
     285_javanohighlighting_ {
     286    nhl\_on = new Image(_widthenhlx_, _heightenhlx_);
     287    nhl\_on.src = "_httpiconenhlon_";
     288    nhl\_off = new Image(_widthenhlx_, _heightenhlx_);
     289    nhl\_off.src = "_httpiconenhlof_";
     290}
     291
    293292_javacontinue_ {
    294293    cont\_on = new Image(_widthcontx_, _heightcontx_);
     
    311310
    312311_linkotherversion_ {
    313 <a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&v=1&g=_g_">
     312<a href="_httpcurrentdocument_&v=1">
    314313_textgotext_
    315314</a>
     
    317316
    318317_linkotherversion_[version=text] {
    319 <a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&v=0&g=_g_">
     318<a href="_httpcurrentdocument_&v=0">
    320319_textgographics_
    321320</a>
     
    323322
    324323_linkotherlanguage_ {
    325 <a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&l=mi&g=_g_">
     324<a href="_httpcurrentdocument_&l=mi">
    326325_textgomaori_
    327326</a>
     
    329328
    330329_linkotherlanguage_[language=mi] {
    331 <a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&l=e&g=_g_">
     330<a href="_httpcurrentdocument_&l=e">
    332331_textgoenglish_
    333332</a>
     
    345344_httpcollection_{_httpprefix_/collect/_collection_}
    346345
    347 _httppagex_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=p&p=_1_}
     346_httppagex_ {_gwcgi_?e=_compressedoptions_&a=p&p=_1_}
    348347_httppageabout_ {_httppagex_(about)}
    349348_httppagehome_ {_httppagex_(home)}
     
    353352_httpgreenstone_ {_httppagex_(gsdl)}
    354353
    355 
    356 _httpquery_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=q}
    357 _httpqueryresults_ {_httpquery_}
    358 _httpbrowse_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=b}
    359 _httptext_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=t}
    360 _httpbrowsetitles_ {_httpbrowse_&d=T.1}
    361 _httpbrowseauthors_ {_httpbrowse_&d=A.1}
    362 _httpbrowseseries_ {_httpbrowse_&d=C.1}
    363 _httpbrowsedates_ {_httpbrowse_&d=D.1}
     354_httpcurrentdocument_ {_gwcgi_?e=_compressedoptions_&cl=_cgiargcl_&d=_cgiargd_}
     355_httpquery_ {_gwcgi_?e=_compressedoptions_&a=q}
     356_httpdocument_ {_gwcgi_?e=_compressedoptions_&a=d}
    364357
    365358_httpiconchalk_ {_httpimg_/chalk.gif}
     
    408401_httpiconeallton_ {_httpimg_/eallton.gif}
    409402_httpiconeallton_ [language=mi] {_httpimg_/meallton.gif}
    410 _widthealltx_ {44}
    411 _widthealltx_ [language=mi] {40}
     403_widthealltx_ {46}
     404_widthealltx_ [language=mi] {42}
    412405_heightealltx_ {30}
    413406
    414407_httpiconeconcof_ {_httpimg_/econcof.gif}
    415408_httpiconeconcon_ {_httpimg_/econcon.gif}
    416 _widtheconcx_ {65}
     409_widtheconcx_ {63}
    417410_heighteconcx_ {30}
    418411
     
    421414_httpiconedtchon_ {_httpimg_/edtchon.gif}
    422415_httpiconedtchon_ [language=mi] {_httpimg_/medtchon.gif}
    423 _widthedtchx_ {45}
    424 _widthedtchx_ [language=mi] {54}
     416_widthedtchx_ {47}
     417_widthedtchx_ [language=mi] {56}
    425418_heightedtchx_ {30}
    426419
    427420_httpiconeexpcof_ {_httpimg_/eexpcof.gif}
    428421_httpiconeexpcon_ {_httpimg_/eexpcon.gif}
    429 _widtheexpcx_ {62}
     422_widtheexpcx_ {60}
    430423_heighteexpcx_ {30}
    431424
     
    434427_httpiconetsecon_ {_httpimg_/etsecon.gif}
    435428_httpiconetsecon_ [language=mi] {_httpimg_/metsecon.gif}
    436 _widthetsecx_ {61}
    437 _widthetsecx_ [language=mi] {51}
     429_widthetsecx_ {63}
     430_widthetsecx_ [language=mi] {53}
    438431_heightetsecx_ {30}
     432
     433_httpiconehlof_ {_httpimg_/ehlof.gif}
     434_httpiconehlon_ {_httpimg_/ehlon.gif}
     435_widthehlx_ {53}
     436_heightehlx_ {30}
     437
     438_httpiconenhlof_ {_httpimg_/enhlof.gif}
     439_httpiconenhlon_ {_httpimg_/enhlon.gif}
     440_widthenhlx_ {57}
     441_heightenhlx_ {30}
    439442
    440443_httpicongsdl_ {_httpimg_/gsdl.gif}
     
    449452_widthhhelp_ {200}
    450453_heighthhelp_ {57}
    451 
    452 _httpiconhsearch_ {_httpimg_/h\_search.gif}
    453 _httpiconhsearch_ [language=mi] {_httpimg_/mh\_srch.gif}
    454 _widthhsearch_ {200}
    455 _heighthsearch_ {57}
    456454
    457455_httpiconitext_ {_httpimg_/itext.gif}
     
    551549
    552550_httpicontspace_ {_httpimg_/tspace.gif}
    553 # _widthtspace_ is set from server
    554 _widthtspace_ {}
    555 #_widthtspace_ {138}
    556 #_widthtspace_ [language=mi] {85}
    557 #_widthtspace2_ {115}
    558551_heighttspace_ {17}
    559552
     
    605598#######################################################################
    606599
    607 _iconmore_{<img src="_httpiconmore_" align=absbottom
    608 width="_widthmore_" height="_heightmore_" border="0" alt="_textnext_">}
    609 _iconmore_[version=text] {_textnext2_}
    610 
    611 _iconalphmore_{<img src="_httpiconmore_" align=absbottom
    612 width="_widthmore_" height="_heightmore_" border="0" alt="_textnext3_">}
    613 _iconalphmore_[version=text] {_textnext4_}
    614 
    615600_iconnext_{<img src="_httpiconmore_" align=absbottom
    616 width="_widthmore_" height="_heightmore_" border="0">}
    617 _iconnext_[version=text] {}
    618 
    619 _iconless_{<img src="_httpiconless_" align=absbottom
    620 width="_widthless_" height="_heightless_" border="0" alt="_textprev_">}
    621 _iconless_[version=text] {_textprev2_}
    622 
    623 _iconalphless_{<img src="_httpiconless_" align=absbottom
    624 width="_widthless_" height="_heightless_" border="0" alt="_textprev3_">}
    625 _iconalphless_[version=text] {_textprev4_}
     601width=_widthmore_ height=_heightmore_ border=0 alt="_texticonnext_">}
     602_iconnext_[version=text] {_texticonnext_}
    626603
    627604_iconprev_{<img src="_httpiconless_" align=absbottom
    628 width="_widthless_" height="_heightless_" border="0">}
    629 _iconprev_[version=text] {}
     605width=_widthless_ height=_heightless_ border=0 alt="_texticonprev_">}
     606_iconprev_[version=text] {_texticonprev_}
    630607
    631608_icontabsearchgreen_ {<img
     
    633610_icontabsearchgreen_[version=text] {_texticontabsearchgreen_}
    634611
    635 _icontabtitlegreen_ {<img
     612_icontabTitlegreen_ {<img
    636613src="_httpiconttitlgr_" height=_heightttitlx_ width=_widthttitlx_ alt="_texticontabtitlegreen_" border=0>}
    637 _icontabtitlegreen_[version=text] {_texticontabtitlegreen_}
    638 
    639 _icontabauthorgreen_ {<img
     614_icontabTitlegreen_[version=text] {_texticontabtitlegreen_}
     615
     616_icontabCreatorgreen_ {<img
    640617src="_httpicontauthgr_" height=_heighttauthx_ width=_widthtauthx_ alt="_texticontabauthorgreen_" border=0>}
    641 _icontabauthorgreen_[version=text] {_texticontabauthorgreen_}
    642 
    643 _icontabseriesgreen_ {<img
    644 src="_httpicontsergr_" height="_heighttserx_" width="_widthtserx_" alt="_texticontabseriesgreen_" border="0">}
    645 _icontabseriesgreen_[version=text] {_texticontabseriesgreen_}
    646 
    647 _icontabdategreen_ {<img
    648 src="_httpicontdategr_" height="_heighttdatex_" width="_widthtdatex_" alt="_texticontabdategreen_" border="0">}
    649 _icontabdategreen_[version=text] {_texticontabdategreen_}
    650 
    651 _icontabsubjectgreen_ {<img
    652 src="_httpimg_/tsubjgr.gif" height="17" width="87" alt="_texticontabsubjectgreen_" border="0">}
    653 _icontabsubjectgreen_[version=text] {_texticontabsubjectgreen_}
    654 
    655 _icontabhowtogreen_ {<img
    656 src="_httpimg_/thowgr.gif" height="17" width="87" alt="_texticontabhowgreen_" border="0">}
    657 _icontabhowtogreen_[version=text] {_texticontabhowgreen_}
    658 
    659 _icontaborganizationgreen_ {<img
    660 src="_httpimg_/torggr.gif" height="17" width="109" alt="_texticontaborggreen_" border="0">}
    661 _icontaborganizationgreen_[version=text] {_texticontaborggreen_}
    662 
    663 _iconblankbar_ {<center><img src="_httpicondivb_" width="_widthdivb_" height="_heightdivb_"></center>}
     618_icontabCreatorgreen_[version=text] {_texticontabauthorgreen_}
     619
     620_icontabSeriesgreen_ {<img
     621src="_httpicontsergr_" height=_heighttserx_ width=_widthtserx_ alt="_texticontabseriesgreen_" border=0>}
     622_icontabSeriesgreen_[version=text] {_texticontabseriesgreen_}
     623
     624_icontabDategreen_ {<img
     625src="_httpicontdategr_" height=_heighttdatex_ width=_widthtdatex_ alt="_texticontabdategreen_" border=0>}
     626_icontabDategreen_[version=text] {_texticontabdategreen_}
     627
     628_icontabSubjectgreen_ {<img
     629src="_httpicontsubjgr_" height=_heighttsubjx_ width=widthtsubjx_ alt="_texticontabsubjectgreen_" border=0>}
     630_icontabSubjectgreen_[version=text] {_texticontabsubjectgreen_}
     631
     632_icontabHowtogreen_ {<img
     633src="_httpiconthowgr_" height=_heightthowgr_ width=_widththowgr_ alt="_texticontabhowgreen_" border=0>}
     634_icontabHowtogreen_[version=text] {_texticontabhowgreen_}
     635
     636_icontabOrganizationgreen_ {<img
     637src="_httpicontorggr_" height=_heighttorggr_ width=_widthtorggr_ alt="_texticontaborggreen_" border=0>}
     638_icontabOrganizationgreen_[version=text] {_texticontaborggreen_}
     639
     640_iconblankbar_ {<center><img src="_httpicondivb_" width=_widthdivb_ height=_heightdivb_></center>}
    664641_iconblankbar_[version=text] {<br><hr><br>}
    665642
    666 _icontext_ {<img border=0 align=absmiddle src="_httpiconitext_" width="_widthitext_" height="_heightitext_" alt="_texticontext_">}
     643_icontext_ {<img border=0 align=absmiddle src="_httpiconitext_" width=_widthitext_ height=_heightitext_ alt="_texticontext_">}
    667644_icontext_[version=text] {_texticontext_}
    668645
    669 _iconsmalltext_ {<img src="_httpiconsmtext_" border="0" width="_widthsmtext_" height="_heightsmtext_" alt="_texticonsmalltext_">}
     646_iconsmalltext_ {<img src="_httpiconsmtext_" border=0 width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_">}
    670647_iconsmalltext_ [version=text] {<small><b>_texticonsmalltext2_</b></small>}
    671648
    672 _iconclosedfolder_ {<img src="_httpiconclsdfldr_" border="0" width="_widthclsdfldr_" height="_heightclsdfldr_" alt="_texticonclosedfolder_">}
     649_iconclosedfolder_ {<img src="_httpiconclsdfldr_" border=0 width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_">}
    673650_iconclosedfolder_ [version=text] {<small><b>_texticonclosedfolder2_</b></small>}
    674651
    675 _iconopenfolder_ {<img src="_httpiconopenfldr_" border="0" width="_widthopenfldr_" height="_heightopenfldr_" alt="_texticonopenfolder_">}
     652_iconopenfolder_ {<img src="_httpiconopenfldr_" border=0 width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_">}
    676653_iconopenfolder_ [version=text] {<small><b>_texticonopenfolder2_</b></small>}
    677654
     
    679656_iconclosedbook_ [version=text] {<small><b>_texticonclosedbook_: </b></small>}
    680657
    681 _iconopenbook_ {<img src="_httpiconopenbook_" width="_widthopenbook_" height="_heightopenbook_" border="0" alt="_texticonopenbook_">}
     658_iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ border=0 alt="_texticonopenbook_">}
    682659_iconopenbook_ [version=text] {<small><b>_texticonopenbook_: </b></small>}
    683660
     
    685662_iconopenbookshelf_ [version=text] {<small><b>_texticonopenbookshelf_: </b></small>}
    686663
    687 _iconclosedbookshelf_ {<img src="_httpiconbshelf_" border="0" width="_widthbshelf_" height="_heightbshelf_" alt="_texticonclosedbookshelf_">}
     664_iconclosedbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_">}
    688665_iconclosedbookshelf_ [version=text] {<small><b>_texticonclosedbookshelf_: </b></small>}
    689666
     
    691668_iconpointer_ [version=text] {<small><b>_texticonpointer_-> </b></small>}
    692669
    693 _icontab_ {<img src="_httpicontabspace_" width="_widthtabspace_" height="_heighttabspace_">}
    694 
    695 _iconcontracttoc_ {<img name="concon" src="_httpiconeconcof_" width="_widtheconcx_" height="_heighteconcof_" alt="_texticoncontracttoc_" border="0">}
     670_icontab_ {<img src="_httpicontabspace_" width=_widthtabspace_ height=_heighttabspace_>}
     671
     672_iconcontracttoc_ {<img name="concon" src="_httpiconeconcof_" width=_widtheconcx_ height=_heighteconcof_ alt="_texticoncontracttoc_" border=0>}
    696673_iconcontracttoc_[version=text] {_texticoncontracttoc_}
    697674
    698 _iconexpandtoc_ {<img name="expcon" src="_httpiconeexpcof_" width="_widtheexpx_" height="_heighteexpcx_" alt="_texticonexpandtoc_" border="0">}
     675_iconexpandtoc_ {<img name="expcon" src="_httpiconeexpcof_" width=_widtheexpx_ height=_heighteexpcx_ alt="_texticonexpandtoc_" border=0>}
    699676_iconexpandtoc_[version=text] {_texticonexpandtoc_}
    700677
    701 _iconcontracttext_ {<img name="thissec" src="_httpiconetsecof_" width="_widthetsecx_" height="_heightetsecx_" alt="_texticoncontracttext_" border="0">}
     678_iconcontracttext_ {<img name="thissec" src="_httpiconetsecof_" width=_widthetsecx_ height=_heightetsecx_ alt="_texticoncontracttext_" border=0>}
    702679_iconcontracttext_[version=text] {_texticoncontracttext_}
    703680
    704 _iconexpandtext_ {<img name="alltext" src="_httpiconealltof_" width="_widthealltx_" height="_heightealltx_" alt="_texticonexpandtext_" border="0">}
     681_iconexpandtext_ {<img name="alltext" src="_httpiconealltof_" width=_widthealltx_ height=_heightealltx_ alt="_texticonexpandtext_" border=0>}
    705682_iconexpandtext_[version=text] {_texticonexpandtext_}
    706683
    707 _icondetach_ {<img name="detach" src="_httpiconedtchof_" width="_widthedtchx_" height="_heightedtchx_" alt="_texticondetach_" border="0">}
     684_icondetach_ {<img name="detach" src="_httpiconedtchof_" width=_widthedtchx_ height=_heightedtchx_ alt="_texticondetach_" border=0>}
    708685_icondetach_[version=text] {_texticondetach_}
    709686
    710 _iconwarning_ {<img src="_httpiconwarning_" width="_widthwarning_" height="_heightwarning_" border="0" align="left">}
     687_iconhighlight_ {<img name="hl" src="_httpiconehlof_" width=_widthehlx_ height=_heightehlx_ alt="_texticonhighlight_" border=0>}
     688_iconhighlight_ [version=text] {_texticonhighlight_}
     689
     690_iconnohighlight_ {<img name="nhl" src="_httpiconenhlof_" width=_widthenhlx_ height=_heightenhlx_ alt="_texticonnohighlight_" border=0>}
     691_iconnohighlight_ [version=text] {_texticonnohighlight_}
     692
     693_iconwarning_ {<img src="_httpiconwarning_" width=_widthwarning_ height=_heightwarning_ border=0 align=left>}
    711694_iconwarning_ [version=text] {_texticonwarning_}
    712695
    713 _iconcont_ {<img name="cont" src="_httpiconcontoff_" width="_widthcontx_" height="_heightcontx_" border="0">}
     696_iconcont_ {<img name="cont" src="_httpiconcontoff_" width=_widthcontx_ height=_heightcontx_ border=0>}
    714697_iconcont_ [version=text] {_texticoncont_}
    715698
    716 _iconglobhelp_ {<img src="_httpiconglob_" width="_widthglob_" height="_heightglob_" alt="_texticonglobhelp_" border="0">}
     699_iconglobhelp_ {<img src="_httpiconglob_" width=_widthglob_ height=_heightglob_ alt="_texticonglobhelp_" border=0>}
    717700_iconglobhelp_ [version=text] {_texticonglobhelp_}
    718701
     
    780763
    781764
    782 _imagedetach_ {<a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_" onMouseover = "img\_on('detach')"
     765_imagedetach_ {<a href="_httpcurrentdocument_&x=1" onMouseover = "img\_on('detach')"
    783766onMouseout = "img\_off('detach')">_icondetach_</a>}
    784 _imagedetach_[version=text] {<a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_">_texticondetach_</a><br>}
    785 
    786 _imagecontracttoc_ {" onMouseover = "img\_on('concon')"
     767_imagedetach_[version=text] {<a href="_httpcurrentdocument_&x=1">_texticondetach_</a><br>}
     768
     769_imagehighlight_ {<a href="_httpcurrentdocument_&hl=1" onMouseover = "img\_on('hl')"
     770onMouseout = "img\_off('hl')">_iconhighlight_</a>}
     771_imagehighlight_ [version=text] {<a href="_httpcurrentdocument_&hl=1">_texticonhighlight_</a><br>}
     772
     773_imagenohighlight_ {<a href="_httpcurrentdocument_&hl=0" onMouseover = "img\_on('nhl')"
     774onMouseout = "img\_off('nhl')">_iconnohighlight_</a>}
     775_imagenohighlight_ [version=text] {<a href="_httpcurrentdocument_&hl=0">_texticonnohighlight_</a><br>}
     776
     777_imagecontracttoc_ {<a href="_httpcurrentdocument_&gc=0" onMouseover = "img\_on('concon')"
    787778onMouseout = "img\_off('concon')">_iconcontracttoc_</a>}
    788 _imagecontracttoc_[version=text] {">_texticoncontracttoc_</a><br>}
     779_imagecontracttoc_[version=text] {"<a href="_httpcurrentdocument_&gc=0">_texticoncontracttoc_</a><br>}
    789780_imagecontracttoc_[style=htmlonly] {}
    790781
    791 _imageexpandtoc_ {" onMouseover = "img\_on('expcon')"
     782_imageexpandtoc_ {<a href="_httpcurrentdocument_&gc=1" onMouseover = "img\_on('expcon')"
    792783onMouseout = "img\_off('expcon')">_iconexpandtoc_</a>}
    793 _imageexpandtoc_ [version=text] {">_texticonexpandtoc_</a><br>}
     784_imageexpandtoc_ [version=text] {"<a href="_httpcurrentdocument_&gc=1">_texticonexpandtoc_</a><br>}
    794785_imageexpandtoc_ [style=htmlonly] {}
    795786
    796 _imagecontracttext_ {0" onMouseover = "img\_on('thissec')"
     787_imagecontracttext_ {<a href="_httpcurrentdocument_&amp;gt=0" onMouseover = "img\_on('thissec')"
    797788onMouseout = "img\_off('thissec')">_iconcontracttext_</a>}
    798 _imagecontracttext_[version=text] {0">display only current section</a><br>}
     789_imagecontracttext_[version=text] {<a href="_httpcurrentdocument_&amp;gt=0">display only current section</a><br>}
    799790_imagecontracttext_[style=htmlonly] {}
    800791
    801 _imageexpandtext_ {1" onMouseover = "img\_on('alltext')"
     792_imageexpandtext_ {<a href="_httpcurrentdocument_&amp;gt=1" onMouseover = "img\_on('alltext')"
    802793onMouseout = "img\_off('alltext')">_iconexpandtext_</a>}
    803 _imageexpandtext_[version=text] {1">display all text</a><br>}
     794_imageexpandtext_[version=text] {<a href="_httpcurrentdocument_&amp;gt=1">display all text</a><br>}
    804795_imageexpandtext_[style=htmlonly] {}
    805796
     
    823814
    824815_textimagesearch_ {Search for specific terms}
    825 _textimagebrowsetitles_ {Browse alphabetical list of titles}
    826 _textimagebrowseauthors_ {Browse alphabetical list of authors}
    827 _textimagebrowseseries_ {Browse newspapers by issue}
    828 _textimagebrowsedates_ {Browse newspapers by date}
    829 _textimagebrowsesubjects_ {Browse by subject category}
    830 _textimagebrowseorg_ {Browse by organization}
    831 _textimagebrowsehow_ {Browse how to categories}
     816_textimageTitle_ {Browse alphabetical list of titles}
     817_textimageCreator_ {Browse alphabetical list of authors}
     818_textimageSeries_ {Browse by issue}
     819_textimageDate_ {Browse by date}
     820_textimageSubject_ {Browse by subject category}
     821_textimageOrganization_ {Browse by organization}
     822_textimageHowto_ {Browse how to categories}
    832823
    833824_textgotext_ {View this page in text format}
     
    855846_texticonpointer_ {current section}
    856847_texticondetach_ {Open this page in a new window}
     848_texticonhighlight_ {Highlight search terms}
     849_texticonnohighlight_ {Don't highlight search terms}
    857850_texticoncontracttoc_ {Collapse table of contents}
    858851_texticonexpandtoc_ {Expand table of contents}
     
    860853_texticoncontracttext_ {Display text only for currently selected section}
    861854_texticonglobhelp_ {Global Help Projects}
    862 
    863855_texticonwarning_ {<b>Warning: </b>}
    864856_texticoncont_ {continue?}
    865 _textnext_ {to next section of book}
    866 _textnext2_ {view next section}
    867 _textnext3_ {to next alphabetical section}
    868 _textnext4_ {next section}
    869 _textprev_ {to previous section of book}
    870 _textprev2_ {view previous section}
    871 _textprev3_ {to previous alphabetical section}
    872 _textprev4_ {previous section}
     857_texticonnext_ {to next section}
     858_texticonprev_ {to previous section}
    873859
    874860_page_ {page}
     
    930916_texticonexpandtext_ [language=mi] {Titiro ki ng&auml; kupu katoa o t&euml;nei niupepa}
    931917_texticoncontracttext_ [language=mi] {Titiro ki ng&auml; kupu o t&euml;nei wh&auml;rangi anake}
    932 _textnext_ [language=mi] {titiro ki te wh&auml;rangi o muri}
    933 _textprev_ [language=mi] {titiro ki te wh&auml;rangi o mua}
     918_texticonnext_ [language=mi] {titiro ki te wh&auml;rangi o muri}
     919_texticonprev_ [language=mi] {titiro ki te wh&auml;rangi o mua}
    934920_texticontext_ [language=mi] {Tirohia te wh&auml;rangi}
    935921_texticonopenbookshelf_ [language=mi] {k&auml;tia}
  • trunk/gsdl/macros/query.dm

    r180 r258  
    2929_widthiconthispage_ {_widthiconhsearch_}
    3030_heighticonthispage_ {_heighticonhsearch_}
     31
     32_httpiconhsearch_ {_httpimg_/h\_search.gif}
     33_httpiconhsearch_ [language=mi] {_httpimg_/mh\_srch.gif}
     34_widthhsearch_ {200}
     35_heighthsearch_ {57}
    3136
    3237
Note: See TracChangeset for help on using the changeset viewer.