root/main/trunk/greenstone2/macros/help.dm @ 32220

Revision 13434, 6.5 KB (checked in by kjdon, 13 years ago)

added alt and title tags for the images in the 'how to read the documents' section

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