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

Last change on this file since 13038 was 12876, checked in by kjdon, 18 years ago

some changes to help. some thanks to suggestions made by John Rose. Also made the stem,case,accent prefs help under the control of ss, ks, afs args

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 5.9 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<div class="divbar">&nbsp;</div>
46<a name="advanced-search"></a>
47<h3 align=left>_texthelpadvancedsearchtitle_(_selectindexer_)</h3>
48_texthelpadvancedsearch_
49<p>_texthelpadvancedsearchextra_
50_optionalformsearchhelp_
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 <li><a href="\#advanced-search">_texthelpadvancedsearchtitle_(_selectindexer_)</a>
87 _optionalformsearchhelpcontents_
88 _optdatesearchhelpcontents_
89</ul>
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_selectindexer_ {
140_If_("_cgiargct_" eq "0",MG)
141_If_("_cgiargct_" eq "1",MGPP)
142_If_("_cgiargct_" eq "2",Lucene)
143}
144
145_selectextrahelpsearching_ {
146_If_("_cgiargct_" eq "1",_texthelpmgppsearching_)
147_If_("_cgiargct_" eq "2",_texthelplucenesearching_)
148
149}
150
151_selectadvancedsearch_ {
152_If_("_cgiargct_" eq "0",_texthelpadvsearchmg_)
153_If_("_cgiargct_" eq "1",_texthelpadvsearchmgpp_)
154_If_("_cgiargct_" eq "2",_texthelpadvsearchlucene_)
155}
156
157_selectsearchtypeprefs_ {
158_If_("_cgiargct_" eq "0", _textsearchtypeprefsplain_,_mgppsearchtypeoptions_)
159}
160
161_mgppsearchtypeoptions_ {
162_If_("_cgiargqto_" eq "1", _textsearchtypeprefsplain_)
163_If_("_cgiargqto_" eq "2", _textsearchtypeprefsform_)
164_If_("_cgiargqto_" eq "3", _textsearchtypeprefsboth_)
165}
166_optionalformsearchhelp_{
167_If_("_cgiargqto_" eq "2", _formsearchhelp_)
168_If_("_cgiargqto_" eq "3", _formsearchhelp_)
169}
170
171_formsearchhelp_{
172<div class="divbar">&nbsp;</div>
173<a name="form-search"></a>
174<h3 align=left>_texthelpformsearchtitle_</h3>
175_texthelpformsearch_
176}
177
178_optionalformsearchhelpcontents_ {
179_If_("_cgiargqto_" eq "2", _formsearchhelpcontents_)
180_If_("_cgiargqto_" eq "3", _formsearchhelpcontents_)
181}
182
183_formsearchhelpcontents_ {
184<li><a href="\#form-search">_texthelpformsearchtitle_</a>
185}
186
187_selectwordmodificationprefs_ {
188_If_("_cgiargks_" eq "1", <p>_textcasefoldprefs_)
189_If_("_cgiargss_" eq "1", <p>_textstemprefs_)
190_If_("_cgiargafs_" eq "1", <p>_textaccentfoldprefs_)
191}
192
193_selectstemoptionsprefs_ {
194_If_("_cgiargct_" eq "1",_textstemoptionsprefs_)
195}
196
Note: See TracBrowser for help on using the repository browser.