source: main/tags/2.51-jcdl/gsdl/macros/about.dm@ 25200

Last change on this file since 25200 was 7503, checked in by davidb, 20 years ago

Modification made to navigation bar so its position in the default location
of the page is optional. Useful when you want to include the navigation
bar somewhere else. It's straightforward enough to add text that include
the navigation bar in the a new place, but without this modification there
is a lot of editing to do to supress it also appearing in its default position.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1# this file must be UTF-8 encoded
2package about
3
4#######################################################################
5# Icons
6#######################################################################
7
8_imagethispage_ {<img src="_httpiconhabout_" width=_widthhabout_ height=_heighthabout_>}
9
10# don't want link to 'about' page
11_imagecollection_ {_If_("_iconcollection_" ne "",
12 <img src="_iconcollection_" border=0 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<center>
23_optnavigationbar_
24</center>
25
26_If_("_cgiargct_" eq "0",
27 _If_("_cgiargu_" ne "1",_aboutqueryform_)
28 )
29_If_("_cgiargct__cgiargqto_" eq "11",
30 _If_("_cgiargu_" ne "1",_aboutqueryform_)
31 )
32
33_If_("_cgiargct__cgiargqto__cgiargqt_" eq "130",
34 _If_("_cgiargu_" ne "1",_aboutqueryform_)
35 )
36_If_(_Global:collectionextra_,<p>_textabout_)
37_textsubcollections_
38<h3>_help:textsimplehelpheading_</h3>
39_help:simplehelp_
40}
41
42# _aboutqueryform_ is reset to "" in the server if the collection isn't
43# searchable
44_aboutqueryform_ {
45_query:queryform_
46<p>_iconblankbar_</p>
47}
48
49_textabout_ {
50<h3>_textabcol_</h3>
51_Global:collectionextra_
52}
53
54# set from within server
55_textsubcollections_ {}
56
57_aboutCollage_ {}
58_classifier_ {}
59_collageempty_ {There is no collage classifier defined for this collection!}
60_collageapplet_ {
61
62 <p>
63 <center>
64
65 <applet CODEBASE="_httpprefix_/bin/java" code="org.nzdl.gsdl.GsdlCollageApplet.GsdlCollageApplet.class"
66 archive="GsdlCollageApplet.jar" width="445" height="250">
67
68 <param name="gwcgi" value="_gwcgi_">
69 <param name="collection" value="_cgiargc_">
70 <param name="classifier" value="CL_classifier_.1">
71
72 <param name="hrefMustHave" value="cl=CL_classifier_.1">
73 <param name="imageMustNotHave" value="hl=%x=%gt=%gc=%.pr">
74
75 <param name="imageType" value=".jpg%.png">
76 <param name="verbosity" value="5">
77 <param name="maxDepth" value="3">
78 <param name="refreshDelay" value="1500">
79 <param name="isJava2" value="auto">
80
81 </applet>
82
83 </center>
84 <p>
85}
Note: See TracBrowser for help on using the repository browser.