Changeset 12175


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

removed navtabXXX macros which weren't used. tidied up some comments, and added navlinktitle and navlinkalt macros

File:
1 edited

Legend:

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

    r11999 r12175  
    6565# _win32_ will be set to 1 if we're on windows
    6666_win32_ {}
    67 
    68 _navigationbar_ {}
    69 _widthtspace_ {2}
    70 
    71 # The following is useful if collection specific macro.  Override
    72 # _optnavigationbar_ to be empty if you don't want the navigation bar to
    73 # appear in the standard place, and then specify _navigationbar_ elsewhere
    74 # in a collection specific macro file(s) to be where you do want it.
    75 
    76 # _optnavigationbar_ is now defined in nav_css/nav_ns4 macro files
    7767
    7868# all cgi args are set as _cgiargX_ macros - those I've put here
     
    9181_fqfselection_ {}
    9282
    93 # this is used for the tabs (eg for search/classifiers) on the navigation bar
    94 # parameters are:
    95 # 1. the url to go to when clicked
    96 # 2. the name of the tab
    97 # 3. alt/title explanatory text
    98 # 4. optional "selected" or not if it is the current tab
    99 
    100 # _navtab_ is defined in the nav_css/nav_ns4 macro files
    101 
    102 
    103 #######################################################################
    104 # navigation bar images
    105 #
    106 #######################################################################
    107 
    108 # the spacer image - the width of this is calculated and set from server
    109 # _navbarspacer_ set in nav_css/ns4
    110 
    111 # image macros for all the classifications currently supported by
    112 # this receptionist.
    113 
    114 ## used to make the tabs in the navigation bar
    115 
    116 # _navtabsearch_ defined in nav_css/ns4 macro files
    117 
    118 # Dublin Core Metadata Element Set, Version 1.1
    119 
    120 _navtabTitle_ {_navtab_(_httpbrowseTitle_,titles,_textdescrTitle_,_1_)}
    121 _navtabCreator_ {_navtab_(_httpbrowseCreator_,creators,_textdescrCreator_,_1_)}
    122 _navtabSubject_ {_navtab_(_httpbrowseSubject_,_labelSubject_,_textdescrSubject_,_1_)}
    123 _navtabDescription_ {_navtab_(_httpbrowseDescription_,,_1_)}
    124 _navtabPublisher_ {_navtab_(_httpbrowsePublisher_,tabtepublishers,_textdescrPublisher_,_1_)}
    125 _navtabContributor_ {_navtab_(_httpbrowseContributor_,_labelContributor_,_textdescrContributor_,_1_)}
    126 _navtabDate_ {_navtab_(_httpbrowseDate_,_labelDate_,_textdescrDate_,_1_)}
    127 _navtabType_ {_navtab_(_httpbrowseType_,types,_textdescrType_,_1_)}
    128 _navtabFormat_ {_navtab_(_httpbrowseFormat_,formats,_textdescrFormat_,_1_)}
    129 _navtabIdentifier_ {_navtab_(_httpbrowseIdentifier_,identifiers,_textdescrIdentifier_,_1_)}
    130 _navtabSource_ {_navtab_(_httpbrowseSource_,source,_textdescrSource_,_1_)}
    131 _navtabLanguage_ {_navtab_(_httpbrowseLanguage_,language,_textdescrLanguage_,_1_)}
    132 _navtabRelation_ {_navtab_(_httpbrowseRelation_,,_1_)}
    133 _navtabCoverage_ {_navtab_(_httpbrowseCoverage_,coverage,_textdescrCoverage_,_1_)}
    134 _navtabRights_ {_navtab_(_httpbrowseRights_,rights,_textdescrRights_,_1_)}
    135 
    136 _navtabSeries_ {_navtab_(_httpbrowseSeries_,series,_textdescrSeries_,_1_)}
    137 _navtabTo_ {_navtab_(_httpbrowseTo_,to,_textdescrTo_,_1_)}
    138 _navtabFrom_ {_navtab_(_httpbrowseFrom_,from,_textdescrFrom_,_1_)}
    139 _navtabOrganization_ {_navtab_(_httpbrowseOrganization_,,_1_)}
    140 _navtabHowto_ {_navtab_(_httpbrowseHowto_,how,_textdescrHowto_,_1_)}
    141 _navtabTopic_ {_navtab_(_httpbrowseTopic_,topic,_textdescrTopic_,_1_)}
    142 _navtabBrowse_ {_navtab_(_httpbrowseBrowse_,browse,_textdescrBrowse_}
    143 _navtabPeople_ {_navtab_(_httpbrowsePeople_,people,_textdescrPeople_,_1_)}
    144 _navtabAcronym_ {_navtab_(_httpbrowseAcronym_,acronym,_textdescrAcronym_,_1_)}
    145 _navtabCollage_ {_navtab_(_httpbrowseCollage_,collage,_textdescrCollage_,_1_)}
    146 _navtabPhrase_ {_navtab_(_httpbrowsePhrase_,phrase,_textdescrPhrase_,_1_)}
    147 _navtabArtist_ {_navtab_(_httpbrowseArtist_,artist,_textdescrArtist_,_1_)}
    148 _navtabKeyword_ {_navtab_(_httpbrowseKeyword_,kw,_textdescrKeyword_,_1_)}
    149 _navtabVolume_ {_navtab_(_httpbrowseVolume_,volume,_textdescrVolume_,_1_)}
    150 _navtabCaptions_ {_navtab_(_httpbrowseCaptions_,captions,_textdescrCaptions_,_1_)}
    151 _navtabCountries_ {_navtab_(_httpbrowseCountries_,countries,_textdescrCountries_,_1_)}
     83
     84#######################################################################
     85# navigation bar
     86#
     87#######################################################################
     88# Most of the stuff to do with navigation bars is now defined in nav_css.dm
     89# and nav_ns4.dm
     90
     91_navigationbar_ {}
     92_widthtspace_ {2}
     93
     94_navlinktitle_ {_If_("_label_1__" eq "\_label_1_\_",_1_,_label_1__)}
     95_navlinkalt_ {_If_("_textdescr_1__" ne "\_textdescr_1_\_", _textdescr_1__, _If_("_text_1__" eq "\_text_1_\_",_textdescrdefault_(_1_),_textdescrdefault_(_text_1__)) }
    15296
    15397#######################################################################
Note: See TracChangeset for help on using the changeset viewer.