source: main/tags/2.41-fiji/gsdl/macros/about.dm@ 23205

Last change on this file since 23205 was 4774, checked in by sjboddie, 21 years ago

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.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1package about
2
3#######################################################################
4# Icons
5#######################################################################
6
7_imagethispage_ {<img src="_httpiconhabout_" width=_widthhabout_ height=_heighthabout_>}
8
9# don't want link to 'about' page
10_imagecollection_ {_If_("_iconcollection_" ne "",
11 <img src="_iconcollection_" border=0>,<br><br><h2>_collectionname_</h2>)}
12_imagecollection_ [v=1] {<br><br><h2>_collectionname_</h2>}
13
14#######################################################################
15# about page content
16#######################################################################
17
18_pagetitle_ {_collectionname_}
19
20_content_ {
21<center>
22_navigationbar_
23</center>
24
25_If_("_cgiargct_" eq "0",
26 _If_("_cgiargu_" ne "1",_aboutqueryform_),
27 <!-- no query form for mgpp - doesn\'t work from p=about -->
28 )
29_If_(_Global:collectionextra_,<p>_textabout_)
30_textsubcollections_
31<h3>_help:textsimplehelpheading_</h3>
32_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>
40}
41
42_textabout_ {
43<h3>_textabcol_</h3>
44_Global:collectionextra_
45}
46
47# set from within server
48_textsubcollections_ {}
Note: See TracBrowser for help on using the repository browser.