Ignore:
Timestamp:
2006-01-27T12:49:37+13:00 (18 years ago)
Author:
jrm21
Message:

the document buttons (expand/detach etc) are now done as css-formatted text
rather than images.

File:
1 edited

Legend:

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

    r11094 r11132  
    337337_tab_ {<td>_icontab_</td>}
    338338
    339 _iconwarning_ {<img src="_httpiconwarning_" width=_widthwarning_ height=_heightwarning_ class="icon" align=left>}
     339_iconwarning_ {<img src="_httpiconwarning_" width="_widthwarning_" height="_heightwarning_" class="icon" align="left">}
    340340_iconwarning_ [v=1] {_texticonwarning_}
    341341
     
    345345#######################################################################
    346346
    347 # can't use _gsimage_ macro for detach button as we need to include target
    348 _imagedetach_ {<a href="_httpcurrentdocument_&amp;x=1" target=\_blank onMouseover="roll('detach',1);" onMouseOut="roll('detach',0);"><img
    349 name="detach" src="_httpiconedtchof_" onLoad="gbutton(this,'_httpiconedtchon_');" class="icon" alt="_texticondetach_" title="_texticondetach_"></a>}
    350 _imagedetach_ [v=1] {<a href="_httpcurrentdocument_&amp;x=1" target=\_blank>_texticondetach_</a><br>}
    351 
    352 _imagehighlight_ {_gsimage_(_httpcurrentdocument_&amp;hl=1&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconehlof_,_document:httpiconehlon_,hl,_document:texticonhighlight_)}
    353 
    354 _imagenohighlight_ {_gsimage_(_httpcurrentdocument_&amp;hl=0&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconenhlof_,_document:httpiconenhlon_,nhl,_document:texticonnohighlight_)}
    355 
    356 _imagecontracttoc_ {_gsimage_(_httpcurrentdocument_&amp;gc=0,_document:httpiconeconcof_,_document:httpiconeconcon_,concon,_document:texticoncontracttoc_)}
    357 
    358 _imageexpandtoc_ {_gsimage_(_httpcurrentdocument_&amp;gc=1,_document:httpiconeexpcof_,_document:httpiconeexpcon_,expcon,_document:texticonexpandtoc_)}
    359 
    360 _imagecontracttext_ {_gsimage_(_httpcurrentdocument_&amp;gt=0,_document:httpiconetsecof_,_document:httpiconetsecon_,thissec,_document:texticoncontracttext_)}
    361 
    362 _imageexpandtext_ {_gsimage_(_httpcurrentdocument_&amp;gt=1,_document:httpiconealltof_,_document:httpiconeallton_,alltext,_document:texticonexpandtext_)}
    363 
    364 _imagecont_ {_gsimage_(_httpcurrentdocument_&amp;gt=2,_document:httpiconcontoff_,_document:httpiconconton_,cont,_document:texticoncont_)}
     347_docbutton_ {<div class="button"><span class="button" title="_3_"><a href="_1_">_2_</a></span></div>
     348}
     349
     350# can't use _docbutton_ macro for detach button as we need to include target
     351_imagedetach_ {<div class="button"><span class="button"><a href="_httpcurrentdocument_&amp;x=1" target="\_blank" title="_texticondetach_">_textDETACH_</a></span></div>}
     352
     353_imagehighlight_ {_docbutton_(_httpcurrentdocument_&amp;hl=1&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_textHIGHLIGHT_,_texticonhighlight_)}
     354
     355_imagenohighlight_ {_docbutton_(_httpcurrentdocument_&amp;hl=0&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:textNOHIGHLIGHT_,_document:texticonnohighlight_)}
     356
     357_imagecontracttoc_ {_docbutton_(_httpcurrentdocument_&amp;gc=0,_textCONTRACTCONTENTS_,_texticoncontracttoc_)}
     358
     359_imageexpandtoc_ {_docbutton_(_httpcurrentdocument_&amp;gc=1,_textEXPANDCONTENTS_,_texticonexpandtoc_)}
     360
     361_imagecontracttext_ {_docbutton_(_httpcurrentdocument_&amp;gt=0,_textCONTRACT_,_texticoncontracttext_)}
     362
     363_imageexpandtext_ {_docbutton_(_httpcurrentdocument_&amp;gt=1,_textEXPANDTEXT_,_texticonexpandtext_)}
     364
     365_imagecont_ {_docbutton_(_httpcurrentdocument_&amp;gt=2,_textCONTINUE_,_texticoncont_)}
     366
    365367
    366368
Note: See TracChangeset for help on using the changeset viewer.