Ignore:
Timestamp:
2000-09-01T13:03:36+12:00 (24 years ago)
Author:
nzdl
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/niupepa/macros/npepa.dm

    r1054 r1488  
    11package Global
     2
     3_httppagehome_ [c=niupepa] {/fast-cgi-bin/library?a=p&p=home}
    24
    35_textbiblio_ [c=niupepa] {Bibliographic Details}
     
    4850_thispapericonwidth_ [c=niupepa] {0}
    4951_thispapericonheight_ [c=niupepa] {0}
     52
     53_httppageabexpl_ [c=niupepa] {_httppagex_(abexpl)}
     54
    5055
    5156_01width_ {314}
     
    9398_iconcommentary_ [c=niupepa,v=1] {_texticoncommentary_}
    9499
    95 # javalinks specific to this collection
    96 _javafullimage_ [c=niupepa] {
    97         fullimage\_on = new Image(_widthefix_, _heightefix_);
    98         fullimage\_on.src = "_httpiconefion_";
    99         fullimage\_off = new Image(_widthefix_, _heightefix_);
    100         fullimage\_off.src = "_httpiconefiof_";
    101 }
    102 
    103 _javaprevimage_ [c=niupepa] {
    104         previmage\_on = new Image(_widthepix_, _widthepix_);
    105         previmage\_on.src = "_httpiconepion_";
    106         previmage\_off = new Image(_widthepix_, _heightepix_);
    107         previmage\_off.src = "_httpiconepiof_";
    108 }
    109 
    110 _javaviewtext_ [c=niupepa] {
    111         viewtext\_on = new Image(_widthetextx_, _heightetextx_);
    112         viewtext\_on.src = "_httpiconetexton_";
    113         viewtext\_off = new Image(_widthetextx_, _heightetextx_);
    114         viewtext\_off.src = "_httpiconetextof_";
    115 }
    116 
    117 _javacommentary_ [c=niupepa] {
    118     commentary\_on = new Image(_thispapericonwidth_, _thispapericonheight_);
    119     commentary\_on.src = "_httpiconthispaper_on.gif";
    120     commentary\_off = new Image(_thispapericonwidth_, _thispapericonheight_);
    121         commentary\_off.src = "_httpiconthispaper_of.gif";
    122 }
    123 
    124 _javaviewabstract_ [c=niupepa] {
    125         abstract\_on = new Image(_widtheabstrx_, _heighteabstrx_);
    126         abstract\_on.src = "_httpiconeabstron_";
    127         abstract\_off = new Image(_widtheabstrx_, _heighteabstrx_);
    128         abstract\_off.src = "_httpiconeabstrof_";
    129 }
    130 
    131 _javaviewpaper_ [c=niupepa] {
    132         paper\_on = new Image(_widthenpepax_, _heightenpepax_);
    133         paper\_on.src = "_httpiconenpepaon_";
    134         paper\_off = new Image(_widthenpepax_, _heightenpepax_);
    135         paper\_off.src = "_httpiconenpepaof_";
    136 }
    137 
    138 _javaabstractintro_ [c=niupepa] {
    139         intro\_on = new Image(_widtheintrox_, _heighteintrox_);
    140         intro\_on.src = "_httpiconeintroon_";
    141         intro\_off = new Image(_widtheintrox_, _heighteintrox_);
    142         intro\_off.src = "_httpiconeintroof_";
    143 }
    144 
    145100_prevarrow_ [c=niupepa] {_If_(_httpprevarrow_,<a href="_httpprevarrow__1_">_iconprev_</a>)}
    146101_nextarrow_ [c=niupepa] {_If_(_httpnextarrow_,<a href="_httpnextarrow__1_">_iconnext_</a>)}
     
    168123width="_thispapericonwidth_" height="_thispapericonheight_" border="0" alt="_texticoncommentary_">}
    169124
    170 
    171 _imagedetach_ [c=niupepa] {<a href="_httpcurrentdocument_&x=1&gg=_cgiarggg_" target=\_blank onMouseover = "img\_on('detach')"
    172 onMouseout = "img\_off('detach')">_icondetach_</a>}
    173 _imagedetach_[c=niupepa,v=1] {<a href="_httpcurrentdocument_&x=1&gg=cgiarggg_" target=\_blank>_texticondetach_</a><br>}
    174 
    175 
    176 _imagefullimage_ [c=niupepa] {<a href="_httpcurrentdocument_&gg=full" onMouseover = "img\_on('fullimage')"
    177 onMouseout = "img\_off('fullimage')">_iconfullimage_</a>}
    178 _imagefullimage_ [c=niupepa,v=1] {<a href="_httpcurrentdocument_&gg=full">_texticonfullimage_</a><br>}
    179 
    180 _imageprevimage_ [c=niupepa] {<a href="_httpcurrentdocument_&gg=prev" onMouseover = "img\_on('previmage')"
    181 onMouseout = "img\_off('previmage')">_iconprevimage_</a>}
    182 _imageprevimage_ [c=niupepa,v=1] {<a href="_httpcurrentdocument_&gg=prev">_texticonprevimage_</a><br>}
    183 
    184 _imageviewtext_ [c=niupepa] {<a href="_httpcurrentdocument_&gg=text" onMouseover = "img\_on('viewtext')"
    185 onMouseout = "img\_off('viewtext')">_iconviewtext_</a>}
    186 _imageviewtext_ [c=niupepa,v=1] {<a href="_httpcurrentdocument_&gg=text">_texticonviewtext_</a><br>}
    187 
    188 _imageviewabstract_ [c=niupepa] {<a href="_httpdocument_&gg=text&&cl=_cgiargcl_&d=_1_" onMouseover = "img\_on('abstract')"
    189 onMouseout = "img\_off('abstract')">_iconviewabstract_</a>}
    190 _imageviewabstract_ [c=niupepa,v=1] {<a href="_httpdocument_&gg=text&cl=_cgiargcl_&d=_1_">_texticonviewabstract_</a><br>}
    191 
    192 _imageviewpaper_ [c=niupepa] {<a href="_httpdocument_&cl=_cgiargcl_&d=_1_" onMouseover = "img\_on('paper')"
    193 onMouseout = "img\_off('paper')">_iconviewpaper_</a>}
    194 _imageviewpaper_ [c=niupepa,v=1] {<a href="_httpdocument_&cl=_cgiargcl_&d=_1_">_texticonviewpaper_</a><br>}
    195 
    196 _imageabstractintro_ [c=niupepa] {<a href="_httppagex_(abexpl)" onMouseover = "img\_on('intro')"
    197 onMouseout = "img\_off('intro')">_iconabstractintro_</a>}
    198 _imageabstractintro_ [c=niupepa,v=1] {<a href="_httppagex_(abexpl)">_texticonabstractintro_</a><br>}
     125# can't use _gsimage_ macro for detach button as we need to include target
     126_imagedetach_ [c=niupepa] {<a href="_httpcurrentdocument_&x=1&gg=_cgiarggg_" target=\_blank onMouseover="roll('detach',1);" onMouseOut="roll('detach',0);"><img
     127name="detach" src="_httpiconedtchof_" onLoad="gbutton(this,'_httpiconedtchon_');" border=0 alt="_texticondetach_"></a>}
     128_imagedetach_ [c=niupepa,v=1] {<a href="_httpcurrentdocument_&x=1&gg=_cgiarggg_" target=\_blank>_texticondetach_</a><br>}
     129
     130
     131_imagefullimage_ [c=niupepa] {_gsimage_(_httpcurrentdocument_&gg=full,_document:httpiconefiof_,_document:httpiconefion_,fi,_document:texticonfullimage_)}
     132
     133_imageprevimage_ [c=niupepa] {_gsimage_(_httpcurrentdocument_&gg=prev,_document:httpiconepiof_,_document:httpiconepion_,pi,_document:texticonprevimage_)}
     134
     135_imageviewtext_ [c=niupepa] {_gsimage_(_httpcurrentdocument_&gg=text,_document:httpiconetextof_,_document:httpiconetexton_,etext,_document:texticonviewtext_)}
     136
     137_imageviewabstract_ [c=niupepa] {_gsimage_(_httpdocument_&gg=text&cl=_cgiargcl_&d=_1_,_document:httpiconeabstrof_,_document:httpiconeabstron_,eabstr,_document:texticonviewabstract_)}
     138
     139_imageviewpaper_ [c=niupepa] {_gsimage_(_httpdocument_&cl=_cgiargcl_&d=_1_,_document:httpiconenpepaof_,_document:httpiconenpepaon_,enpepa,_document:texticonviewpaper_)}
     140
     141_imageabstractintro_ [c=niupepa] {_gsimage_(_document:httppageabexpl_,_document:httpiconeintroof_,_document:httpiconeintroon_,intro,_document:texticonabstractintro_)}
    199142
    200143_imagethispaper_ [c=niupepa] {_If_(_httpthiscommentary_,_linkthispaper_,_nolinkthispaper_)}
    201144
    202 _linkthispaper_ [c=niupepa] {<a href="_httpthiscommentary_"
    203     onMouseover = "img\_on('commentary')"
    204     onMouseout = "img\_off('commentary')">_iconthispaper_</a>}
    205 _imagethispaper_ [c=niupepa,v=1] {<a href="_httpthiscommentary_">_texticoncommentary_</a><br>
    206 }
     145_linkthispaper_ [c=niupepa] {_gsimage_(_document:httpthiscommentary_,_document:httpiconthispaper_of.gif,_document:httpiconthispaper_on.gif,comm,_document:texticoncommentary_)}
    207146
    208147# this occurs when we're at a commentary page - (no alt text, no link)
     
    222161_httpiconepiof_ [c=niupepa,l=mi] {_httpcollection_/images/mi/epiof.gif}
    223162_httpiconepion_ [c=niupepa] {_httpcollection_/images/epion.gif}
    224 _httpiconepion_ [c=niupepa,l=mi] {_httpcollection_/mi/epion.gif}
     163_httpiconepion_ [c=niupepa,l=mi] {_httpcollection_/images/mi/epion.gif}
    225164_widthepix_ [c=niupepa] {65}
    226165_widthepix_ [c=niupepa,l=mi] {65}
Note: See TracChangeset for help on using the changeset viewer.