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

Last change on this file since 11466 was 11294, checked in by jrm21, 18 years ago

added a class="document" around most of the content (under the navbar)
for consistency with other pages, for customising css.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 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_">,<br><br><h2>_collectionname_</h2>)}
13_imagecollection_ [v=1] {<br><br><h2>_collectionname_</h2>}
14
15#######################################################################
16# about page content
17#######################################################################
18
19_pagetitle_ {_collectionname_}
20
21_content_ {
22_optnavigationbar_
23
24<div class="document">
25_If_("_cgiargct_" eq "0",
26 _If_("_cgiargu_" ne "1",_aboutqueryform_)
27 )
28_If_("_cgiargct__cgiargqto_" eq "11",
29 _If_("_cgiargu_" ne "1",_aboutqueryform_)
30 )
31_If_("_cgiargct__cgiargqto_" eq "21",
32 _If_("_cgiargu_" ne "1",_aboutqueryform_)
33 )
34
35_If_("_cgiargct__cgiargqto__cgiargqt_" eq "130",
36 _If_("_cgiargu_" ne "1",_aboutqueryform_)
37 )
38_If_("_cgiargct__cgiargqto__cgiargqt_" eq "230",
39 _If_("_cgiargu_" ne "1",_aboutqueryform_)
40 )
41_If_(_Global:collectionextra_,<p>_textabout_)
42_textsubcollections_
43
44<div class="section">
45<h3>_help:textsimplehelpheading_</h3>
46_help:simplehelp_
47</div>
48
49</div>
50}
51
52# _aboutqueryform_ is reset to "" in the server if the collection isn't
53# searchable
54_aboutqueryform_ {
55<div class="queryform">
56_query:queryform_
57</div>
58
59<div class="divbar">&nbsp;</div>
60}
61
62_textabout_ {
63<div class="section">
64<h3>_textabcol_</h3>
65_Global:collectionextra_
66</div>
67}
68
69# set from within server
70_textsubcollections_ {}
71
72_aboutCollage_ {}
73_classifier_ {}
74_collageempty_ {There is no collage classifier defined for this collection!}
75_collageapplet_ {
76
77 <p>
78 <center>
79
80 <applet CODEBASE="_httpprefix_/bin/java" code="org.nzdl.gsdl.GsdlCollageApplet.GsdlCollageApplet.class"
81 archive="GsdlCollageApplet.jar" width="445" height="250">
82
83 <param name="gwcgi" value="_gwcgi_">
84 <param name="collection" value="_cgiargc_">
85 <param name="classifier" value="CL_classifier_.1">
86
87 <param name="hrefMustHave" value="cl=CL_classifier_.1">
88 <param name="imageMustNotHave" value="hl=%x=%gt=%gc=%.pr">
89
90 <param name="imageType" value=".jpg%.png">
91 <param name="verbosity" value="5">
92 <param name="maxDepth" value="3">
93 <param name="refreshDelay" value="1500">
94 <param name="isJava2" value="auto">
95
96 </applet>
97
98 </center>
99 <p>
100}
Note: See TracBrowser for help on using the repository browser.