Ignore:
Timestamp:
1999-06-24T17:11:41+12:00 (25 years ago)
Author:
sjboddie
Message:

lots more changes

File:
1 edited

Legend:

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

    r276 r283  
    55#######################################################################
    66
     7
     8_random_ {rand}
    79_classificationlinks_ {}
    810_imagethispage_ {}
    911_httpprevarrow_ {}
    1012_httpnextarrow_ {}
     13_pagetitle_ {}
    1114
    1215#######################################################################
     
    2225_classificationlinks_
    2326</center>
     27}
     28
     29
     30#######################################################################
     31# javascript macros
     32#
     33# there should be one of these for each flashy javascript button
     34# that may appear within a document page
     35#######################################################################
     36
     37_javadetach_ {
     38    detach\_on = new Image(_widthedtchx_, _heightedtchx_);
     39    detach\_on.src = "_httpiconedtchon_";
     40    detach\_off = new Image(_widthedtchx_, _heightedtchx_);
     41    detach\_off.src = "_httpiconedtchof_";
     42}
     43
     44_javaexpandcontents_ {
     45    expcon\_on = new Image(_widtheexpcx_, _heighteexpcx_);
     46    expcon\_on.src = "_httpiconeexpcon_";
     47    expcon\_off = new Image(_widtheexpcx_, _heighteexpcx_);
     48    expcon\_off.src = "_httpiconeexpcof_";
     49}
     50
     51_javacontractcontents_ {
     52    concon\_on = new Image(_widtheconcx_, _heighteconcx_);
     53    concon\_on.src = "_httpiconeconcon_";
     54    concon\_off = new Image(_widtheconcx_, _heighteconcx_);
     55    concon\_off.src = "_httpiconeconcof_";
     56}
     57
     58_javaexpandtext_ {
     59    alltext\_on = new Image(_widthealltx_, _heightealltx_);
     60    alltext\_on.src = "_httpiconeallton_";
     61    alltext\_off = new Image(_widthealltx_, _heightealltx_);
     62    alltext\_off.src = "_httpiconealltof_";
     63}
     64
     65_javacontracttext_ {
     66    thissec\_on = new Image(_widthetsecx_, _heightetsecx_);
     67    thissec\_on.src = "_httpiconetsecon_";
     68    thissec\_off = new Image(_widthetsecx_, _heightetsecx_);
     69    thissec\_off.src = "_httpiconetsecof_";
     70}
     71
     72_javahighlighting_ {
     73    hl\_on = new Image(_widthehlx_, _heightehlx_);
     74    hl\_on.src = "_httpiconehlon_";
     75    hl\_off = new Image(_widthehlx_, _heightehlx_);
     76    hl\_off.src = "_httpiconehlof_";
     77}
     78
     79_javanohighlighting_ {
     80    nhl\_on = new Image(_widthenhlx_, _heightenhlx_);
     81    nhl\_on.src = "_httpiconenhlon_";
     82    nhl\_off = new Image(_widthenhlx_, _heightenhlx_);
     83    nhl\_off.src = "_httpiconenhlof_";
     84}
     85
     86_javacontinue_ {
     87    cont\_on = new Image(_widthcontx_, _heightcontx_);
     88    cont\_on.src = "_httpiconconton_";
     89    cont\_off = new Image(_widthcontx_, _heightcontx_);
     90    cont\_off.src = "_httpiconcontoff_";
    2491}
    2592
     
    62129
    63130#######################################################################
    64 # images
     131# icons
    65132#######################################################################
    66133
     
    72139_iconTitlepage_ [version=text] {<h2>_texticonhtitle_</h2>}
    73140
     141_iconListpage_ {<img src="_httpiconhlist_" width=_widthhlist_
     142height=_heighthlist_}
     143_iconListpage_ [version=text] {<h2>_texticonhlist_</h2>}
     144
    74145_iconCreatorpage_ {<img src="_httpiconhauth_" width=_widthhauth_
    75146height=_heighthauth_}
     
    96167_iconOrganizationpage_ [version=text] {<h2>_texticonhorg_</h2>}
    97168
     169
     170_iconsmalltext_ {<img src="_httpiconsmtext_" border=0 width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_">}
     171_iconsmalltext_ [version=text] {<small><b>_texticonsmalltext2_</b></small>}
     172
     173_iconclosedfolder_ {<img src="_httpiconclsdfldr_" border=0 width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_">}
     174_iconclosedfolder_ [version=text] {<small><b>_texticonclosedfolder2_</b></small>}
     175
     176_iconopenfolder_ {<img src="_httpiconopenfldr_" border=0 width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_">}
     177_iconopenfolder_ [version=text] {<small><b>_texticonopenfolder2_</b></small>}
     178
     179_iconclosedbook_ {<img src="_httpiconbook_" width=_widthbook_ height=_heightbook_ border=0 alt="_texticonclosedbook_">}
     180_iconclosedbook_ [version=text] {<small><b>_texticonclosedbook_: </b></small>}
     181
     182_iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ border=0 alt="_texticonopenbook_">}
     183_iconopenbook_ [version=text] {<small><b>_texticonopenbook_: </b></small>}
     184
     185_iconopenbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_">}
     186_iconopenbookshelf_ [version=text] {<small><b>_texticonopenbookshelf_: </b></small>}
     187
     188_iconclosedbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_">}
     189_iconclosedbookshelf_ [version=text] {<small><b>_texticonclosedbookshelf_: </b></small>}
     190
     191_iconpointer_ {<img src="_httpiconarrrght_" border=0 width=_widtharrrght_ height=_heightarrrght_>}
     192_iconpointer_ [version=text] {<small><b>_texticonpointer_-> </b></small>}
     193
     194_icontab_ {<img src="_httpicontabspace_" width=_widthtabspace_ height=_heighttabspace_>}
     195
     196_iconcontracttoc_ {<img name="concon" src="_httpiconeconcof_" width=_widtheconcx_ height=_heighteconcof_ alt="_texticoncontracttoc_" border=0>}
     197_iconcontracttoc_[version=text] {_texticoncontracttoc_}
     198
     199_iconexpandtoc_ {<img name="expcon" src="_httpiconeexpcof_" width=_widtheexpx_ height=_heighteexpcx_ alt="_texticonexpandtoc_" border=0>}
     200_iconexpandtoc_[version=text] {_texticonexpandtoc_}
     201
     202_iconcontracttext_ {<img name="thissec" src="_httpiconetsecof_" width=_widthetsecx_ height=_heightetsecx_ alt="_texticoncontracttext_" border=0>}
     203_iconcontracttext_[version=text] {_texticoncontracttext_}
     204
     205_iconexpandtext_ {<img name="alltext" src="_httpiconealltof_" width=_widthealltx_ height=_heightealltx_ alt="_texticonexpandtext_" border=0>}
     206_iconexpandtext_[version=text] {_texticonexpandtext_}
     207
     208_icondetach_ {<img name="detach" src="_httpiconedtchof_" width=_widthedtchx_ height=_heightedtchx_ alt="_texticondetach_" border=0>}
     209_icondetach_[version=text] {_texticondetach_}
     210
     211_iconhighlight_ {<img name="hl" src="_httpiconehlof_" width=_widthehlx_ height=_heightehlx_ alt="_texticonhighlight_" border=0>}
     212_iconhighlight_ [version=text] {_texticonhighlight_}
     213
     214_iconnohighlight_ {<img name="nhl" src="_httpiconenhlof_" width=_widthenhlx_ height=_heightenhlx_ alt="_texticonnohighlight_" border=0>}
     215_iconnohighlight_ [version=text] {_texticonnohighlight_}
     216
     217_iconwarning_ {<img src="_httpiconwarning_" width=_widthwarning_ height=_heightwarning_ border=0 align=left>}
     218_iconwarning_ [version=text] {_texticonwarning_}
     219
     220_iconcont_ {<img name="cont" src="_httpiconcontoff_" width=_widthcontx_ height=_heightcontx_ border=0>}
     221_iconcont_ [version=text] {_texticoncont_}
     222
     223
     224#######################################################################
     225# images
     226#######################################################################
     227
     228_imagedetach_ {<a href="_httpcurrentdocument_&x=1" target=_random_ onMouseover = "img\_on('detach')"
     229onMouseout = "img\_off('detach')">_icondetach_</a>}
     230_imagedetach_[version=text] {<a href="_httpcurrentdocument_&x=1" target=_random_>_texticondetach_</a><br>}
     231
     232_imagehighlight_ {<a href="_httpcurrentdocument_&hl=1" onMouseover = "img\_on('hl')"
     233onMouseout = "img\_off('hl')">_iconhighlight_</a>}
     234_imagehighlight_ [version=text] {<a href="_httpcurrentdocument_&hl=1">_texticonhighlight_</a><br>}
     235
     236_imagenohighlight_ {<a href="_httpcurrentdocument_&hl=0" onMouseover = "img\_on('nhl')"
     237onMouseout = "img\_off('nhl')">_iconnohighlight_</a>}
     238_imagenohighlight_ [version=text] {<a href="_httpcurrentdocument_&hl=0">_texticonnohighlight_</a><br>}
     239
     240_imagecontracttoc_ {<a href="_httpcurrentdocument_&gc=0" onMouseover = "img\_on('concon')"
     241onMouseout = "img\_off('concon')">_iconcontracttoc_</a>}
     242_imagecontracttoc_[version=text] {"<a href="_httpcurrentdocument_&gc=0">_texticoncontracttoc_</a><br>}
     243_imagecontracttoc_[style=htmlonly] {}
     244
     245_imageexpandtoc_ {<a href="_httpcurrentdocument_&gc=1" onMouseover = "img\_on('expcon')"
     246onMouseout = "img\_off('expcon')">_iconexpandtoc_</a>}
     247_imageexpandtoc_ [version=text] {"<a href="_httpcurrentdocument_&gc=1">_texticonexpandtoc_</a><br>}
     248_imageexpandtoc_ [style=htmlonly] {}
     249
     250_imagecontracttext_ {<a href="_httpcurrentdocument_&amp;gt=0" onMouseover = "img\_on('thissec')"
     251onMouseout = "img\_off('thissec')">_iconcontracttext_</a>}
     252_imagecontracttext_[version=text] {<a href="_httpcurrentdocument_&amp;gt=0">display only current section</a><br>}
     253_imagecontracttext_[style=htmlonly] {}
     254
     255_imageexpandtext_ {<a href="_httpcurrentdocument_&amp;gt=1" onMouseover = "img\_on('alltext')"
     256onMouseout = "img\_off('alltext')">_iconexpandtext_</a>}
     257_imageexpandtext_[version=text] {<a href="_httpcurrentdocument_&amp;gt=1">display all text</a><br>}
     258_imageexpandtext_[style=htmlonly] {}
     259
     260_imagecont_ {<a href="_httpcurrentdocument_&amp;gt=2" onMouseover = "img\_on('cont')"
     261onMouseout = "img\_off('cont')">_iconcont_</a>}
     262_imagecont_[version=text] {<a href="_httpcurrentdocument&amp;gt=2">_texticoncont_</a><br>}
     263
     264
    98265#######################################################################
    99266# https
     267#
     268# These contain the url without any quotes
    100269#######################################################################
    101270
     
    103272_widthhtitle_ {200}
    104273_heighthtitle_ {57}
     274
     275_httpiconhlist_ {_httpimg_/h\_list.gif}
     276_widthhlist_ {200}
     277_heighthlist_ {57}
    105278
    106279_httpiconhauth_ {_httpimg_/h\_auth.gif}
     
    131304_heighthorg_ {57}
    132305
     306_httpiconsmtext_ {_httpimg_/smtext.gif}
     307_widthsmtext_ {23}
     308_heightsmtext_ {15}
     309
     310_httpiconclsdfldr_ {_httpimg_/clsdfldr.gif}
     311_widthclsdfldr_ {23}
     312_heightclsdfldr_ {15}
     313
     314_httpiconcontoff_ {_httpimg_/contoff.gif}
     315_httpiconconton_ {_httpimg_/conton.gif}
     316_widthcontx_ {76}
     317_heightcontx_ {17}
     318
     319_httpiconealltof_ {_httpimg_/ealltof.gif}
     320_httpiconealltof_ [language=mi] {_httpimg_/mealltof.gif}
     321_httpiconeallton_ {_httpimg_/eallton.gif}
     322_httpiconeallton_ [language=mi] {_httpimg_/meallton.gif}
     323_widthealltx_ {46}
     324_widthealltx_ [language=mi] {42}
     325_heightealltx_ {30}
     326
     327_httpiconeconcof_ {_httpimg_/econcof.gif}
     328_httpiconeconcon_ {_httpimg_/econcon.gif}
     329_widtheconcx_ {63}
     330_heighteconcx_ {30}
     331
     332_httpiconedtchof_ {_httpimg_/edtchof.gif}
     333_httpiconedtchof_ [language=mi] {_httpimg_/medtchof.gif}
     334_httpiconedtchon_ {_httpimg_/edtchon.gif}
     335_httpiconedtchon_ [language=mi] {_httpimg_/medtchon.gif}
     336_widthedtchx_ {47}
     337_widthedtchx_ [language=mi] {56}
     338_heightedtchx_ {30}
     339
     340_httpiconeexpcof_ {_httpimg_/eexpcof.gif}
     341_httpiconeexpcon_ {_httpimg_/eexpcon.gif}
     342_widtheexpcx_ {60}
     343_heighteexpcx_ {30}
     344
     345_httpiconetsecof_ {_httpimg_/etsecof.gif}
     346_httpiconetsecof_ [language=mi] {_httpimg_/metsecof.gif}
     347_httpiconetsecon_ {_httpimg_/etsecon.gif}
     348_httpiconetsecon_ [language=mi] {_httpimg_/metsecon.gif}
     349_widthetsecx_ {63}
     350_widthetsecx_ [language=mi] {53}
     351_heightetsecx_ {30}
     352
     353_httpiconehlof_ {_httpimg_/ehlof.gif}
     354_httpiconehlon_ {_httpimg_/ehlon.gif}
     355_widthehlx_ {53}
     356_heightehlx_ {30}
     357
     358_httpiconenhlof_ {_httpimg_/enhlof.gif}
     359_httpiconenhlon_ {_httpimg_/enhlon.gif}
     360_widthenhlx_ {57}
     361_heightenhlx_ {30}
     362
    133363
    134364#######################################################################
     
    165395# English language text macros
    166396#######################################################################
     397
     398_textTitlepage_ {_texticonhtitle_}
     399_textCreatorpage_ {_texticonhauth_}
     400_textSubjectpage_ {_texticonhsubj_}
     401_textSeriespage_ {_texticonhser_}
     402_textDatespage_ {_texticonhdate_}
     403_textHowtopage_ {_texticonhhow_}
     404_textOrganizationpage_ {_texticonhorg_}
    167405
    168406_texticonhtitle_ {Titles A-Z}
     
    174412_texticonhorg_ {Organizations}
    175413
     414_texticonopenbookshelf_ {close this section of the library}
     415_texticonclosedbookshelf_ {open this section of the library and view contents}
     416_texticonclosedbook_ {open this book and view contents}
     417_texticonopenbook_ {close this book}
     418_texticonclosedfolder_ {Open this folder and view contents}
     419_texticonclosedfolder2_ {open sub-section: }
     420_texticonopenfolder_ {close this folder}
     421_texticonopenfolder2_ {close sub-section: }
     422_texticonsmalltext_ {View this section of the text}
     423_texticonsmalltext2_ {view text: }
     424_texticonpointer_ {current section}
     425_texticondetach_ {Open this page in a new window}
     426_texticonhighlight_ {Highlight search terms}
     427_texticonnohighlight_ {Don't highlight search terms}
     428_texticoncontracttoc_ {Collapse table of contents}
     429_texticonexpandtoc_ {Expand table of contents}
     430_texticonexpandtext_ {Display all text}
     431_texticoncontracttext_ {Display text only for currently selected section}
     432_texticonwarning_ {<b>Warning: </b>}
     433_texticoncont_ {continue?}
     434
     435_textltwarning_ {
     436<p><center>
     437<table cellspacing=0 cellpadding=0 width=_pagewidth_>
     438<tr valign=top><td>_iconwarning_Expanding the text here will generate a large
     439amount of data for your browser to display _imagecont_
     440</td></tr></table></center>
     441}
     442
     443
     444#######################################################################
     445# Maori text macros
     446#######################################################################
     447
     448_texticondetach_ [language=mi] {Huakina mai he matapihi hou m&ouml; t&euml;nei k&ouml;rero}
     449_texticonexpandtext_ [language=mi] {Titiro ki ng&auml; kupu katoa o t&euml;nei niupepa}
     450_texticoncontracttext_ [language=mi] {Titiro ki ng&auml; kupu o t&euml;nei wh&auml;rangi anake}
     451_texticonopenbookshelf_ [language=mi] {k&auml;tia}
     452_texticonclosedbookshelf_ [language=mi] {whakat&uuml;whera mai}
     453_texticonclosedbook_ [language=mi] {whakat&uuml;whera mai}
     454_texticonopenbook_ [language=mi] {k&auml;tia}
     455_texticonpointer_ [language=mi] {w&auml;hanga e tiro ana}
Note: See TracChangeset for help on using the changeset viewer.