Ignore:
Timestamp:
2011-01-05T09:18:04+13:00 (13 years ago)
Author:
sjm84
Message:

Merging the latest trunk changes into this branch

Location:
main/branches/64_bit_Greenstone/greenstone2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/branches/64_bit_Greenstone/greenstone2

  • main/branches/64_bit_Greenstone/greenstone2/macros/nav_css.dm

    r20611 r23523  
    1414#######################################################################
    1515
    16 _globallinks_ {_If_("_cgiargu_" ne "1",_homelink_) _helplink_ _preflink_}
    17 _homelink_ {_navtaborig_(_httppagehome_,_linktextHOME_,_textdescrhome_)}
    18 _helplink_ {_navtaborig_(_httppagehelp_,_linktextHELP_,_textdescrhelp_)}
    19 _preflink_ {_navtaborig_(_httppagepref_,_linktextPREFERENCES_,_textdescrpref_)}
     16_globallinks_ {_If_("_cgiargu_" ne "1",_homelink_) _helplink_ _preflink__optloginlink_}
     17_homelink_  {_navtaborig_(_httppagehome_,_linktextHOME_,_textdescrhome_)}
     18_helplink_  {_navtaborig_(_httppagehelp_,_linktextHELP_,_textdescrhelp_)}
     19_preflink_  {_navtaborig_(_httppagepref_,_linktextPREFERENCES_,_textdescrpref_)}
     20
     21_optloginlink_ {
     22  _If_("_activateweb20_" >= "1",_If_("x_cgiargun__cgiarguan_" ne "x1",_loginlink_))
     23}
     24
     25_loginlink_ {
     26
     27    _If_(_cgiargun_,
     28      _navtablogoutorig_(_linktextLOGOUT_,_textdescrlogout_) _linktextLOGGEDIN_
     29      <script type="text/javascript">
     30        appendUsernameArgs("logout","uan=&un=")
     31      </script>
     32    ,
     33      _navtabloginorig_(_linktextLOGIN_,_textdescrlogin_)
     34      <script type="text/javascript">
     35        appendUsernameArgs("login","uan=1")
     36      </script>
     37    )
     38}
    2039
    2140
     
    4160# 4. optional "selected" or not if it is the current tab
    4261_navtaborig_ {<a _If_("_4_" eq "selected",class="navlink_sel">_2_,class="navlink" href="_1_" title="_3_">_2_)</a>}
     62
     63# same sa above, but without _1_ as there is no hyperlink to go to (want to say on the same page)
     64_navtabloginorig_ {<a _If_("_3_" eq "selected",class="navlink_sel postit">_1_,class="navlink postit" id="login" href="" title="_2_">_1_)</a>}
     65
     66# same sa above, but without _1_ as there is no hyperlink to go to (want to say on the same page)
     67_navtablogoutorig_ {<a _If_("_3_" eq "selected",class="navlink_sel postit">_1_,class="navlink postit" id="logout" href="" title="_2_">_1_)</a>}
    4368
    4469# parameters are
Note: See TracChangeset for help on using the changeset viewer.