Changeset 13370


Ignore:
Timestamp:
2006-11-29T14:25:13+13:00 (17 years ago)
Author:
shaoqun
Message:

added the next and previous search result link macros for document pages

File:
1 edited

Legend:

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

    r12944 r13370  
    1515# custom header for individual document
    1616_documentheader_ {}
     17
     18
    1719#######################################################################
    1820# page content
    1921#######################################################################
    2022
     23_nextsearchresult_ {_If_("_cgiargsrn_" ne "0" ,<div class="nextresult"><a href="_httpquery_&amp;ifl=1&amp;ifln=_cgiargsrn_">_textnextsearchresult_</a></div>,)}
     24
     25_prevsearchresult_ {_If_("_cgiargsrp_"  ne "0" ,<div class="prevresult"><a href="_httpquery_&amp;ifl=1&amp;ifln=_cgiargsrp_">_textprevsearchresult_</a></div>,) }
    2126
    2227_content_ {
     
    2934</p>
    3035)
     36
     37<div class="searchresults">
     38_prevsearchresult_
     39_nextsearchresult_
     40</div>
     41
    3142<div class="document">
     43
     44
    3245}
    3346
Note: See TracChangeset for help on using the changeset viewer.