source: trunk/gsdl/macros/help.dm@ 12789

Last change on this file since 12789 was 12782, checked in by kjdon, 18 years ago

added some more search help

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 5.5 KB
Line 
1# this file must be UTF-8 encoded
2
3package help
4
5_imagethispage_ {_textHelp_}
6
7_textnumbrowseoptions_ {_If_("_numbrowseoptions_" != "1",<p>_texttanumbrowseoptions_)}
8
9_simplehelp_ {
10_textnumbrowseoptions_
11_textbrowseoptions_
12}
13
14_content_ {
15_optnavigationbar_
16
17_texthelptopics_
18_If_(_cgiargc_,
19<div class="divbar">&nbsp;</div>
20<a name="finding-information"></a>
21<h2>_textsimplehelpheading_</h2>
22_simplehelp_)
23<div class="divbar">&nbsp;</div>
24<a name="reading-docs"></a>
25<h2>_textreadingdocs_</h2>
26_texthelpreadingdocs_
27<p>_texthelpiconsexplained_</p>
28<div class="divbar">&nbsp;</div>
29<a name="searching"></a>
30<h2>_texthelpsearchingtitle_</h2>
31_texthelpsearching_
32<div class="divbar">&nbsp;</div>
33<a name="query-terms"></a>
34<h3>_texthelpquerytermstitle_</h3>
35_texthelpqueryterms_
36_selectextrahelpsearching_
37<div class="divbar">&nbsp;</div>
38<a name="query-type"></a>
39<h3>_texthelpquerytypetitle_</h3>
40_texthelpquerytype_
41<div class="divbar">&nbsp;</div>
42<a name="scope-of-queries"></a>
43<h3 align=left>_texthelpscopetitle_</h3>
44_texthelpscope_
45_optionalformsearchhelp_
46<div class="divbar">&nbsp;</div>
47<a name="advanced-search"></a>
48<h3 align=left>_texthelpadvancedsearchtitle_</h3>
49_texthelpadvancedsearch_
50<p>_texthelpadvancedsearchextra_
51_optdatesearchhelp_
52<div class="divbar">&nbsp;</div>
53<a name="preferences"></a>
54<h2>_textchangeprefs_</h2>
55_texthelppreferences_
56<div class="divbar">&nbsp;</div>
57<a name="col-prefs"></a>
58<h3 align=left>_texthelpcollectionprefstitle_</h3>
59_texthelpcollectionprefs_
60<div class="divbar">&nbsp;</div>
61<a name="lang-prefs"></a>
62<h3 align=left>_texthelplanguageprefstitle_</h3>
63_texthelplanguageprefs_
64<div class="divbar">&nbsp;</div>
65<a name="pres-prefs"></a>
66<h3 align=left>_texthelppresentationprefstitle_</h3>
67_texthelppresentationprefs_
68<div class="divbar">&nbsp;</div>
69<a name="search-prefs"></a>
70<h3 align=left>_texthelpsearchprefstitle_</h3>
71_texthelpsearchprefs_
72<div class="divbar">&nbsp;</div>
73}
74
75
76_texthelptopics_ {
77<h2 align=left>_texthelptopicstitle_</h2>
78<ul>
79 _If_(_cgiargc_,<li><a href="\#finding-information">_textsimplehelpheading_</a>)
80 <li><a href="\#reading-docs">_textreadingdocs_</a>
81 <li><a href="\#searching">_texthelpsearchingtitle_</a>
82<ul>
83 <li><a href="\#query-terms">_texthelpquerytermstitle_</a>
84 <li><a href="\#query-type">_texthelpquerytypetitle_</a>
85 <li><a href="\#scope-of-queries">_texthelpscopetitle_</a>
86 _optionalformsearchhelpcontents_
87 <li><a href="\#advanced-search">_texthelpadvancedsearchtitle_</a>
88</ul>
89 _optdatesearchhelpcontents_
90 <li><a href="\#preferences">_textchangeprefs_</a>
91<ul>
92 <li><a href="\#col-prefs">_texthelpcollectionprefstitle_</a>
93 <li><a href="\#lang-prefs">_texthelplanguageprefstitle_</a>
94 <li><a href="\#pres-prefs">_texthelppresentationprefstitle_</a>
95 <li><a href="\#search-prefs">_texthelpsearchprefstitle_</a>
96</ul>
97</ul>
98}
99
100_texthelpiconsexplained_ {
101<table cellspacing="0" cellpadding="2" border="0">
102<tr><td colspan=2><img src="_httpiconbshelf_" border="0"></td><td>_texthelpopenbookshelf_</td></tr>
103<tr><td><img src="_httpiconbook_" border="0"></td><td><img src="_httpiconopenbook_" border="0"></td><td>_texthelpopenbook_</td></tr>
104<tr><td colspan=2><img src="_httpiconitext_" border="0"></td><td>_texthelpviewtextsection_</td></tr>
105<tr><td><img src="_httpiconless_" border="0"></td><td><img src="_httpiconmore_" border="0"></td><td>_texthelpsectionarrows_</td></tr>
106<tr><td>_document:imageexpandtext_</td><td>_document:imagecontracttext_</td><td>_texthelpexpandtext_</td></tr>
107<tr><td>_document:imageexpandtoc_</td><td>_document:imagecontracttoc_</td><td>_texthelpexpandcontents_</td></tr>
108<tr><td>_document:imagedetach_</td><td></td><td>_texthelpdetachpage_</td></tr>
109<tr><td>_document:imagehighlight_</td><td>_document:imagenohighlight_</td><td>_texthelphighlight_</td></tr>
110</table>
111}
112
113# this gets set to _datesearchhelp_ by the receptionist if datesearch is enabled in the collection
114_optdatesearchhelp_{}
115_optdatesearchhelpcontents_ {}
116_datesearchhelpcontents_ {
117 <li><a href="\#datesearch">_textdatesearch_</a>
118 <ul>
119 <li><a href="\#datesearch-howto">_texthelpdatehowtotitle_</a>
120 <li><a href="\#datesearch-results">_texthelpdateresultstitle_</a>
121 </ul>
122}
123
124_datesearchhelp_{
125<div class="divbar">&nbsp;</div>
126<a name="datesearch"></a>
127<h2>_textdatesearch_</h2>
128_texthelpdatesearch_
129<div class="divbar">&nbsp;</div>
130<a name="datesearch-howto"></a>
131<h3>_texthelpdatehowtotitle_</h3>
132_texthelpdatehowto_
133<div class="divbar">&nbsp;</div>
134<a name="datesearch-results"></a>
135<h3>_texthelpdateresultstitle_</h3>
136_texthelpdateresults_
137}
138
139_selectextrahelpsearching_ {
140_If_("_cgiargct_" eq "1",_texthelpmgppsearching_)
141_If_("_cgiargct_" eq "2",_texthelplucenesearching_)
142
143}
144
145_selectadvancedsearch_ {
146_If_("_cgiargct_" eq "0",_texthelpadvsearchmg_)
147_If_("_cgiargct_" eq "1",_texthelpadvsearchmgpp_)
148_If_("_cgiargct_" eq "2",_texthelpadvsearchlucene_)
149}
150
151_selectsearchtypeprefs_ {
152_If_("_cgiargct_" eq "0", _textsearchtypeprefsplain_,_mgppsearchtypeoptions_)
153}
154
155_mgppsearchtypeoptions_ {
156_If_("_cgiargqto_" eq "1", _textsearchtypeprefsplain_)
157_If_("_cgiargqto_" eq "2", _textsearchtypeprefsform_)
158_If_("_cgiargqto_" eq "3", _textsearchtypeprefsboth_)
159}
160_optionalformsearchhelp_{
161_If_("_cgiargqto_" eq "2", _formsearchhelp_)
162_If_("_cgiargqto_" eq "3", _formsearchhelp_)
163}
164
165_formsearchhelp_{
166<div class="divbar">&nbsp;</div>
167<a name="form-search"></a>
168<h3 align=left>_texthelpformsearchtitle_</h3>
169_texthelpformsearch_
170}
171
172_optionalformsearchhelpcontents_ {
173_If_("_cgiargqto_" eq "2", _formsearchhelpcontents_)
174_If_("_cgiargqto_" eq "3", _formsearchhelpcontents_)
175}
176
177_formsearchhelpcontents_ {
178<li><a href="\#form-search">_texthelpformsearchtitle_</a>
179}
180
Note: See TracBrowser for help on using the repository browser.