Changeset 1207


Ignore:
Timestamp:
2000-06-13T11:58:57+12:00 (24 years ago)
Author:
gwp
Message:

Macros added to generate navbar buttons and titles for "To"
and "From" metadata. These fields are used in EMAILplug.

Location:
trunk/gsdl/macros
Files:
3 edited

Legend:

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

    r1196 r1207  
    5050_Datewidth_ {_widthtdatex_}
    5151_Subjectwidth_ {_widthtsubjx_}
     52_Towidth_ {_widthttox_}
     53_Fromwidth_ {_widthtfromx_}
    5254_Organizationwidth_ {_widthtorgx_}
    5355_Howtowidth_ {_widththowx_}
     
    9193# this receptionist. i.e. title, author, subject, series, date,
    9294# howto, and organization (and search)
     95#
     96# image macros for to and from added by gwp on 2000 june 13
    9397
    9498_imagesearch_ {<a href="_httpquery_"
     
    138142        border="0" alt="_textimageSubject_"></a>}
    139143_imageSubject_[v=1] {<a href="_httpbrowseSubject_">_textimageSubject_</a><br>
     144}
     145
     146_imageTo_ {<a href="_httpbrowseTo_"
     147    onMouseover = "img\_on('to')"
     148    onMouseout = "img\_off('to')"><img name="to"
     149        src="_httpiconttoof_" width="_widthttox_" height="_heightttox_"
     150        border="0" alt="_textimageTo_"></a>}
     151_imageTo_[v=1] {<a href="_httpbrowseTo_">_textimageTo_</a><br>
     152}
     153
     154_imageFrom_ {<a href="_httpbrowseFrom_"
     155    onMouseover = "img\_on('from')"
     156    onMouseout = "img\_off('from')"><img name="from"
     157        src="_httpicontfromof_" width="_widthtfromx_" height="_heighttfromx_"
     158        border="0" alt="_textimageFrom_"></a>}
     159_imageFrom_[v=1] {<a href="_httpbrowseFrom_">_textimageFrom_</a><br>
    140160}
    141161
     
    284304}
    285305
     306_javaTo_ {
     307    to\_on = new Image(_widthttox_, _heightttox_);         
     308    to\_on.src = "_httpiconttoon_";
     309    to\_off = new Image(_widthttox_, _heightttox_);         
     310    to\_off.src = "_httpiconttoof_";           
     311}
     312
     313_javaFrom_ {
     314    from\_on = new Image(_widthtfromx_, _heighttfromx_);         
     315    from\_on.src = "_httpicontfromon_";
     316    from\_off = new Image(_widthtfromx_, _heighttfromx_);         
     317    from\_off.src = "_httpicontfromof_";           
     318}
     319
    286320_javaHowto_ {
    287321    how\_on = new Image(_widththowx_, _heightthowx_);         
     
    337371_httpdocimg_ {_httpcollimg_/_thisOID_}
    338372
    339 _httpcollection_{_httpprefix_/collect/_cgiargc_}
     373_httpcollection_{http://www.cs.waikato.ac.nz/~gwp/gsdl/collect/_cgiargc_}
    340374
    341375_httppagex_ {_gwcgi_?e=_compressedoptions_&a=p&p=_1_}
     
    518552_icontabSubjectgreen_[v=1] {_texticontabsubjectgreen_}
    519553
     554_icontabTogreen_ {<img
     555src="_httpiconttogr_" height=_heightttox_ width=_widthttox_ border=0>}
     556_icontabTogreen_[v=1] {_texticontabtogreen_}
     557
     558_icontabFromgreen_ {<img
     559src="_httpicontfromgr_" height=_heighttfromx_ width=_widthtfromx_ border=0>}
     560_icontabFromgreen_[v=1] {_texticontabfromgreen_}
     561
    520562_icontabHowtogreen_ {<img
    521563src="_httpiconthowgr_" height=_heightthowx_ width=_widththowx_ border=0>}
  • trunk/gsdl/macros/document.dm

    r1197 r1207  
    155155_iconSubjectpage_ [v=1] {<h2>_texticonhsubj_</h2>}
    156156
     157_iconTopage_ {<img src="_httpiconhto_" width=_widthhto_
     158height=_heighthto_}
     159_iconTopage_ [v=1] {<h2>_texticonhto_</h2>}
     160
     161_iconFrompage_ {<img src="_httpiconhfrom_" width=_widthhfrom_
     162height=_heighthfrom_}
     163_iconFrompage_ [v=1] {<h2>_texticonhfrom_</h2>}
     164
    157165_iconSeriespage_ {<img src="_httpiconhser_" width=_widthhser_
    158166height=_heighthser_}
  • trunk/gsdl/macros/english.dm

    r1119 r1207  
    7272_textimageDate_ {Browse by date}
    7373_textimageSubject_ {Browse by subject category}
     74_textimageTo_ {Browse by To field}
     75_textimageFrom_ {Browse by From field}
    7476_textimageOrganization_ {Browse by organization}
    7577_textimageHowto_ {Browse how to categories}
     
    8587_texticontablistgreen_ {Listing}
    8688_texticontabsubjectgreen_{Subjects}
     89_texticontabtogreen_{To}
     90_texticontabfromgreen_{From}
    8791_texticontaborggreen_{Organization}
    8892_texticontabhowgreen_{How to}
     
    183187_heighttsubjx_ {17}
    184188
     189## "to" ## nav_bar_button ## tto ##
     190_httpiconttogr_ {_httpimg_/ttogr.gif}
     191_httpiconttoon_ {_httpimg_/ttoon.gif}
     192_httpiconttoof_ {_httpimg_/ttoof.gif}
     193_widthttox_ {87}
     194_heightttox_ {17}
     195
     196## "from" ## nav_bar_button ## tfrom ##
     197_httpicontfromgr_ {_httpimg_/tfromgr.gif}
     198_httpicontfromon_ {_httpimg_/tfromon.gif}
     199_httpicontfromof_ {_httpimg_/tfromof.gif}
     200_widthtfromx_ {87}
     201_heighttfromx_ {17}
     202
    185203## "organization" ## nav_bar_button ## torg ##
    186204_httpicontorggr_{_httpimg_/torggr.gif}
     
    278296_textCreatorpage_ {_texticonhauth_}
    279297_textSubjectpage_ {_texticonhsubj_}
     298_textTopage_ {_texticonhto_}
     299_textFrompage_ {_texticonhfrom_}
    280300_textSeriespage_ {_texticonhser_}
    281301_textDatepage_ {_texticonhdate_}
     
    288308_texticonhauth_ {Authors A-Z}
    289309_texticonhsubj_ {Subjects}
     310_texticonhto_ {To}
     311_texticonhfrom_ {From}
    290312_texticonhser_ {Series}
    291313_texticonhdate_ {Dates}
     
    344366_widthhsubj_ {200}
    345367_heighthsubj_ {57}
     368
     369## "to" ## green_title ## h_to ##
     370_httpiconhto_ {_httpimg_/h\_to.gif}
     371_widthhto_ {200}
     372_heighthto_ {57}
     373
     374## "from" ## green_title ## h_from ##
     375_httpiconhfrom_ {_httpimg_/h\_from.gif}
     376_widthhfrom_ {200}
     377_heighthfrom_ {57}
    346378
    347379## "series" ## green_title ## h_ser ##
     
    614646_textDateshort_ {access publications by date}
    615647_textSubjectshort_ {access publications by subject}
     648_textToshort_ {access publications by To field}
     649_textFromshort_ {access publications by From field}
    616650_textTitleshort_ {access publications by title}
    617651_textBrowseshort_ {browse publications}
     
    651685pressing the <i>subjects</i> button.  This brings up a list of subjects,
    652686represented by bookshelves.  }
     687
     688_textTolong_ { <p>You can <i>access publications by To field</i> by
     689pressing the <i>to</i> button.  This brings up a list of addressees.  }
     690
     691_textFromlong_ { <p>You can <i>access publications by From field</i> by
     692pressing the <i>from</i> button.  This brings up a list of senders.  }
    653693
    654694_textSerieslong_ { <p>You can <i>access publications by series</i> by
Note: See TracChangeset for help on using the changeset viewer.