Ignore:
Timestamp:
2005-11-08T17:28:41+13:00 (18 years ago)
Author:
jrm21
Message:

extensive modifications of generated HTML to support HTML4 and CSS.
Style sheets are the images/ directory. This should make it much easier
to make custom themes for collections, merely by modifying the style
sheet.

File:
1 edited

Legend:

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

    r8111 r10872  
    1919
    2020_content_ {
    21 <center>
     21<div class="navbar">
     22<p class="navbar">
    2223_optnavigationbar_
    23 <p>
     24</p>
     25</div>
     26_If_(_phindclassifier__collageclassifier_,
     27<p style="text-align: center;">
    2428_phindclassifier_
    2529_collageclassifier_
    26 </center>
     30</p>
     31)
     32<div class="document">
    2733}
    2834
     
    171177
    172178# Dublin Core Metadata Element Set, Version 1.1
    173 
     179# the receptionist server checks for the existence of _icon{META}page_
     180# to see whether to set an image or just plain text for this document.
    174181_iconTitlepage_ {<img src="_httpiconhtitle_" width="_widthhtitle_" height="_heighthtitle_">}
    175182_iconTitlepage_ [v=1] {<h2>_texticonhtitle_</h2>}
     
    288295
    289296
    290 _iconsmalltext_ {<img src="_httpiconsmtext_" border=0 width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
     297_iconsmalltext_ {<img src="_httpiconsmtext_" class="icon" width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
    291298_iconsmalltext_ [v=1] {<small><b>_texticonsmalltext2_</b></small>}
    292299
    293 _iconarrowsmalltext_ {<img src="_httpiconasmtext_" border=0 width=_widthasmtext_ height=_heightasmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
     300_iconarrowsmalltext_ {<img src="_httpiconasmtext_" class="icon" width=_widthasmtext_ height=_heightasmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
    294301_iconarrowsmalltext_ [v=1] {<small><b>->_texticonsmalltext2_</b></small>}
    295302
    296 _iconclosedfolder_ {<img src="_httpiconclsdfldr_" border=0 width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
     303_iconclosedfolder_ {<img src="_httpiconclsdfldr_" class="icon" width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
    297304_iconclosedfolder_ [v=1] {<small><b>_texticonclosedfolder2_</b></small>}
    298305
    299 _iconarrowclosedfolder_ {<img src=_httpiconaclsdfdr_" border=0 width=_widthaclsdfdr_ height=_heightaclsdfdr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
     306_iconarrowclosedfolder_ {<img src=_httpiconaclsdfdr_" class="icon" width=_widthaclsdfdr_ height=_heightaclsdfdr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
    300307_iconarrowclosedfolder_ [v=1] {<small><b>->_texticonclosedfolder2_</b></small>}
    301308
    302 _iconopenfolder_ {<img src="_httpiconopenfldr_" border=0 width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
     309_iconopenfolder_ {<img src="_httpiconopenfldr_" class="icon" width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
    303310_iconopenfolder_ [v=1] {<small><b>_texticonopenfolder2_</b></small>}
    304311
    305 _iconarrowopenfolder_ {<img src="_httpiconaopenfdr_" border=0 width=_widthaopenfdr_ height=_heightaopenfdr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
     312_iconarrowopenfolder_ {<img src="_httpiconaopenfdr_" class="icon" width=_widthaopenfdr_ height=_heightaopenfdr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
    306313_iconarrowopenfolder_ [v=1] {<small><b>->_texticonopenfolder2_</b></small>}
    307314
    308 _iconarrowclosedbook_ {<img src="_httpiconabook_" width=_widthabook_ height=_heightabook_ border=0 alt="_texticonclosedbook_" title="_texticonclosedbook_">}
     315_iconarrowclosedbook_ {<img src="_httpiconabook_" width=_widthabook_ height=_heightabook_ class="icon" alt="_texticonclosedbook_" title="_texticonclosedbook_">}
    309316_iconarrowclosedbook_ [v=1] {<small><b>->_texticonclosedbook_: </b></small>}
    310317
    311 _iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ border=0 alt="_texticonopenbook_" title="_texticonopenbook_">}
     318_iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ class="icon" alt="_texticonopenbook_" title="_texticonopenbook_">}
    312319_iconopenbook_ [v=1] {<small><b>_texticonopenbook_: </b></small>}
    313320
    314 _iconarrowopenbook_ {<img src="_httpiconaopenbk_" width=_widthaopenbk_ height=_heightaopenbk_ border=0 alt="_texticonopenbook_" title="_texticonopenbook_">}
     321_iconarrowopenbook_ {<img src="_httpiconaopenbk_" width=_widthaopenbk_ height=_heightaopenbk_ class="icon" alt="_texticonopenbook_" title="_texticonopenbook_">}
    315322_iconarrowopenbook_ [v=1] {<small><b>->_texticonopenbook_: </b></small>}
    316323
    317 _iconopenbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
     324_iconopenbookshelf_ {<img src="_httpiconbshelf_" class="icon" width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
    318325_iconopenbookshelf_ [v=1] {<small><b>_texticonopenbookshelf_: </b></small>}
    319326
    320 _iconarrowopenbookshelf_ {<img src="_httpiconabshelf_" border=0 width=_widthabshelf_ height=_heightabshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
     327_iconarrowopenbookshelf_ {<img src="_httpiconabshelf_" class="icon" width=_widthabshelf_ height=_heightabshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
    321328_iconarrowopenbookshelf_ [v=1] {<small><b>->_texticonopenbookshelf_: </b></small>}
    322329
    323 _iconclosedbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
     330_iconclosedbookshelf_ {<img src="_httpiconbshelf_" class="icon" width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
    324331_iconclosedbookshelf_ [v=1] {<small><b>_texticonclosedbookshelf_: </b></small>}
    325332
    326 _iconarrowclosedbookshelf_ {<img src="_httpiconabshelf_" border=0 width=_widthabshelf_ height=_heightabshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
     333_iconarrowclosedbookshelf_ {<img src="_httpiconabshelf_" class="icon" width=_widthabshelf_ height=_heightabshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
    327334_iconarrowclosedbookshelf_ [v=1] {<small><b>->_texticonclosedbookshelf_: </b></small>}
    328335
    329 _iconpointer_ {<img src="_httpiconarrrght_" border=0 width=_widtharrrght_ height=_heightarrrght_>}
     336_iconpointer_ {<img src="_httpiconarrrght_" class="icon" width=_widtharrrght_ height=_heightarrrght_>}
    330337_iconpointer_ [v=1] {<small><b>_texticonpointer_-> </b></small>}
    331338
     
    333340_tab_ {<td>_icontab_</td>}
    334341
    335 _iconwarning_ {<img src="_httpiconwarning_" width=_widthwarning_ height=_heightwarning_ border=0 align=left>}
     342_iconwarning_ {<img src="_httpiconwarning_" width=_widthwarning_ height=_heightwarning_ class="icon" align=left>}
    336343_iconwarning_ [v=1] {_texticonwarning_}
    337344
     
    342349
    343350# can't use _gsimage_ macro for detach button as we need to include target
    344 _imagedetach_ {<a href="_httpcurrentdocument_&x=1" target=\_blank onMouseover="roll('detach',1);" onMouseOut="roll('detach',0);"><img
    345 name="detach" src="_httpiconedtchof_" onLoad="gbutton(this,'_httpiconedtchon_');" border=0 alt="_texticondetach_" title="_texticondetach_"></a>}
    346 _imagedetach_ [v=1] {<a href="_httpcurrentdocument_&x=1" target=\_blank>_texticondetach_</a><br>}
    347 
    348 _imagehighlight_ {_gsimage_(_httpcurrentdocument_&hl=1&gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconehlof_,_document:httpiconehlon_,hl,_document:texticonhighlight_)}
    349 
    350 _imagenohighlight_ {_gsimage_(_httpcurrentdocument_&hl=0&gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconenhlof_,_document:httpiconenhlon_,nhl,_document:texticonnohighlight_)}
    351 
    352 _imagecontracttoc_ {_gsimage_(_httpcurrentdocument_&gc=0,_document:httpiconeconcof_,_document:httpiconeconcon_,concon,_document:texticoncontracttoc_)}
    353 
    354 _imageexpandtoc_ {_gsimage_(_httpcurrentdocument_&gc=1,_document:httpiconeexpcof_,_document:httpiconeexpcon_,expcon,_document:texticonexpandtoc_)}
     351_imagedetach_ {<a href="_httpcurrentdocument_&amp;x=1" target=\_blank onMouseover="roll('detach',1);" onMouseOut="roll('detach',0);"><img
     352name="detach" src="_httpiconedtchof_" onLoad="gbutton(this,'_httpiconedtchon_');" class="icon" alt="_texticondetach_" title="_texticondetach_"></a>}
     353_imagedetach_ [v=1] {<a href="_httpcurrentdocument_&amp;x=1" target=\_blank>_texticondetach_</a><br>}
     354
     355_imagehighlight_ {_gsimage_(_httpcurrentdocument_&amp;hl=1&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconehlof_,_document:httpiconehlon_,hl,_document:texticonhighlight_)}
     356
     357_imagenohighlight_ {_gsimage_(_httpcurrentdocument_&amp;hl=0&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconenhlof_,_document:httpiconenhlon_,nhl,_document:texticonnohighlight_)}
     358
     359_imagecontracttoc_ {_gsimage_(_httpcurrentdocument_&amp;gc=0,_document:httpiconeconcof_,_document:httpiconeconcon_,concon,_document:texticoncontracttoc_)}
     360
     361_imageexpandtoc_ {_gsimage_(_httpcurrentdocument_&amp;gc=1,_document:httpiconeexpcof_,_document:httpiconeexpcon_,expcon,_document:texticonexpandtoc_)}
    355362
    356363_imagecontracttext_ {_gsimage_(_httpcurrentdocument_&amp;gt=0,_document:httpiconetsecof_,_document:httpiconetsecon_,thissec,_document:texticoncontracttext_)}
     
    367374
    368375# header overridden for text pages
    369 # the tabspace is there because netscape refuses to let our flashy button
    370 # javacript stuff work on a button that is the first image in the page
    371376_textheader_ {_cgihead_
    372377_htmlhead_
    373 <center>
    374 <table width=_pagewidth_><tr><td align=right>
    375 _icontab__javalinks_</td></tr></table>
    376 </center>
    377 }
     378_startspacer_
     379
     380<!-- document:textheader -->
     381<div id="banner">
     382<div class="pageinfo"><p class="bannerlinks">_globallinks_</p></div>
     383<div class="collectimage">_imagecollection_</div>
     384_icontab_
     385</div>
     386}
     387
    378388_textheader_ [v=1] {_cgihead_
    379389_htmlhead_
    380 _javalinks_
     390_globallinks_
    381391}
    382392
    383393_footer_ {
     394</div> <!-- document:footer -->
     395
    384396<p>
    385397_navarrowsbottom_
     398</p>
    386399_endspacer__htmlfooter_
    387400}
Note: See TracChangeset for help on using the changeset viewer.