- Timestamp:
- 1999-08-12T11:32:00+12:00 (25 years ago)
- Location:
- trunk/gsdl/macros
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/base.dm
r306 r454 34 34 _Organizationwidth_ {_widthtorgx_} 35 35 _Howtowidth_ {_widththowx_} 36 _Topicwidth_ {_widthttopicx_} 37 _Browsewidth_ {_widthtbrwsex_} 36 38 37 39 ####################################################################### … … 66 68 67 69 _optionhstx_ {chapters} 68 _optionhstx_ [collection=gberg] {pages}69 _optionhstt_ {titles}70 70 _optionhscr_ {authors} 71 _optionhdtx_ {entire books} 72 _optionhstt_ {section titles} 73 _optionhptx_ {paragraphs} 74 75 # gberg 71 76 _optionhdtt_ {titles} 72 77 _optionhdcr_ {authors} 73 _optionhdtx_ {entire books} 78 _optionhstx_ [collection=gberg] {pages} 79 80 # hcibib 81 _optionhdsr_ [collection=hcibib] {conference/publication titles} 82 _optionhdrf_ [collection=hcibib] {references} 83 _optionhdra_ [collection=hcibib] {references and abstracts} 84 85 86 # tcc 87 _optionhstx_ [collection=tcc] {sections} 88 89 # tidbits 90 _optionhstx_ [collection=tidbits] {sections} 91 _optionhscr_ [collection=tidbits] {section authors} 92 93 # csbib 94 _optionhstt_ [collection=csbib] {titles} 95 _optionhscr_ [collection=csbib] {authors} 96 _optionhssr_ [collection=csbib] {conference/publication titles} 97 _optionhsrf_ [collection=csbib] {references} 98 _optionhsrd_ [collection=csbib] {references and abstracts} 99 74 100 75 101 ####################################################################### … … 162 188 } 163 189 190 _imageTopic_ {<a href="_httpbrowseTopic_" 191 onMouseover = "img\_on('topic')" 192 onMouseout = "img\_off('topic')"><img name="topic" 193 src="_httpiconttopicof_" width="_widthttopicx_" height="_heightttopicx_" 194 border="0" alt="_textimageTopic_"></a>} 195 _imageTopic_[version=text] {<a href="_httpbrowseTopic_">_textimageTopic_</a><br> 196 } 197 198 _imageBrowse_ {<a href="_httpbrowseBrowse_" 199 onMouseover = "img\_on('browse')" 200 onMouseout = "img\_off('browse')"><img name="browse" 201 src="_httpicontbrwseof_" width="_widthtbrwsex_" height="_heighttbrwsex_" 202 border="0" alt="_textimageBrowse_"></a>} 203 _imageBrowse_[version=text] {<a href="_httpbrowseBrowse_">_textimageBrowse_</a><br> 204 } 205 164 206 165 207 ####################################################################### … … 170 212 # the page. 171 213 172 _javalinks_ {_imagehome__image about__imagehelp__imagepref_}214 _javalinks_ {_imagehome__imagehelp__imagepref_} 173 215 _javalinks_ [version=text] { 174 216 _imagehome_<br> 175 _imageabout_<br>176 217 _imagehelp_<br> 177 218 _imagepref_<br> … … 187 228 # image link within the page. 188 229 189 _javaimagesheader_ {_java about__javahome__javahelp__javapref_}230 _javaimagesheader_ {_javahome__javahelp__javapref_} 190 231 _javaimagesheader_ [version=text] {} 191 232 … … 279 320 org\_off = new Image(_widthtorgx_, _heighttorgx_); 280 321 org\_off.src = "_httpicontorgof_"; 322 } 323 324 _javaTopic_ { 325 topic\_on = new Image(_widthttopicx_, _heightttopicx_); 326 topic\_on.src = "_httpiconttopicon_"; 327 topic\_off = new Image(_widthttopicx_, _heightttopicx_); 328 topic\_off.src = "_httpiconttopicof_"; 329 } 330 331 _javaBrowse_ { 332 browse\_on = new Image(_widthtbrwsex_, _heighttbrwsex_); 333 browse\_on.src = "_httpicontbrwseon_"; 334 browse\_off = new Image(_widthtbrwsex_, _heighttbrwsex_); 335 browse\_off.src = "_httpicontbrwseof_"; 281 336 } 282 337 … … 371 426 _heightmore_ {16} 372 427 373 _httpiconopenbook_ {_httpimg_/openbook.gif}374 _widthopenbook_ {28}375 _heightopenbook_ {23}376 377 _httpiconopenfldr_ {_httpimg_/openfldr.gif}378 _widthopenfldr_ {23}379 _heightopenfldr_ {15}380 381 428 _httpiconqryresb_ {_httpimg_/qryresb.gif} 382 429 _httpiconqryresb_ [language=mi] {_httpimg_/mqryresb.gif} … … 390 437 _httpicontabspace_ {_httpimg_/tabspace.gif} 391 438 _widthtabspace_ {23} 392 _heighttabspace_ {1 5}439 _heighttabspace_ {1} 393 440 394 441 _httpicontauthgr_ {_httpimg_/tauthgr.gif} … … 435 482 _heightthowx_ {17} 436 483 484 _httpiconttopicgr_{_httpimg_/ttopicgr.gif} 485 _httpiconttopicon_{_httpimg_/ttopicon.gif} 486 _httpiconttopicof_{_httpimg_/ttopicof.gif} 487 _widthttopicx_ {87} 488 _heightttopicx_ {17} 489 490 _httpicontbrwsegr_{_httpimg_/tbrwsegr.gif} 491 _httpicontbrwseon_{_httpimg_/tbrwseon.gif} 492 _httpicontbrwseof_{_httpimg_/tbrwseof.gif} 493 _widthtbrwsex_ {87} 494 _heighttbrwsex_ {17} 495 437 496 _httpicontsrchgr_ {_httpimg_/tsrchgr.gif} 438 497 _httpicontsrchgr_ [language=mi] {_httpimg_/mtsrchgr.gif} … … 485 544 _heightarrrght_ {15} 486 545 546 _httpiconopenbook_ {_httpimg_/openbook.gif} 547 _widthopenbook_ {28} 548 _heightopenbook_ {23} 549 550 _httpiconaopenbk_ {_httpimg_/aopenbk.gif} 551 _widthaopenbk_ {28} 552 _heightaopenbk_ {23} 553 554 _httpiconopenfldr_ {_httpimg_/openfldr.gif} 555 _widthopenfldr_ {23} 556 _heightopenfldr_ {15} 557 558 _httpiconaopenfdr_ {_httpimg_/aopenfdr.gif} 559 _widthaopenfdr_ {23} 560 _heightaopenfdr_ {15} 561 487 562 _httpiconbook_ {_httpimg_/book.gif} 488 563 _widthbook_ {18} 489 564 _heightbook_ {11} 490 565 566 _httpiconabook_ {_httpimg_/abook.gif} 567 _widthabook_ {18} 568 _heightabook_ {11} 569 491 570 _httpiconbshelf_ {_httpimg_/bshelf.gif} 492 571 _widthbshelf_ {20} 493 572 _heightbshelf_ {16} 573 574 _httpiconabshelf_ {_httpimg_/abshelf.gif} 575 _widthabshelf_ {20} 576 _heightabshelf_ {16} 577 578 _httpiconsmtext_ {_httpimg_/smtext.gif} 579 _widthsmtext_ {23} 580 _heightsmtext_ {15} 581 582 _httpiconasmtext_ {_httpimg_/asmtext.gif} 583 _widthasmtext_ {23} 584 _heightasmtext_ {15} 585 586 _httpiconclsdfldr_ {_httpimg_/clsdfldr.gif} 587 _widthclsdfldr_ {23} 588 _heightclsdfldr_ {15} 589 590 _httpiconaclsdfdr_ {_httpimg_/aclsdfdr.gif} 591 _widthaclsdfdr_ {23} 592 _heightaclsdfdr_ {15} 494 593 495 594 … … 538 637 539 638 _icontabHowtogreen_ {<img 540 src="_httpiconthowgr_" height=_heightthow gr_ width=_widththowgr_ border=0>}639 src="_httpiconthowgr_" height=_heightthowx_ width=_widththowx_ border=0>} 541 640 _icontabHowtogreen_[version=text] {_texticontabhowgreen_} 641 642 _icontabTopicgreen_ {<img 643 src="_httpiconttopicgr_" height=_heightttopicx_ width=_widthttopicx_ border=0>} 644 _icontabTopicgreen_[version=text] {_texticontabtopicgreen_} 645 646 _icontabBrowsegreen_ {<img 647 src="_httpicontbrwsegr_" height=_heighttbrwsex_ width=_widthtbrwsex_ border=0>} 648 _icontabBrowsegreen_[version=text] {_texticontabbrwsegreen_} 542 649 543 650 _icontabOrganizationgreen_ {<img … … 639 746 _textimageOrganization_ {Browse by organization} 640 747 _textimageHowto_ {Browse how to categories} 748 _textimageTopic_ {Browse special topic issues} 749 _textimageBrowse_ {Browse} 641 750 642 751 _texticontabsearchgreen_{Search} … … 649 758 _texticontaborggreen_{Organization} 650 759 _texticontabhowgreen_{How to} 760 _texticontabtopicgreen_{Topics} 761 _texticontabbrwsegreen_{Browse} 651 762 _texticontext_ {View the document} 652 763 _texticonglobhelp_ {Global Help Projects} … … 654 765 _texticonprev_ {to previous section} 655 766 656 _page_ {page }657 _of_ {of }767 _page_ {page } 768 _of_ {of } 658 769 _vol_ {Volume} 659 770 _num_ {Number} 660 771 661 _jan_ {January} 662 _feb_ {February} 663 _mar_ {March} 664 _apr_ {April} 665 _may_ {May} 666 _jun_ {June} 667 _jul_ {July} 668 _aug_ {August} 669 _sep_ {September} 670 _oct_ {October} 671 _nov_ {November} 672 _dec_ {December} 673 772 _textmonth00_ {} 773 _textmonth01_ {January} 774 _textmonth02_ {February} 775 _textmonth03_ {March} 776 _textmonth04_ {April} 777 _textmonth05_ {May} 778 _textmonth06_ {June} 779 _textmonth07_ {July} 780 _textmonth08_ {August} 781 _textmonth09_ {September} 782 _textmonth10_ {October} 783 _textmonth11_ {November} 784 _textmonth12_ {December} 785 786 _magazines_ {Magazines} 674 787 675 788 ################################ … … 687 800 _vol_ [language=mi] {Pukapuka} 688 801 _num_ [language=mi] {Nama} 689 _ jan_ [language=mi] {Hanuere}690 _ feb_ [language=mi] {Pepuere}691 _ mar_ [language=mi] {Maehe}692 _ apr_ [language=mi] {Aperira}693 _ may_ [language=mi] {Mei}694 _ jun_ [language=mi] {Hune}695 _ jul_ [language=mi] {Hurae}696 _ aug_ [language=mi] {Akuhata}697 _ sep_ [language=mi] {Hepetema}698 _ oct_ [language=mi] {Oketopa}699 _ nov_ [language=mi] {Noema}700 _ dec_ [language=mi] {Tihema}802 _textmonth01_ [language=mi] {Hanuere} 803 _textmonth02_ [language=mi] {Pepuere} 804 _textmonth03_ [language=mi] {Maehe} 805 _textmonth04_ [language=mi] {Aperira} 806 _textmonth05_ [language=mi] {Mei} 807 _textmonth06_ [language=mi] {Hune} 808 _textmonth07_ [language=mi] {Hurae} 809 _textmonth08_ [language=mi] {Akuhata} 810 _textmonth09_ [language=mi] {Hepetema} 811 _textmonth10_ [language=mi] {Oketopa} 812 _textmonth11_ [language=mi] {Noema} 813 _textmonth12_ [language=mi] {Tihema} 701 814 _of_ [language=mi] {i te} 702 815 -
trunk/gsdl/macros/document.dm
r283 r454 5 5 ####################################################################### 6 6 7 8 _random_ {rand}9 7 _classificationlinks_ {} 10 8 _imagethispage_ {} … … 34 32 # that may appear within a document page 35 33 ####################################################################### 34 35 # javaextras allows specific collections to include extra java macros 36 # without having to override their document action 37 _javaextras_ {} 36 38 37 39 _javadetach_ { … … 163 165 _iconHowtopage_ [version=text] {<h2>_texticonhhow_</h2>} 164 166 167 _iconTopicpage_ {<img src="_httpiconhtopic_" width=_widthhtopic_ 168 height=_heighthtopic_} 169 _iconTopicpage_ [version=text] {<h2>_texticonhtopic_</h2>} 170 165 171 _iconOrganizationpage_ {<img src="_httpiconhorg_" width=_widthhorg_ 166 172 height=_heighthorg_} 167 173 _iconOrganizationpage_ [version=text] {<h2>_texticonhorg_</h2>} 168 174 175 _iconBrowsepage_ {<img src="_httpiconhbrwse_" width=_widthhbrwse_ 176 height=_heighthbrwse_} 177 _iconBrowsepage_ [version=text] {<h2>_texticonhbrwse_</h2>} 178 179 169 180 170 181 _iconsmalltext_ {<img src="_httpiconsmtext_" border=0 width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_">} 171 182 _iconsmalltext_ [version=text] {<small><b>_texticonsmalltext2_</b></small>} 172 183 184 _iconarrowsmalltext_ {<img src="_httpiconasmtext_" border=0 width=_widthasmtext_ height=_heightasmtext_ alt="_texticonsmalltext_">} 185 _iconarrowsmalltext_ [version=text] {<small><b>->_texticonsmalltext2_</b></small>} 186 173 187 _iconclosedfolder_ {<img src="_httpiconclsdfldr_" border=0 width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_">} 174 188 _iconclosedfolder_ [version=text] {<small><b>_texticonclosedfolder2_</b></small>} 175 189 190 _iconarrowclosedfolder_ {<img src=_httpiconaclsdfdr_" border=0 width=_widthaclsdfdr_ height=_heightaclsdfdr_ alt="_texticonclosedfolder_">} 191 _iconarrowclosedfolder_ [version=text] {<small><b>->_texticonclosedfolder2_</b></small>} 192 176 193 _iconopenfolder_ {<img src="_httpiconopenfldr_" border=0 width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_">} 177 194 _iconopenfolder_ [version=text] {<small><b>_texticonopenfolder2_</b></small>} 178 195 196 _iconarrowopenfolder_ {<img src="_httpiconaopenfdr_" border=0 width=_widthaopenfdr_ height=_heightaopenfdr_ alt="_texticonopenfolder_">} 197 _iconarrowopenfolder_ [version=text] {<small><b>->_texticonopenfolder2_</b></small>} 198 179 199 _iconclosedbook_ {<img src="_httpiconbook_" width=_widthbook_ height=_heightbook_ border=0 alt="_texticonclosedbook_">} 180 200 _iconclosedbook_ [version=text] {<small><b>_texticonclosedbook_: </b></small>} 181 201 202 _iconarrowclosedbook_ {<img src="_httpiconabook_" width=_widthabook_ height=_heightabook_ border=0 alt="_texticonclosedbook_">} 203 _iconarrowclosedbook_ [version=text] {<small><b>->_texticonclosedbook_: </b></small>} 204 182 205 _iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ border=0 alt="_texticonopenbook_">} 183 206 _iconopenbook_ [version=text] {<small><b>_texticonopenbook_: </b></small>} 184 207 208 _iconarrowopenbook_ {<img src="_httpiconaopenbk_" width=_widthaopenbk_ height=_heightaopenbk_ border=0 alt="_texticonopenbook_">} 209 _iconarrowopenbook_ [version=text] {<small><b>->_texticonopenbook_: </b></small>} 210 185 211 _iconopenbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_">} 186 212 _iconopenbookshelf_ [version=text] {<small><b>_texticonopenbookshelf_: </b></small>} 187 213 214 _iconarrowopenbookshelf_ {<img src="_httpiconabshelf_" border=0 width=_widthabshelf_ height=_heightabshelf_ alt="_texticonopenbookshelf_">} 215 _iconarrowopenbookshelf_ [version=text] {<small><b>->_texticonopenbookshelf_: </b></small>} 216 188 217 _iconclosedbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_">} 189 218 _iconclosedbookshelf_ [version=text] {<small><b>_texticonclosedbookshelf_: </b></small>} 190 219 220 _iconarrowclosedbookshelf_ {<img src="_httpiconabshelf_" border=0 width=_widthabshelf_ height=_heightabshelf_ alt="_texticonclosedbookshelf_">} 221 _iconarrowclosedbookshelf_ [version=text] {<small><b>->_texticonclosedbookshelf_: </b></small>} 222 191 223 _iconpointer_ {<img src="_httpiconarrrght_" border=0 width=_widtharrrght_ height=_heightarrrght_>} 192 224 _iconpointer_ [version=text] {<small><b>_texticonpointer_-> </b></small>} 193 225 194 226 _icontab_ {<img src="_httpicontabspace_" width=_widthtabspace_ height=_heighttabspace_>} 227 _tab_ {<td>_icontab_</td>} 195 228 196 229 _iconcontracttoc_ {<img name="concon" src="_httpiconeconcof_" width=_widtheconcx_ height=_heighteconcof_ alt="_texticoncontracttoc_" border=0>} … … 226 259 ####################################################################### 227 260 228 _imagedetach_ {<a href="_httpcurrentdocument_&x=1" target= _random_onMouseover = "img\_on('detach')"261 _imagedetach_ {<a href="_httpcurrentdocument_&x=1" target=\_blank onMouseover = "img\_on('detach')" 229 262 onMouseout = "img\_off('detach')">_icondetach_</a>} 230 _imagedetach_[version=text] {<a href="_httpcurrentdocument_&x=1" target= _random_>_texticondetach_</a><br>}263 _imagedetach_[version=text] {<a href="_httpcurrentdocument_&x=1" target=\_blank>_texticondetach_</a><br>} 231 264 232 265 _imagehighlight_ {<a href="_httpcurrentdocument_&hl=1" onMouseover = "img\_on('hl')" … … 300 333 _heighthhow_ {57} 301 334 335 _httpiconhtopic_ {_httpimg_/h\_topic.gif} 336 _widthhhow_ {200} 337 _heighthhow_ {57} 338 302 339 _httpiconhorg_ {_httpimg_/h\_org.gif} 303 340 _widthhorg_ {250} 304 341 _heighthorg_ {57} 305 342 306 _httpiconsmtext_ {_httpimg_/smtext.gif} 307 _widthsmtext_ {23} 308 _heightsmtext_ {15} 309 310 _httpiconclsdfldr_ {_httpimg_/clsdfldr.gif} 311 _widthclsdfldr_ {23} 312 _heightclsdfldr_ {15} 343 _httpiconhbrwse_ {_httpimg_/h\_brwse.gif} 344 _widthhbrwse_ {200} 345 _heighthbrwse_ {57} 313 346 314 347 _httpiconcontoff_ {_httpimg_/contoff.gif} … … 369 402 # header overridden for text pages 370 403 _textheader_ {_cgihead_ 371 _htmlhead_ ('background="_httpiconchalk_"')404 _htmlhead_ 372 405 } 373 406 … … 400 433 _textSubjectpage_ {_texticonhsubj_} 401 434 _textSeriespage_ {_texticonhser_} 402 _textDate spage_ {_texticonhdate_}435 _textDatepage_ {_texticonhdate_} 403 436 _textHowtopage_ {_texticonhhow_} 404 437 _textOrganizationpage_ {_texticonhorg_} 438 _textBrowsepage_ {_texticonhbrwse_} 405 439 406 440 _texticonhtitle_ {Titles A-Z} … … 411 445 _texticonhhow_ {How to} 412 446 _texticonhorg_ {Organizations} 447 _texticonhbrwse_ {Browse} 413 448 414 449 _texticonopenbookshelf_ {close this section of the library} -
trunk/gsdl/macros/pref.dm
r283 r454 131 131 <option value="100"_If_("_cgiargm_" eq "100", selected)>100 132 132 <option value="200"_If_("_cgiargm_" eq "200", selected)>200 133 <option value="500"_If_("_cgiargm_" eq "500", selected)>500134 133 </select> 135 134 } … … 140 139 <option value="20"_If_("_cgiargo_" eq "20", selected)>20 141 140 <option value="50"_If_("_cgiargo_" eq "50", selected)>50 142 <option value="100")_If_("_cgiargo_" eq "100", selected)>100 143 <option value="500"_If_("_cgiargo_" eq "500", selected)>all 141 <option value="100")_If_("_cgiargo_" eq "100", selected)>all 144 142 </select> 145 143 } -
trunk/gsdl/macros/query.dm
r332 r454 134 134 # _hselection_, _jselection_ and _nselection_ are set from within the server 135 135 # some or all of them may remain unset 136 _textselect_ {Search _hselection__If_(_jselection_, of _jselection_)_If_(_nselection_, in _nselection_ language) for136 _textselect_ {Search_If_(_hselection_, _hselection_)_If_(_jselection_,_textjselect_)_If_(_nselection_, in _nselection_ language) for 137 137 _querytypeselection_ of the words} 138 _textjselect_ {_If_(_hselection_, of) _jselection_} 138 139 139 140 _querytypeselection_ { … … 143 144 </select> 144 145 } 146 147 _textstemon_ { (ignoring word endings)} 145 148 146 149 … … 159 162 _textlotsdocs_ [language=mi] {ngä pukapuka e pä ana ki äu kupu rapu.} 160 163 164 _textstemon_ [language=mi] { (hei aha te kümuri)} 161 165 162 -
trunk/gsdl/macros/style.dm
r341 r454 38 38 _htmlhead_(background="_httpiconchalk_")_startspacer__pagebanner_ 39 39 } 40 41 40 42 41 43 # this declaration ends up being the same as style=restrict, never mind
Note:
See TracChangeset
for help on using the changeset viewer.