Changeset 12177


Ignore:
Timestamp:
2006-07-12T16:39:28+12:00 (18 years ago)
Author:
kjdon
Message:

navtab arguments have changed, and now use navlinkalt(xxx) instead of textdescrXXX for imageXXX alt parts

File:
1 edited

Legend:

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

    r11357 r12177  
    3939# I'm surprised _image_2__ works... but it does. _imageTitle_ _imageCreator_ etc
    4040# 1. the url to go to when clicked
    41 # 2. the name of the tab
    42 # 3. alt/title explanatory text
    43 # 4. optional "selected" or not if it is the current tab
    44 _navtab_ {_If_("_image_2__" eq "\_image_2_\_",_If_("_4_" eq "selected",_2_,<a href="_1_" title="_3_">_2_</a>),_If_("_4_" eq "selected",_image_2_green_,_image_2__))}
     41# 2. The metadata name - this gets used to determine the title and alt text
     42# 3. optional "selected" if it is the current tab
     43_navtab_ {_If_("_image_2__" eq "\_image_2_\_",_If_("_3_" eq "selected",_navlinktitle_(_2_),<a href="_1_" title="_navlinkalt_(_2_)">_navlinktitle_(_2_)</a>),_If_("_3_" eq "selected",_image_2_green_,_image_2__))}
    4544# doesn't yet work for metadata that isn't dublin core... !!!
    4645
     
    6261
    6362_imagesearch_ {_If_("_cgiargu_" ne "1",_imagesearch2_,_iconnosearch_)}
    64 _imagesearch2_ {_gsimage_(_httpquery_,_httpicontsrchof_,_httpicontsrchon_,srch,_textdescrsearch_)}
     63_imagesearch2_ {_gsimage_(_httpquery_,_httpicontsrchof_,_httpicontsrchon_,srch,_navlinkalt_(Search))}
    6564_imagesearchgreen_ {<img src="_httpicontsrchgr_" width="_widthtsrchx_" border="0">}
    6665
    6766# Dublin Core Metadata Element Set, Version 1.1
    68 _imageTitle_ {_gsimage_(_httpbrowseTitle_,_httpiconttitleof_,_httpiconttitleon_,titles,_textdescrTitle_)}
     67_imageTitle_ {_gsimage_(_httpbrowseTitle_,_httpiconttitleof_,_httpiconttitleon_,titles,_navlinkalt_(Title))}
    6968_imageTitlegreen_ {<img src="_httpiconttitlegr_" width="_widthttitlex_" border="0">}
    70 _imageCreator_ {_gsimage_(_httpbrowseCreator_,_httpicontcreatof_,_httpicontcreaton_,creators,_textdescrCreator_)}
     69_imageCreator_ {_gsimage_(_httpbrowseCreator_,_httpicontcreatof_,_httpicontcreaton_,creators,_navlinkalt_(Creator))}
    7170_imageCreatorgreen_ {<img src="_httpicontcreatgr_" width="_widthtcreatx_" border="0">}
    72 _imageSubject_ {_gsimage_(_httpbrowseSubject_,_httpicontsubjof_,_httpicontsubjon_,subjects,_textdescrSubject_)}
     71_imageSubject_ {_gsimage_(_httpbrowseSubject_,_httpicontsubjof_,_httpicontsubjon_,subjects,_navlinkalt_(Subject))}
    7372_imageSubjectgreen_ {<img src="_httpicontsubjgr_" width="_widthtsubjx_" border="0">}
    74 _imageDescription_ {_gsimage_(_httpbrowseDescription_,_httpicontdescof_,_httpicontdescon_,descriptions,_textdescrDescription_)}
     73_imageDescription_ {_gsimage_(_httpbrowseDescription_,_httpicontdescof_,_httpicontdescon_,descriptions,_navlinkalt_(Description))}
    7574_imageDescriptiongreen_ {<img src="_httpicontdescgr_" width="_widthtdescx_" border="0">}
    76 _imagePublisher_ {_gsimage_(_httpbrowsePublisher_,_httpicontpublof_,_httpicontpublon_,publishers,_textdescrPublisher_)}
     75_imagePublisher_ {_gsimage_(_httpbrowsePublisher_,_httpicontpublof_,_httpicontpublon_,publishers,_navlinkalt_(Publisher))}
    7776_imagePublishergreen_ {<img src="_httpicontpublgr_" width="_widthtpublx_" border="0">}
    78 _imageContributor_ {_gsimage_(_httpbrowseContributor_,_httpicontcontrof_,_httpicontcontron_,contributors,_textdescrContributor_)}
     77_imageContributor_ {_gsimage_(_httpbrowseContributor_,_httpicontcontrof_,_httpicontcontron_,contributors,_navlinkalt_(Contributor))}
    7978_imageContributorgreen_ {<img src="_httpicontcontrgr_" width="_widthtcontrx_" border="0">}
    80 _imageDate_ {_gsimage_(_httpbrowseDate_,_httpicontdateof_,_httpicontdateon_,dates,_textdescrDate_)}
     79_imageDate_ {_gsimage_(_httpbrowseDate_,_httpicontdateof_,_httpicontdateon_,dates,_navlinkalt_(Date))}
    8180_imageDategreen_ {<img src="_httpicontdategr_" width="_widthtdatex_" border="0">}
    82 _imageType_ {_gsimage_(_httpbrowseType_,_httpiconttypeof_,_httpiconttypeon_,types,_textdescrType_)}
     81_imageType_ {_gsimage_(_httpbrowseType_,_httpiconttypeof_,_httpiconttypeon_,types,_navlinkalt_(Type))}
    8382_imageTypegreen_ {<img src="_httpiconttypegr_" width="_widthttypex_" border="0">}
    84 _imageFormat_ {_gsimage_(_httpbrowseFormat_,_httpicontformof_,_httpicontformon_,formats,_textdescrFormat_)}
     83_imageFormat_ {_gsimage_(_httpbrowseFormat_,_httpicontformof_,_httpicontformon_,formats,_navlinkalt_(Format))}
    8584_imageFormatgreen_ {<img src="_httpicontformgr_" width="_widthtformx_" border="0">}
    86 _imageIdentifier_ {_gsimage_(_httpbrowseIdentifier_,_httpicontidentof_,_httpicontidenton_,identifiers,_textdescrIdentifier_)}
     85_imageIdentifier_ {_gsimage_(_httpbrowseIdentifier_,_httpicontidentof_,_httpicontidenton_,identifiers,_navlinkalt_(Identifier))}
    8786_imageIdentifiergreen_ {<img src="_httpicontidentgr_" width="_widthtidentx_" border="0">}
    88 _imageSource_ {_gsimage_(_httpbrowseSource_,_httpicontsrcof_,_httpicontsrcon_,source,_textdescrSource_)}
     87_imageSource_ {_gsimage_(_httpbrowseSource_,_httpicontsrcof_,_httpicontsrcon_,source,_navlinkalt_(Source))}
    8988_imageSourcegreen_ {<img src="_httpicontsrcgr_" width="_widthtsrcx_" border="0">}
    90 _imageLanguage_ {_gsimage_(_httpbrowseLanguage_,_httpicontlangof_,_httpicontlangon_,language,_textdescrLanguage_)}
     89_imageLanguage_ {_gsimage_(_httpbrowseLanguage_,_httpicontlangof_,_httpicontlangon_,language,_navlinkalt_(Language))}
    9190_imageLanguagegreen_ {<img src="_httpicontlanggr_" width="_widthtlangx_" border="0">}
    92 _imageRelation_ {_gsimage_(_httpbrowseRelation_,_httpicontrelof_,_httpicontrelon_,relations,_textdescrRelation_)}
     91_imageRelation_ {_gsimage_(_httpbrowseRelation_,_httpicontrelof_,_httpicontrelon_,relations,_navlinkalt_(Relation))}
    9392_imageRelationgreen_ {<img src="_httpicontrelgr_" width="_widthtrelx_" border="0">}
    94 _imageCoverage_ {_gsimage_(_httpbrowseCoverage_,_httpicontcoverof_,_httpicontcoveron_,coverage,_textdescrCoverage_)}
     93_imageCoverage_ {_gsimage_(_httpbrowseCoverage_,_httpicontcoverof_,_httpicontcoveron_,coverage,_navlinkalt_(Coverage))}
    9594_imageCoveragegreen_ {<img src="_httpicontcovergr_" width="_widthtcoverx_" border="0">}
    96 _imageRights_ {_gsimage_(_httpbrowseRights_,_httpicontrightof_,_httpicontrighton_,rights,_textdescrRights_)}
     95_imageRights_ {_gsimage_(_httpbrowseRights_,_httpicontrightof_,_httpicontrighton_,rights,_navlinkalt_(Rights))}
    9796_imageRightsgreen_ {<img src="_httpicontrightgr_" width="_widthtrightx_" border="0">}
    98 _imageSeries_ {_gsimage_(_httpbrowseSeries_,_httpicontserof_,_httpicontseron_,series,_textdescrSeries_)}
     97_imageSeries_ {_gsimage_(_httpbrowseSeries_,_httpicontserof_,_httpicontseron_,series,_navlinkalt_(Series))}
    9998_imageSeriesgreen_ {<img src="_httpicontsergr_" width="_widthtserx_" border="0">}
    100 _imageTo_ {_gsimage_(_httpbrowseTo_,_httpiconttoof_,_httpiconttoon_,to,_textdescrTo_)}
     99_imageTo_ {_gsimage_(_httpbrowseTo_,_httpiconttoof_,_httpiconttoon_,to,_navlinkalt_(To))}
    101100_imageTogreen_ {<img src="_httpiconttogr_" width="_widthttox_" border="0">}
    102 _imageFrom_ {_gsimage_(_httpbrowseFrom_,_httpicontfromof_,_httpicontfromon_,from,_textdescrFrom_)}
     101_imageFrom_ {_gsimage_(_httpbrowseFrom_,_httpicontfromof_,_httpicontfromon_,from,_navlinkalt_(From))}
    103102_imageFromgreen_ {<img src="_httpicontfromgr_" width="_widthtfromx_" border="0">}
    104 _imageOrganization_ {_gsimage_(_httpbrowseOrganization_,_httpicontorgof_,_httpicontorgon_,org,_textdescrOrganization_)}
     103_imageOrganization_ {_gsimage_(_httpbrowseOrganization_,_httpicontorgof_,_httpicontorgon_,org,_navlinkalt_(Organization))}
    105104_imageOrganizationgreen_ {<img src="_httpicontorggr_" width="_widthtorgx_" border="0">}
    106 _imageHowto_ {_gsimage_(_httpbrowseHowto_,_httpiconthowof_,_httpiconthowon_,how,_textdescrHowto_)}
     105_imageHowto_ {_gsimage_(_httpbrowseHowto_,_httpiconthowof_,_httpiconthowon_,how,_navlinkalt_(Howto))}
    107106_imageHowtogreen_ {<img src="_httpiconthowgr_" width="_widththowx_" border="0">}
    108 _imageTopic_ {_gsimage_(_httpbrowseTopic_,_httpiconttopicof_,_httpiconttopicon_,topic,_textdescrTopic_)}
     107_imageTopic_ {_gsimage_(_httpbrowseTopic_,_httpiconttopicof_,_httpiconttopicon_,topic,_navlinkalt_(Topic))}
    109108_imageTopicgreen_ {<img src="_httpiconttopicgr_" width="_widthttopicx_" border="0">}
    110 _imageBrowse_ {_gsimage_(_httpbrowseBrowse_,_httpicontbrwseof_,_httpicontbrwseon_,browse,_textdescrBrowse_}
     109_imageBrowse_ {_gsimage_(_httpbrowseBrowse_,_httpicontbrwseof_,_httpicontbrwseon_,browse,_navlinkalt_(Browse)}
    111110_imageBrowsegreen_ {<img src="_httpicontbrwsegr_" width="_widthtbrwsex_" border="0">}
    112 _imagePeople_ {_gsimage_(_httpbrowsePeople_,_httpicontpeopof_,_httpicontpeopon_,people,_textdescrPeople_)}
     111_imagePeople_ {_gsimage_(_httpbrowsePeople_,_httpicontpeopof_,_httpicontpeopon_,people,_navlinkalt_(People))}
    113112_imagePeoplegreen_ {<imgsrc="_httpicontpeopgr_" width="_widthtpeopx_" border="0">}
    114 _imageAcronym_ {_gsimage_(_httpbrowseAcronym_,_httpicontacroof_,_httpicontacroon_,acronym,_textdescrAcronym_)}
     113_imageAcronym_ {_gsimage_(_httpbrowseAcronym_,_httpicontacroof_,_httpicontacroon_,acronym,_navlinkalt_(Acronym))}
    115114_imageAcronymgreen_ {<imgsrc="_httpicontacrogr_" width="_widthtacrox_" border="0">}
    116 _imageCollage_ {_gsimage_(_httpbrowseCollage_,_httpicontcollof_,_httpicontcollon_,collage,_textdescrCollage_)}
     115_imageCollage_ {_gsimage_(_httpbrowseCollage_,_httpicontcollof_,_httpicontcollon_,collage,_navlinkalt_(Collage))}
    117116_imageCollagegreen_ {<img src="_httpicontcollgr_" width="_widthtcollx_" border="0">}
    118 _imagePhrase_ {_gsimage_(_httpbrowsePhrase_,_httpicontphrseof_,_httpicontphrseon_,phrase,_textdescrPhrase_)}
     117_imagePhrase_ {_gsimage_(_httpbrowsePhrase_,_httpicontphrseof_,_httpicontphrseon_,phrase,_navlinkalt_(Phrase))}
    119118_imagePhrasegreen_ {<imgsrc="_httpicontphrsegr_" width="_widthtphrsex_" border="0">}
    120 _imageArtist_ {_gsimage_(_httpbrowseArtist_,_httpicontartstof_,_httpicontartston_,artist,_textdescrArtist_)}
     119_imageArtist_ {_gsimage_(_httpbrowseArtist_,_httpicontartstof_,_httpicontartston_,artist,_navlinkalt_(Artist))}
    121120_imageArtistgreen_ {<imgsrc="_httpicontartstgr_" width="_widthtartstx_" border="0">}
    122 _imageKeyword_ {_gsimage_(_httpbrowseKeyword_,_httpicontkwof_,_httpicontkwon_,kw,_textdescrKeyword_)}
     121_imageKeyword_ {_gsimage_(_httpbrowseKeyword_,_httpicontkwof_,_httpicontkwon_,kw,_navlinkalt_(Keyword))}
    123122_imageKeywordgreen_ {<img src="_httpicontkwgr_" width="_widthtkwx_" border="0">}
    124 _imageVolume_ {_gsimage_(_httpbrowseVolume_,_httpicontvolof_,_httpicontvolon_,volume,_textdescrVolume_)}
     123_imageVolume_ {_gsimage_(_httpbrowseVolume_,_httpicontvolof_,_httpicontvolon_,volume,_navlinkalt_(Volume))}
    125124_imageVolumegreen_ {<img src="_httpicontvolgr_" width="_widthtvolx_" border="0">}
    126 _imageCaptions_ {_gsimage_(_httpbrowseCaptions_,_httpicontcaptof_,_httpicontcapton_,captions,_textdescrCaptions_)}
     125_imageCaptions_ {_gsimage_(_httpbrowseCaptions_,_httpicontcaptof_,_httpicontcapton_,captions,_navlinkalt_(Captions))}
    127126_imageCaptionsgreen_ {<imgsrc="_httpicontcaptgr_" width="_widthtcaptx_" border="0">}
    128 _imageCountries_ {_gsimage_(_httpbrowseCountries_,_httpicontcountof_,_httpicontcounton_,countries,_textdescrCountries_)}
     127_imageCountries_ {_gsimage_(_httpbrowseCountries_,_httpicontcountof_,_httpicontcounton_,countries,_navlinkalt_(Countries))}
    129128_imageCountriesgreen_ {<img src="_httpicontcountgr_" width="_widthtcountx_" border="0">}
    130129
Note: See TracChangeset for help on using the changeset viewer.