Changeset 4774 for trunk/gsdl/macros


Ignore:
Timestamp:
2003-06-24T12:28:40+12:00 (21 years ago)
Author:
sjboddie
Message:

No longer show search page (or search form on "about" page) if a collection
doesn't have at least one searchable index. Note that this change includes
the addition of an is_searchable() function to the protocol.

File:
1 edited

Legend:

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

    r3250 r4774  
    2424
    2525_If_("_cgiargct_" eq "0",
    26      _If_("_cgiargu_" ne "1",_query:queryform_<p>_iconblankbar_),
     26     _If_("_cgiargu_" ne "1",_aboutqueryform_),
    2727     <!-- no query form for mgpp - doesn\'t work from p=about -->
    2828    )
     
    3131<h3>_help:textsimplehelpheading_</h3>
    3232_help:simplehelp_
     33}
     34
     35# _aboutqueryform_ is reset to "" in the server if the collection isn't
     36# searchable
     37_aboutqueryform_ {
     38_query:queryform_
     39<p>_iconblankbar_</p>
    3340}
    3441
Note: See TracChangeset for help on using the changeset viewer.