Changeset 12178
- Timestamp:
- 2006-07-12T16:40:21+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/nav_css.dm
r11822 r12178 15 15 16 16 _globallinks_ {_If_("_cgiargu_" ne "1",_homelink_) _helplink_ _preflink_} 17 _homelink_ {_navtab _(_httppagehome_,_linktextHOME_,_textdescrhome_)}18 _helplink_ {_navtab _(_httppagehelp_,_linktextHELP_,_textdescrhelp_)}19 _preflink_ {_navtab _(_httppagepref_,_linktextPREFERENCES_,_textdescrpref_)}17 _homelink_ {_navtaborig_(_httppagehome_,_linktextHOME_,_textdescrhome_)} 18 _helplink_ {_navtaborig_(_httppagehelp_,_linktextHELP_,_textdescrhelp_)} 19 _preflink_ {_navtaborig_(_httppagepref_,_linktextPREFERENCES_,_textdescrpref_)} 20 20 21 21 # The following is useful if collection specific macro. Override … … 39 39 # 3. alt/title explanatory text 40 40 # 4. optional "selected" or not if it is the current tab 41 #_navtab_ {<span _If_("_4_" eq "selected",class="navlink_sel">_2_,class="navlink"><a href="_1_" title="_3_">_2_</a>)</span>} 42 _navtab_ {<a _If_("_4_" eq "selected",class="navlink_sel">_2_,class="navlink" href="_1_" title="_3_">_2_)</a>} 41 _navtaborig_ {<a _If_("_4_" eq "selected",class="navlink_sel">_2_,class="navlink" href="_1_" title="_3_">_2_)</a>} 43 42 44 # this is done like this because the receptionist checks if a macro called 45 # _tabtext$FIELD_ is defined. This way we can make sure things are 46 # undefined for nav_ns4.dm and it can fall back to using the roll-over images 47 _tabtextSearch_ {_labelSearch_} 48 _tabtextTitle_ {_labelTitle_} 49 _tabtextCreator_ {_labelCreator_} 50 _tabtextSubject_ {_labelSubject_} 51 _tabtextDescription_ {_labelDescription_} 52 _tabtextPublisher_ {_labelPublisher_} 53 _tabtextContributor_ {_labelContributor_} 54 _tabtextDate_ {_labelDate_} 55 _tabtextTypes_ {_labelTypes_} 56 _tabtextFormat_ {_labelFormat_} 57 _tabtextIdentifier_ {_labelIdentifier_} 58 _tabtextSource_ {_labelSource_} 59 _tabtextLanguage_ {_labelLanguage_} 60 _tabtextRelation_ {_labelRelation_} 61 _tabtextCoverage_ {_labelCoverage_} 62 _tabtextRights_ {_labelRights_} 63 _tabtextOrg_ {_labelOrg_} 64 _tabtextKeyword_ {_labelKeyword_} 65 _tabtextHow_ {_labelHow_} 66 _tabtextSeries_ {_labelSeries_} 67 _tabtextList_ {_labelList_} 68 _tabtextTo_ {_labelTo_} 69 _tabtextFrom_ {_labelFrom_} 70 _tabtextTopic_ {_labelTopic_} 71 _tabtextBrwse_ {_labelBrwse_} 72 _tabtextCollage_ {_labelCollage_} 73 _tabtextbrows_ {_labelbrows_} 74 _tabtextPeople_ {_labelPeople_} 75 _tabtextAcronym_ {_labelAcronym_} 76 _tabtextPhrase_ {_labelPhrase_} 77 _tabtextArtist_ {_labelArtist_} 78 _tabtextVolume_ {_labelVolume_} 79 _tabtextCaptions_ {_labelCaptions_} 80 _tabtextCountries_ {_labelCountries_} 43 # parameters are 44 # 1. The url to go to when clicked 45 # 2. The metadata name - this gets used to determine the title and alt text 46 # 3. optional "selected" if it is the current tab 47 _navtab_ {<a _If_("_3_" eq "selected",class="navlink_sel">_navlinktitle_(_2_),class="navlink" href="_1_" title="_navlinkalt_(_2_)">_navlinktitle_(_2_))</a>} 81 48 82 49 … … 92 59 } 93 60 94 # image macros for all the classifications currently supported by95 # this receptionist.96 97 ## used to make the tabs in the navigation bar98 99 61 # cgiargu means "static page", so no search link should be shown 100 _navtabsearch_ {_If_("_cgiargu_" ne "1",_navtabsearchlink_(_1_))} 101 _navtabsearchlink_ {_navtab_(_httpquery_,_labelSearch_,_textdescrsearch_,_1_)} 102 62 _navtabsearch_ {_If_("_cgiargu_" ne "1",_navtab_(_httpquery_,Search,_1_))} 103 63 104 64 package about 65 105 66 _imagethispage_ {_titleabout_} 106 67 107 68 package query 69 108 70 _imagethispage_ {_labelSearch_} 109 71
Note:
See TracChangeset
for help on using the changeset viewer.