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

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

moved _imagethispage_ definitions into the nav_css/nav_ns4 macro files
so we can switch between text titles and image titles.

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