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

Last change on this file since 10919 was 10872, checked in by jrm21, 19 years ago

extensive modifications of generated HTML to support HTML4 and CSS.
Style sheets are the images/ directory. This should make it much easier
to make custom themes for collections, merely by modifying the style
sheet.

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