Changeset 13370

Show
Ignore:
Timestamp:
29.11.2006 14:25:13 (13 years ago)
Author:
shaoqun
Message:

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

Files:
1 modified

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