[11117] | 1 | # this file must be UTF-8 encoded
|
---|
| 2 |
|
---|
| 3 | # This macro file contains the definitions required for making the
|
---|
| 4 | # navigation bar presentation controlled by the CSS file.
|
---|
| 5 |
|
---|
| 6 | #######################################################################
|
---|
| 7 | # GLOBAL MACROS
|
---|
| 8 | #######################################################################
|
---|
| 9 |
|
---|
| 10 | package Global
|
---|
| 11 |
|
---|
| 12 | #######################################################################
|
---|
| 13 | # global navigation links
|
---|
| 14 | #######################################################################
|
---|
| 15 |
|
---|
| 16 | _globallinks_ {_If_("_cgiargu_" ne "1",_homelink_) _helplink_ _preflink_}
|
---|
[12178] | 17 | _homelink_ {_navtaborig_(_httppagehome_,_linktextHOME_,_textdescrhome_)}
|
---|
| 18 | _helplink_ {_navtaborig_(_httppagehelp_,_linktextHELP_,_textdescrhelp_)}
|
---|
| 19 | _preflink_ {_navtaborig_(_httppagepref_,_linktextPREFERENCES_,_textdescrpref_)}
|
---|
[11117] | 20 |
|
---|
| 21 | # The following is useful if collection specific macro. Override
|
---|
| 22 | # _optnavigationbar_ to be empty if you don't want the navigation bar to
|
---|
| 23 | # appear in the standard place, and then specify _navigationbar_ elsewhere
|
---|
| 24 | # in a collection specific macro file(s) to be where you do want it.
|
---|
| 25 | _optnavigationbar_{
|
---|
| 26 | <div class="navbar">
|
---|
| 27 | <p class="navbar">
|
---|
| 28 | _navigationbar_
|
---|
| 29 | </p>
|
---|
| 30 | </div>
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | _starthighlight_ {<span class="highlight">}
|
---|
| 34 | _endhighlight_ {</span>}
|
---|
| 35 |
|
---|
| 36 | # parameters are:
|
---|
| 37 | # 1. the url to go to when clicked
|
---|
| 38 | # 2. the name of the tab
|
---|
| 39 | # 3. alt/title explanatory text
|
---|
| 40 | # 4. optional "selected" or not if it is the current tab
|
---|
[12178] | 41 | _navtaborig_ {<a _If_("_4_" eq "selected",class="navlink_sel">_2_,class="navlink" href="_1_" title="_3_">_2_)</a>}
|
---|
[11117] | 42 |
|
---|
[12178] | 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>}
|
---|
[11117] | 48 |
|
---|
| 49 |
|
---|
| 50 | #######################################################################
|
---|
| 51 | # navigation bar images
|
---|
| 52 | #
|
---|
| 53 | #######################################################################
|
---|
| 54 |
|
---|
| 55 | # the spacer image - the width of this is calculated and set from server
|
---|
| 56 | _navbarspacer_ {<span style="margin-left: _widthtspace_px;"></span>}
|
---|
| 57 |
|
---|
| 58 | _navbarspacer_[v=1] {<br>
|
---|
| 59 | }
|
---|
| 60 |
|
---|
| 61 | # cgiargu means "static page", so no search link should be shown
|
---|
[12178] | 62 | _navtabsearch_ {_If_("_cgiargu_" ne "1",_navtab_(_httpquery_,Search,_1_))}
|
---|
[11117] | 63 |
|
---|
[12178] | 64 | package about
|
---|
[11156] | 65 |
|
---|
| 66 | _imagethispage_ {_titleabout_}
|
---|
| 67 |
|
---|
| 68 | package query
|
---|
[12178] | 69 |
|
---|
[11159] | 70 | _imagethispage_ {_labelSearch_}
|
---|
[11156] | 71 |
|
---|
| 72 |
|
---|
[11117] | 73 | package Style
|
---|
| 74 |
|
---|
| 75 | _imagescript_ {}
|
---|
| 76 |
|
---|
[11822] | 77 | #_bannertitle_ {_If_(_imagethispage_,<p class="bannertitle"><span class="bannertitle">_imagethispage_</span></p>)}
|
---|
[11156] | 78 |
|
---|
[11822] | 79 | _bannertitle_ {_If_(_imagethispage_,<p class="bannertitle">_imagethispage_</p>)}
|
---|
[11799] | 80 |
|
---|
[11822] | 81 | #<span class="bannertitlebackground">i</span>
|
---|
| 82 |
|
---|
[11117] | 83 | package home
|
---|
| 84 |
|
---|
| 85 | _preflink_ {_navtab_(_home:httppagehomepref_,_linktextPREFERENCES_,_textdescrpref_)}
|
---|
| 86 |
|
---|