source: trunk/gsdl/macros/about.dm@ 12540

Last change on this file since 12540 was 11989, checked in by kjdon, 18 years ago

ct, qt and qto are set by the server, so will always be set. can just check qt arg to see what kind of search form there is

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1# this file must be UTF-8 encoded
2package about
3
4#######################################################################
5# Icons
6#######################################################################
7
8# _imagethispage_ set in nav_css/nav_ns4 macro files
9
10# don't want link to 'about' page
11_imagecollection_ {_If_("_iconcollection_" ne "",
12 <img class="icon" src="_iconcollection_" title="_collectionname_">,_imagecollectionv_)}
13_imagecollection_ [v=1] {_imagecollectionv_}
14_imagecollectionv_ {<p class="collectiontitle">_collectionname_</p>}
15#######################################################################
16# about page content
17#######################################################################
18
19_pagetitle_ {_collectionname_}
20
21_content_ {
22_optnavigationbar_
23
24<p>
25<div class="document">
26_If_("_cgiargqt_" ne "1",
27 _If_("_cgiargu_" ne "1",_aboutqueryform_)
28 )
29_If_(_Global:collectionextra_,<p>_textabout_)
30_textsubcollections_
31
32<div class="section">
33<h3>_help:textsimplehelpheading_</h3>
34_help:simplehelp_
35</div>
36
37</div>
38}
39
40
41# _aboutqueryform_ is reset to "" in the server if the collection isn't
42# searchable or if the search form is a fielded form (and therefore too
43# big to fit)
44_aboutqueryform_ {
45<div class="queryform">
46_query:queryform_
47</div>
48
49<div class="divbar">&nbsp;</div>
50}
51
52_textabout_ {
53<div class="section">
54<h3>_textabcol_</h3>
55_Global:collectionextra_
56</div>
57}
58
59# set from within server
60_textsubcollections_ {}
61
62_aboutCollage_ {}
63_classifier_ {}
64_collageempty_ {There is no collage classifier defined for this collection!}
65_collageapplet_ {
66
67 <p>
68 <center>
69
70 <applet CODEBASE="_httpprefix_/bin/java" code="org.nzdl.gsdl.GsdlCollageApplet.GsdlCollageApplet.class"
71 archive="GsdlCollageApplet.jar" width="445" height="250">
72
73 <param name="gwcgi" value="_gwcgi_">
74 <param name="collection" value="_cgiargc_">
75 <param name="classifier" value="CL_classifier_.1">
76
77 <param name="hrefMustHave" value="cl=CL_classifier_.1">
78 <param name="imageMustNotHave" value="hl=%x=%gt=%gc=%.pr">
79
80 <param name="imageType" value=".jpg%.png">
81 <param name="verbosity" value="5">
82 <param name="maxDepth" value="3">
83 <param name="refreshDelay" value="1500">
84 <param name="isJava2" value="auto">
85
86 </applet>
87
88 </center>
89 <p>
90}
Note: See TracBrowser for help on using the repository browser.