Changeset 283 for trunk/gsdl/macros/document.dm
- Timestamp:
- 1999-06-24T17:11:41+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/document.dm
r276 r283 5 5 ####################################################################### 6 6 7 8 _random_ {rand} 7 9 _classificationlinks_ {} 8 10 _imagethispage_ {} 9 11 _httpprevarrow_ {} 10 12 _httpnextarrow_ {} 13 _pagetitle_ {} 11 14 12 15 ####################################################################### … … 22 25 _classificationlinks_ 23 26 </center> 27 } 28 29 30 ####################################################################### 31 # javascript macros 32 # 33 # there should be one of these for each flashy javascript button 34 # that may appear within a document page 35 ####################################################################### 36 37 _javadetach_ { 38 detach\_on = new Image(_widthedtchx_, _heightedtchx_); 39 detach\_on.src = "_httpiconedtchon_"; 40 detach\_off = new Image(_widthedtchx_, _heightedtchx_); 41 detach\_off.src = "_httpiconedtchof_"; 42 } 43 44 _javaexpandcontents_ { 45 expcon\_on = new Image(_widtheexpcx_, _heighteexpcx_); 46 expcon\_on.src = "_httpiconeexpcon_"; 47 expcon\_off = new Image(_widtheexpcx_, _heighteexpcx_); 48 expcon\_off.src = "_httpiconeexpcof_"; 49 } 50 51 _javacontractcontents_ { 52 concon\_on = new Image(_widtheconcx_, _heighteconcx_); 53 concon\_on.src = "_httpiconeconcon_"; 54 concon\_off = new Image(_widtheconcx_, _heighteconcx_); 55 concon\_off.src = "_httpiconeconcof_"; 56 } 57 58 _javaexpandtext_ { 59 alltext\_on = new Image(_widthealltx_, _heightealltx_); 60 alltext\_on.src = "_httpiconeallton_"; 61 alltext\_off = new Image(_widthealltx_, _heightealltx_); 62 alltext\_off.src = "_httpiconealltof_"; 63 } 64 65 _javacontracttext_ { 66 thissec\_on = new Image(_widthetsecx_, _heightetsecx_); 67 thissec\_on.src = "_httpiconetsecon_"; 68 thissec\_off = new Image(_widthetsecx_, _heightetsecx_); 69 thissec\_off.src = "_httpiconetsecof_"; 70 } 71 72 _javahighlighting_ { 73 hl\_on = new Image(_widthehlx_, _heightehlx_); 74 hl\_on.src = "_httpiconehlon_"; 75 hl\_off = new Image(_widthehlx_, _heightehlx_); 76 hl\_off.src = "_httpiconehlof_"; 77 } 78 79 _javanohighlighting_ { 80 nhl\_on = new Image(_widthenhlx_, _heightenhlx_); 81 nhl\_on.src = "_httpiconenhlon_"; 82 nhl\_off = new Image(_widthenhlx_, _heightenhlx_); 83 nhl\_off.src = "_httpiconenhlof_"; 84 } 85 86 _javacontinue_ { 87 cont\_on = new Image(_widthcontx_, _heightcontx_); 88 cont\_on.src = "_httpiconconton_"; 89 cont\_off = new Image(_widthcontx_, _heightcontx_); 90 cont\_off.src = "_httpiconcontoff_"; 24 91 } 25 92 … … 62 129 63 130 ####################################################################### 64 # i mages131 # icons 65 132 ####################################################################### 66 133 … … 72 139 _iconTitlepage_ [version=text] {<h2>_texticonhtitle_</h2>} 73 140 141 _iconListpage_ {<img src="_httpiconhlist_" width=_widthhlist_ 142 height=_heighthlist_} 143 _iconListpage_ [version=text] {<h2>_texticonhlist_</h2>} 144 74 145 _iconCreatorpage_ {<img src="_httpiconhauth_" width=_widthhauth_ 75 146 height=_heighthauth_} … … 96 167 _iconOrganizationpage_ [version=text] {<h2>_texticonhorg_</h2>} 97 168 169 170 _iconsmalltext_ {<img src="_httpiconsmtext_" border=0 width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_">} 171 _iconsmalltext_ [version=text] {<small><b>_texticonsmalltext2_</b></small>} 172 173 _iconclosedfolder_ {<img src="_httpiconclsdfldr_" border=0 width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_">} 174 _iconclosedfolder_ [version=text] {<small><b>_texticonclosedfolder2_</b></small>} 175 176 _iconopenfolder_ {<img src="_httpiconopenfldr_" border=0 width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_">} 177 _iconopenfolder_ [version=text] {<small><b>_texticonopenfolder2_</b></small>} 178 179 _iconclosedbook_ {<img src="_httpiconbook_" width=_widthbook_ height=_heightbook_ border=0 alt="_texticonclosedbook_">} 180 _iconclosedbook_ [version=text] {<small><b>_texticonclosedbook_: </b></small>} 181 182 _iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ border=0 alt="_texticonopenbook_">} 183 _iconopenbook_ [version=text] {<small><b>_texticonopenbook_: </b></small>} 184 185 _iconopenbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_">} 186 _iconopenbookshelf_ [version=text] {<small><b>_texticonopenbookshelf_: </b></small>} 187 188 _iconclosedbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_">} 189 _iconclosedbookshelf_ [version=text] {<small><b>_texticonclosedbookshelf_: </b></small>} 190 191 _iconpointer_ {<img src="_httpiconarrrght_" border=0 width=_widtharrrght_ height=_heightarrrght_>} 192 _iconpointer_ [version=text] {<small><b>_texticonpointer_-> </b></small>} 193 194 _icontab_ {<img src="_httpicontabspace_" width=_widthtabspace_ height=_heighttabspace_>} 195 196 _iconcontracttoc_ {<img name="concon" src="_httpiconeconcof_" width=_widtheconcx_ height=_heighteconcof_ alt="_texticoncontracttoc_" border=0>} 197 _iconcontracttoc_[version=text] {_texticoncontracttoc_} 198 199 _iconexpandtoc_ {<img name="expcon" src="_httpiconeexpcof_" width=_widtheexpx_ height=_heighteexpcx_ alt="_texticonexpandtoc_" border=0>} 200 _iconexpandtoc_[version=text] {_texticonexpandtoc_} 201 202 _iconcontracttext_ {<img name="thissec" src="_httpiconetsecof_" width=_widthetsecx_ height=_heightetsecx_ alt="_texticoncontracttext_" border=0>} 203 _iconcontracttext_[version=text] {_texticoncontracttext_} 204 205 _iconexpandtext_ {<img name="alltext" src="_httpiconealltof_" width=_widthealltx_ height=_heightealltx_ alt="_texticonexpandtext_" border=0>} 206 _iconexpandtext_[version=text] {_texticonexpandtext_} 207 208 _icondetach_ {<img name="detach" src="_httpiconedtchof_" width=_widthedtchx_ height=_heightedtchx_ alt="_texticondetach_" border=0>} 209 _icondetach_[version=text] {_texticondetach_} 210 211 _iconhighlight_ {<img name="hl" src="_httpiconehlof_" width=_widthehlx_ height=_heightehlx_ alt="_texticonhighlight_" border=0>} 212 _iconhighlight_ [version=text] {_texticonhighlight_} 213 214 _iconnohighlight_ {<img name="nhl" src="_httpiconenhlof_" width=_widthenhlx_ height=_heightenhlx_ alt="_texticonnohighlight_" border=0>} 215 _iconnohighlight_ [version=text] {_texticonnohighlight_} 216 217 _iconwarning_ {<img src="_httpiconwarning_" width=_widthwarning_ height=_heightwarning_ border=0 align=left>} 218 _iconwarning_ [version=text] {_texticonwarning_} 219 220 _iconcont_ {<img name="cont" src="_httpiconcontoff_" width=_widthcontx_ height=_heightcontx_ border=0>} 221 _iconcont_ [version=text] {_texticoncont_} 222 223 224 ####################################################################### 225 # images 226 ####################################################################### 227 228 _imagedetach_ {<a href="_httpcurrentdocument_&x=1" target=_random_ onMouseover = "img\_on('detach')" 229 onMouseout = "img\_off('detach')">_icondetach_</a>} 230 _imagedetach_[version=text] {<a href="_httpcurrentdocument_&x=1" target=_random_>_texticondetach_</a><br>} 231 232 _imagehighlight_ {<a href="_httpcurrentdocument_&hl=1" onMouseover = "img\_on('hl')" 233 onMouseout = "img\_off('hl')">_iconhighlight_</a>} 234 _imagehighlight_ [version=text] {<a href="_httpcurrentdocument_&hl=1">_texticonhighlight_</a><br>} 235 236 _imagenohighlight_ {<a href="_httpcurrentdocument_&hl=0" onMouseover = "img\_on('nhl')" 237 onMouseout = "img\_off('nhl')">_iconnohighlight_</a>} 238 _imagenohighlight_ [version=text] {<a href="_httpcurrentdocument_&hl=0">_texticonnohighlight_</a><br>} 239 240 _imagecontracttoc_ {<a href="_httpcurrentdocument_&gc=0" onMouseover = "img\_on('concon')" 241 onMouseout = "img\_off('concon')">_iconcontracttoc_</a>} 242 _imagecontracttoc_[version=text] {"<a href="_httpcurrentdocument_&gc=0">_texticoncontracttoc_</a><br>} 243 _imagecontracttoc_[style=htmlonly] {} 244 245 _imageexpandtoc_ {<a href="_httpcurrentdocument_&gc=1" onMouseover = "img\_on('expcon')" 246 onMouseout = "img\_off('expcon')">_iconexpandtoc_</a>} 247 _imageexpandtoc_ [version=text] {"<a href="_httpcurrentdocument_&gc=1">_texticonexpandtoc_</a><br>} 248 _imageexpandtoc_ [style=htmlonly] {} 249 250 _imagecontracttext_ {<a href="_httpcurrentdocument_&gt=0" onMouseover = "img\_on('thissec')" 251 onMouseout = "img\_off('thissec')">_iconcontracttext_</a>} 252 _imagecontracttext_[version=text] {<a href="_httpcurrentdocument_&gt=0">display only current section</a><br>} 253 _imagecontracttext_[style=htmlonly] {} 254 255 _imageexpandtext_ {<a href="_httpcurrentdocument_&gt=1" onMouseover = "img\_on('alltext')" 256 onMouseout = "img\_off('alltext')">_iconexpandtext_</a>} 257 _imageexpandtext_[version=text] {<a href="_httpcurrentdocument_&gt=1">display all text</a><br>} 258 _imageexpandtext_[style=htmlonly] {} 259 260 _imagecont_ {<a href="_httpcurrentdocument_&gt=2" onMouseover = "img\_on('cont')" 261 onMouseout = "img\_off('cont')">_iconcont_</a>} 262 _imagecont_[version=text] {<a href="_httpcurrentdocument&gt=2">_texticoncont_</a><br>} 263 264 98 265 ####################################################################### 99 266 # https 267 # 268 # These contain the url without any quotes 100 269 ####################################################################### 101 270 … … 103 272 _widthhtitle_ {200} 104 273 _heighthtitle_ {57} 274 275 _httpiconhlist_ {_httpimg_/h\_list.gif} 276 _widthhlist_ {200} 277 _heighthlist_ {57} 105 278 106 279 _httpiconhauth_ {_httpimg_/h\_auth.gif} … … 131 304 _heighthorg_ {57} 132 305 306 _httpiconsmtext_ {_httpimg_/smtext.gif} 307 _widthsmtext_ {23} 308 _heightsmtext_ {15} 309 310 _httpiconclsdfldr_ {_httpimg_/clsdfldr.gif} 311 _widthclsdfldr_ {23} 312 _heightclsdfldr_ {15} 313 314 _httpiconcontoff_ {_httpimg_/contoff.gif} 315 _httpiconconton_ {_httpimg_/conton.gif} 316 _widthcontx_ {76} 317 _heightcontx_ {17} 318 319 _httpiconealltof_ {_httpimg_/ealltof.gif} 320 _httpiconealltof_ [language=mi] {_httpimg_/mealltof.gif} 321 _httpiconeallton_ {_httpimg_/eallton.gif} 322 _httpiconeallton_ [language=mi] {_httpimg_/meallton.gif} 323 _widthealltx_ {46} 324 _widthealltx_ [language=mi] {42} 325 _heightealltx_ {30} 326 327 _httpiconeconcof_ {_httpimg_/econcof.gif} 328 _httpiconeconcon_ {_httpimg_/econcon.gif} 329 _widtheconcx_ {63} 330 _heighteconcx_ {30} 331 332 _httpiconedtchof_ {_httpimg_/edtchof.gif} 333 _httpiconedtchof_ [language=mi] {_httpimg_/medtchof.gif} 334 _httpiconedtchon_ {_httpimg_/edtchon.gif} 335 _httpiconedtchon_ [language=mi] {_httpimg_/medtchon.gif} 336 _widthedtchx_ {47} 337 _widthedtchx_ [language=mi] {56} 338 _heightedtchx_ {30} 339 340 _httpiconeexpcof_ {_httpimg_/eexpcof.gif} 341 _httpiconeexpcon_ {_httpimg_/eexpcon.gif} 342 _widtheexpcx_ {60} 343 _heighteexpcx_ {30} 344 345 _httpiconetsecof_ {_httpimg_/etsecof.gif} 346 _httpiconetsecof_ [language=mi] {_httpimg_/metsecof.gif} 347 _httpiconetsecon_ {_httpimg_/etsecon.gif} 348 _httpiconetsecon_ [language=mi] {_httpimg_/metsecon.gif} 349 _widthetsecx_ {63} 350 _widthetsecx_ [language=mi] {53} 351 _heightetsecx_ {30} 352 353 _httpiconehlof_ {_httpimg_/ehlof.gif} 354 _httpiconehlon_ {_httpimg_/ehlon.gif} 355 _widthehlx_ {53} 356 _heightehlx_ {30} 357 358 _httpiconenhlof_ {_httpimg_/enhlof.gif} 359 _httpiconenhlon_ {_httpimg_/enhlon.gif} 360 _widthenhlx_ {57} 361 _heightenhlx_ {30} 362 133 363 134 364 ####################################################################### … … 165 395 # English language text macros 166 396 ####################################################################### 397 398 _textTitlepage_ {_texticonhtitle_} 399 _textCreatorpage_ {_texticonhauth_} 400 _textSubjectpage_ {_texticonhsubj_} 401 _textSeriespage_ {_texticonhser_} 402 _textDatespage_ {_texticonhdate_} 403 _textHowtopage_ {_texticonhhow_} 404 _textOrganizationpage_ {_texticonhorg_} 167 405 168 406 _texticonhtitle_ {Titles A-Z} … … 174 412 _texticonhorg_ {Organizations} 175 413 414 _texticonopenbookshelf_ {close this section of the library} 415 _texticonclosedbookshelf_ {open this section of the library and view contents} 416 _texticonclosedbook_ {open this book and view contents} 417 _texticonopenbook_ {close this book} 418 _texticonclosedfolder_ {Open this folder and view contents} 419 _texticonclosedfolder2_ {open sub-section: } 420 _texticonopenfolder_ {close this folder} 421 _texticonopenfolder2_ {close sub-section: } 422 _texticonsmalltext_ {View this section of the text} 423 _texticonsmalltext2_ {view text: } 424 _texticonpointer_ {current section} 425 _texticondetach_ {Open this page in a new window} 426 _texticonhighlight_ {Highlight search terms} 427 _texticonnohighlight_ {Don't highlight search terms} 428 _texticoncontracttoc_ {Collapse table of contents} 429 _texticonexpandtoc_ {Expand table of contents} 430 _texticonexpandtext_ {Display all text} 431 _texticoncontracttext_ {Display text only for currently selected section} 432 _texticonwarning_ {<b>Warning: </b>} 433 _texticoncont_ {continue?} 434 435 _textltwarning_ { 436 <p><center> 437 <table cellspacing=0 cellpadding=0 width=_pagewidth_> 438 <tr valign=top><td>_iconwarning_Expanding the text here will generate a large 439 amount of data for your browser to display _imagecont_ 440 </td></tr></table></center> 441 } 442 443 444 ####################################################################### 445 # Maori text macros 446 ####################################################################### 447 448 _texticondetach_ [language=mi] {Huakina mai he matapihi hou mö tënei körero} 449 _texticonexpandtext_ [language=mi] {Titiro ki ngä kupu katoa o tënei niupepa} 450 _texticoncontracttext_ [language=mi] {Titiro ki ngä kupu o tënei whärangi anake} 451 _texticonopenbookshelf_ [language=mi] {kätia} 452 _texticonclosedbookshelf_ [language=mi] {whakatüwhera mai} 453 _texticonclosedbook_ [language=mi] {whakatüwhera mai} 454 _texticonopenbook_ [language=mi] {kätia} 455 _texticonpointer_ [language=mi] {wähanga e tiro ana}
Note:
See TracChangeset
for help on using the changeset viewer.