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 | |
---|
1 | package 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.