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

Last change on this file since 6813 was 6813, checked in by mdewsnip, 20 years ago

Additions for the GsdlCollageApplet: a classifier that displays a collage of the images in a collection. By Katrina Edgar (kde2).

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