Changeset 876


Ignore:
Timestamp:
2000-01-27T09:33:49+13:00 (24 years ago)
Author:
sjboddie
Message:

lots of changes - including separating out all language strings
into separate files.

Location:
trunk/gsdl/macros
Files:
9 added
3 deleted
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/about.dm

    r725 r876  
    99# don't want link to 'about' page
    1010_imagecollection_ {_If_("_iconcollection_" ne "",
    11     <img src="_iconcollection_" border=0>,
    12     <br><br><h2>_collectionname_</h2>}
     11    <img src="_iconcollection_" border=0>,  <br><br><h2>_collectionname_</h2>}
    1312
    1413#######################################################################
    15 # English language text
     14# about page content
    1615#######################################################################
    1716
    18 _texthelpexpl_ {For help at any time, press this button at the top of the page}
     17_pagetitle_ {_collectionname_}
    1918
    20 _textretabout_ {To return to this "about" page, click the "collection"
    21 icon at the top left of the page.}
    22 
    23 _textabcol_ {About this collection}
     19_content_ {
     20<center>
     21_navigationbar_
     22</center>
     23_query:queryform_
     24<p>_iconblankbar_
     25<p>_textabout_
     26_textsubcollections_
     27<h3>_help:textsimplehelpheading_</h3>
     28_help:simplehelp_
     29}
    2430
    2531_textabout_ {
     
    2834}
    2935
    30 #######################################################################
    31 # Maori language text
    32 #######################################################################
     36# set from within server
     37_textsubcollections_ {}
    3338
    34 _texthelpexpl_ [l=mi] {Kia titiro ki ng&auml; kupu &auml;whina p&auml;whiritia t&euml;nei
    35 p&auml;tene kei runga r&auml; o te wh&auml;rangi}
    3639
    37 _textabcol_ [l=mi] {He kupu whakam&auml;rama i te kohikohinga niupepa}
    3840
    39 ##############
    40 # about page #
    41 ##############
    4241
    43 _pagetitle_ {_collectionname_: About this collection}
    4442
    45 _content_ {
    46 <center>
    47 _navigationbar_
    48 </center>
    49 _query:queryform_
    50 <p>
    51 _iconblankbar_<br>
    52 <i>_textretabout_</i>
    53 <table cellpadding=3 cellspacing=0 border=0>
    54 <tr valign=bottom><td><img src="_httpiconchelpon_" width=_widthchelpx_ height=_heightchelpx_></td>
    55 <td><i>_texthelpexpl_</i>
    56 </td></tr></table>
    57 _iconblankbar_
    58 <p>
    59 _textabout_
    60 <h3>_help:textsimplehelpheading_</h3>
    61 _help:simplehelp_
    62 }
    6343
  • trunk/gsdl/macros/authen.dm

    r725 r876  
    66#######################################################################
    77
    8 _pagetitle_ {Greenstone Digital Library}
     8_pagetitle_ {_textGSDLtitle_}
    99_imagethispage_ {_imagegreenstone_}
    1010
     
    1414
    1515<form name="login" method="get" action="_gwcgi_">
    16 <input type=hidden name="e" value="_If_(_cgiarger_,_cgiarger_,_compressedoptions_)">
     16<input type=hidden name="e" value="_If_(_cgiarger_,_cgiarger_,_decodedcompressedoptions_)">
    1717_hiddenargs_
    1818
    1919<table border=0>
    20 <tr><td>username</td><td><input type="text" name="un" value="_cgiargun_" size=10></td></tr>
    21 <tr><td>password</td><td><input type="password" name="pw" size=10></td></tr>
     20<tr><td>_textusername_</td><td><input type="text" name="un" value="_cgiargun_" size=10></td></tr>
     21<tr><td>_textpassword_</td><td><input type="password" name="pw" size=10></td></tr>
    2222<tr><td></td><td><input type="submit" value="sign in"></td></tr>
    2323</table>
     
    2626
    2727
    28 _messageinvalid_ {The page you have requested requires you to sign in.
    29 Please enter your username
    30 and password.}
     28_messageinvalid_ {_textmessageinvalid_}
    3129
    32 _messagefailed_ {Either your user name or password was incorrect.}
     30_messagefailed_ {_textmessagefailed_}
    3331
    3432_messageenabled_ {}
    3533
    36 _messagedisabled_ {Sorry, you account has been disabled. Please contact
    37 the webmaster for this site.}
     34_messagedisabled_ {_textmessagedisabled_}
    3835
    39 _messagepermissiondenied_ {Sorry, you do not have permission to access this page.}
     36_messagepermissiondenied_ {_textmessagepermissiondenied_}
    4037
    41 _messagestalekey_ {The link you have followed is now stale.
    42 Please enter your password to access this page.}
     38_messagestalekey_ {_textmessagestalekey_}
    4339
    4440
     
    5450#######################################################################
    5551
    56 _pagetitle_ {Greenstone Digital Library}
     52_pagetitle_ {_authen:textGSDLtitle_}
    5753_imagethispage_ {_imagegreenstone_}
    5854
     
    6056_authen:messagestatus_
    6157}
     58
     59
     60
     61
     62
     63
     64
  • trunk/gsdl/macros/base.dm

    r725 r876  
    77##########
    88
    9 # this is a hack for the chinese collection and should be removed once
    10 # the collection metadata is fixed up
    11 _documents_ [c=chinese] {document sections}
    12 _documents_ [c=chinese,l=zh] {文本}
    13 _titles_ [c=chinese] {titles}
    14 _titles_ [c=chinese,l=zh] {题名}
    15 _chinese_ {Chinese demonstration collection}
    16 
    17 ##########
    18 
    19 _collectionextra_ {This collection contains _about:numdocs_ documents.
    20 It was last built _about:builddate_ days ago.}
    21 
     9# won't need this once old versions of library are no longer used
     10_decodedcompressedoptions_ {_compressedoptions_}
     11
     12
     13_htmlextra_ {}
     14
     15_starthighlight_ {<b><u>}
     16_endhighlight_ {</u></b>}
    2217
    2318#######################################################################
     
    2823
    2924_content_ {<p><h2>oops</h2>
    30 The requested page could not be found. Please use your browsers 'back' button
    31 or the above home button to return to the Greenstone Digital Library.}
    32 _pagetitle_ {GSDL Error}
     25_textdefaultcontent_}
     26_pagetitle_ {_textdefaulttitle_}
    3327_imagethispage_ {}
    3428_iconcollection_ {}
     
    340334_mailaddr_ {[email protected]}
    341335
    342 
     336_gsdltop_ {_top}
    343337
    344338#######################################################################
     
    347341# These contain the url without any quotes
    348342#######################################################################
     343
     344_httpcollimg_ {_httpcollection_/index/assoc}
    349345
    350346_httpcollection_{_httpprefix_/collect/_cgiargc_}
     
    355351#_httppagehome_ {_httppagex_(home)}
    356352#_httppagehome_ {_gwcgi_?a=p&p=home}
    357 _httppagehome_ {http://www.nzdl.org/cgi-bin/sblibrary?a=p&p=home}
     353_httppagehome_ {http://www.nzdl.org/fast-cgi-bin/library?a=p&p=home}
    358354_httppagehelp_ {_httppagex_(help)}
    359355_httppagepref_ {_httppagex_(preferences)}
     
    363359_httpcurrentdocument_ {_gwcgi_?e=_compressedoptions_&cl=_cgiargcl_&d=_cgiargd_}
    364360_httpquery_ {_gwcgi_?e=_compressedoptions_&a=q}
     361
     362# _httpdoc_ is the same as _httpdocument_ - _httpdocument_
     363# may occasionally be altered by the server however
    365364_httpdocument_ {_gwcgi_?e=_compressedoptions_&a=d}
     365_httpdoc_  {_gwcgi_?e=_compressedoptions_&a=d}
     366
    366367_httpextlink_ {_gwcgi_?e=_compressedoptions_&a=extlink}
    367368_httpbuild_ {_gwcgi_?e=_compressedoptions_&a=bc}
     
    373374_httpiconchelpof_ {_httpimg_/chelpof.gif}
    374375_httpiconchelpof_ [l=mi] {_httpimg_/mchelpof.gif}
     376_httpiconchelpof_[l=zh] {_httpimg_/zhchelpof.gif}
    375377_httpiconchelpon_ {_httpimg_/chelpon.gif}
    376378_httpiconchelpon_ [l=mi] {_httpimg_/mchelpon.gif}
     379_httpiconchelpon_[l=zh] {_httpimg_/zhchelpon.gif}
    377380_widthchelpx_ {36}
    378381_widthchelpx_ [l=mi] {57}
     382_widthchelpx_[l=zh] {41}
    379383_heightchelpx_ {20}
     384_heightchelpx_[l=zh] {20}
    380385
    381386_httpiconchomeof_ {_httpimg_/chomeof.gif}
    382387_httpiconchomeof_ [l=mi] {_httpimg_/mchomeof.gif}
     388_httpiconchomeof_[l=zh] {_httpimg_/zhchomeof.gif}
    383389_httpiconchomeon_ {_httpimg_/chomeon.gif}
    384390_httpiconchomeon_ [l=mi] {_httpimg_/mchomeon.gif}
     391_httpiconchomeon_[l=zh] {_httpimg_/zhchomeon.gif}
    385392_widthchomex_ {43}
    386393_widthchomex_ [l=mi] {54}
     394_widthchomex_[l=zh] {41}
    387395_heightchomex_ {20}
     396_heightchomex_[l=zh] {20}
    388397
    389398_httpiconcprefof_ {_httpimg_/cprefof.gif}
    390399_httpiconcprefof_ [l=mi] {_httpimg_/mcprefof.gif}
     400_httpiconcprefof_[l=zh] {_httpimg_/zhcprefof.gif}
    391401_httpiconcprefon_ {_httpimg_/cprefon.gif}
    392402_httpiconcprefon_ [l=mi] {_httpimg_/mcprefon.gif}
     403_httpiconcprefon_[l=zh] {_httpimg_/zhcprefon.gif}
    393404_widthcprefx_ {87}
    394405_widthcprefx_ [l=mi] {103}
     406_widthcprefx_[l=zh] {41}
    395407_heightcprefx_ {20}
     408_heightcprefx_[l=zh] {20}
    396409
    397410_httpiconcabtof_ {_httpimg_/cabtof.gif}
     
    409422
    410423_httpiconhhelp_ {_httpimg_/h\_help.gif}
     424_httpiconhhelp_[l=zh] {_httpimg_/zhh\_help.gif}
    411425_widthhhelp_ {200}
    412426_heighthhelp_ {57}
     
    450464_widthtauthx_ {110}
    451465_heighttauthx_ {17}
     466
     467_httpicontauthgr_[l=zh] {_httpimg_/zhtauthgr.gif}
     468_httpicontauthof_[l=zh] {_httpimg_/zhtauthof.gif}
     469_httpicontauthon_[l=zh] {_httpimg_/zhtauthon.gif}
     470_widthtauthx_[l=zh] {110}
     471_heighttauthx_[l=zh] {17}
     472
    452473
    453474_httpicontsergr_ {_httpimg_/tsergr.gif}
     
    509530_heighttsrchx_ {17}
    510531
     532_httpicontsrchgr_[l=zh] {_httpimg_/zhtsrchgr.gif}
     533_httpicontsrchof_[l=zh] {_httpimg_/zhtsrchof.gif}
     534_httpicontsrchon_[l=zh] {_httpimg_/zhtsrchon.gif}
     535_widthtsrchx_[l=zh] {87}
     536_heighttsrchx_[l=zh] {17}
     537
     538_httpiconcontoff_[l=zh] {_httpimg_/zhcontoff.gif}
     539_httpiconconton_[l=zh] {_httpimg_/zhconton.gif}
     540_widthcontx_[l=zh] {76}
     541_heightcontx_[l=zh] {17}
     542
     543_httpiconhauth_[l=zh] {_httpimg_/zhh\_auth.gif}
     544_widthhauth_[l=zh] {200}
     545_heighthauth_[l=zh] {57}
     546
    511547_httpicontlistgr_ {_httpimg_/tlistgr.gif}
    512548_httpicontlistof_ {_httpimg_/tlistof.gif}
     
    521557_heightttitlx_ {17}
    522558
     559_httpiconttitlgr_[l=zh] {_httpimg_/zhttitlgr.gif}
     560_httpiconttitlof_[l=zh] {_httpimg_/zhttitlof.gif}
     561_httpiconttitlon_[l=zh] {_httpimg_/zhttitlon.gif}
     562_widthttitlx_[l=zh] {87}
     563_heightttitlx_[l=zh] {17}
     564
    523565_httpicontpeopgr_ {_httpimg/tpeopgr.gif}
    524566_httpicontpeopof_ {_httpimg/tpeopof.gif}
     
    606648_heightaclsdfdr_ {15}
    607649
     650_httpiconhpref_[l=zh] {_httpimg_/zhh\_pref.gif}
     651_widthhpref_[l=zh] {200}
     652_heighthpref_[l=zh] {57}
     653
     654_httpiconhsearch_[l=zh] {_httpimg_/zhh\_sear.gif}
     655_widthhsearch_[l=zh] {200}
     656_heighthsearch_[l=zh] {57}
     657
     658_httpiconhtitle_[l=zh] {_httpimg_/zhh\_title.gif}
     659_widthhtitle_[l=zh] {200}
     660_heighthtitle_[l=zh] {57}
     661
     662_httpiconqryresb_[l=zh] {_httpimg_/zhqryresb.gif}
     663_widthqryresb_[l=zh] {537}
     664_heightqryresb_[l=zh] {17}
     665
    608666
    609667#######################################################################
     
    670728_icontabPeoplegreen_[v=1] {_texticontabPeoplegreen_}
    671729
    672 _iconblankbar_ {<center><img src="_httpicondivb_" width=_widthdivb_ height=_heightdivb_></center>}
     730_iconblankbar_ {<center><img src="_httpicondivb_" width=_widthdivb_ height=6></center>}
    673731_iconblankbar_[v=1] {<br><hr><br>}
    674732
     
    681739_iconclosedbook_ {<img src="_httpiconbook_" width=_widthbook_ height=_heightbook_ border=0 alt="_texticonclosedbook_">}
    682740_iconclosedbook_ [v=1] {<small><b>_texticonclosedbook_: </b></small>}
     741_iconclosedbook_ [v=1,l=zh]{<small><_font_><b>_texticonclosedbook_: </b></font></small>}
    683742
    684743
     
    740799################################
    741800
    742 _textimagecollection_ {}
    743 _textimageabout_ {About page}
    744 _textimagehome_ {Home page}
    745 _textimagehelp_ {Help page}
    746 _textimagepref_ {Preferences page}
    747 _textimagegreenstone_ {Greenstone Digital Library Software}
    748 
    749 _textimagesearch_ {Search for specific terms}
    750 _textimageTitle_ {Browse alphabetical list of titles}
    751 _textimageList_ {Browse document listing}
    752 _textimageCreator_ {Browse alphabetical list of authors}
    753 _textimageSeries_ {Browse by issue}
    754 _textimageDate_ {Browse by date}
    755 _textimageSubject_ {Browse by subject category}
    756 _textimageOrganization_ {Browse by organization}
    757 _textimageHowto_ {Browse how to categories}
    758 _textimageTopic_ {Browse special topic issues}
    759 _textimageBrowse_ {Browse}
    760 _textimagePeople_ {Browse alphabetical list of People}
    761 
    762 _texticontabsearchgreen_{Search}
    763 _texticontabdategreen_{Dates}
    764 _texticontabseriesgreen_{Series}
    765 _texticontabauthorgreen_{Authors A-Z}
    766 _texticontabtitlegreen_{Titles A-Z}
    767 _texticontablistgreen_ {Listing}
    768 _texticontabsubjectgreen_{Subjects}
    769 _texticontaborggreen_{Organization}
    770 _texticontabhowgreen_{How to}
    771 _texticontabtopicgreen_{Topics}
    772 _texticontabbrwsegreen_{Browse}
    773 _texticontabPeoplegreen_{People A-Z}
    774 
    775 _texticontext_ {View the document}
    776 _texticonclosedbook_ {open this document and view contents}
    777 _texticonnext_ {to next section}
    778 _texticonprev_ {to previous section}
    779 
    780 _page_ {page }
    781 _of_ { of }
    782 _vol_ {Volume}
    783 _num_ {Number}
    784 
    785 _textmonth00_ {}
    786 _textmonth01_ {January}
    787 _textmonth02_ {February}
    788 _textmonth03_ {March}
    789 _textmonth04_ {April}
    790 _textmonth05_ {May}
    791 _textmonth06_ {June}
    792 _textmonth07_ {July}
    793 _textmonth08_ {August}
    794 _textmonth09_ {September}
    795 _textmonth10_ {October}
    796 _textmonth11_ {November}
    797 _textmonth12_ {December}
    798 
    799 _magazines_ {Magazines}
     801# moved to english.dm
    800802
    801803################################
     
    803805################################
    804806
    805 _textimagehelp_ [l=mi] {Te wh&auml;rangi whakam&auml;rama}
    806 _textimagepref_ [l=mi] {Te wh&auml;rangi o ng&auml; whiriwhiringa}
    807 _textimagehome_ [l=mi] {Te wh&auml;rangi k&auml;inga}
    808 _textimagesearch_ [l=mi] {rapua he kupu}
    809 _textimagebrowseseries_ [l=mi] {Tirohia te whakar&auml;rangi o ng&auml; niupepa}
    810 _textimagebrowsedates_ [l=mi] {Tirohia te w&auml; i puta mai ai ng&auml; niupepa}
    811 
    812 _page_ [l=mi] {wh&auml;rangi }
    813 _vol_ [l=mi] {Pukapuka}
    814 _num_ [l=mi] {Nama}
    815 _textmonth01_ [l=mi] {Hanuere}
    816 _textmonth02_ [l=mi] {Pepuere}
    817 _textmonth03_ [l=mi] {Maehe}
    818 _textmonth04_ [l=mi] {Aperira}
    819 _textmonth05_ [l=mi] {Mei}
    820 _textmonth06_ [l=mi] {Hune}
    821 _textmonth07_ [l=mi] {Hurae}
    822 _textmonth08_ [l=mi] {Akuhata}
    823 _textmonth09_ [l=mi] {Hepetema}
    824 _textmonth10_ [l=mi] {Oketopa}
    825 _textmonth11_ [l=mi] {Noema}
    826 _textmonth12_ [l=mi] {Tihema}
    827 _of_ [l=mi] { i te }
    828 
    829 
    830 _texticontabsearchgreen_ [l=mi] {rapu}
    831 _texticontabdatesgreen_ [l=mi] {w&auml;taka}
    832 _texticontabseriesgreen_ [l=mi] {whakar&auml;rangi niupepa}
    833 _texticonnext_ [l=mi] {titiro ki te wh&auml;rangi o muri}
    834 _texticonprev_ [l=mi] {titiro ki te wh&auml;rangi o mua}
    835 _texticontext_ [l=mi] {Tirohia te wh&auml;rangi}
    836 
    837 _textimageSeries_ [l=mi] {Tirohia te whakar&auml;rangi taitara}
    838 _textimageDate_ [l=mi] {Tirohia te whakar&auml;rangi w&auml;taka}
     807# moved to maori.dm
     808
     809
     810
     811
     812
     813
     814
     815
     816
     817
     818
     819
     820
     821
     822
  • trunk/gsdl/macros/document.dm

    r666 r876  
    120120_gotoform_ {
    121121<form name="GotoForm" method="get" action="_gwcgi_">
    122 <input type=hidden name="e" value="_compressedoptions_">
     122<input type=hidden name="e" value="_decodedcompressedoptions_">
    123123<input type=hidden name="d" value="_cgiargd_">
    124124<input type=hidden name="cl" value="_cgiargcl_">
     
    435435#######################################################################
    436436
    437 _textTitlepage_ {_texticonhtitle_}
    438 _textCreatorpage_ {_texticonhauth_}
    439 _textSubjectpage_ {_texticonhsubj_}
    440 _textSeriespage_ {_texticonhser_}
    441 _textDatepage_ {_texticonhdate_}
    442 _textHowtopage_ {_texticonhhow_}
    443 _textOrganizationpage_ {_texticonhorg_}
    444 _textBrowsepage_ {_texticonhbrwse_}
    445 _textPeoplepage_ {_texticonhpeople_}
    446 
    447 _texticonhtitle_ {Titles A-Z}
    448 _texticonhauth_ {Authors A-Z}
    449 _texticonhsubj_ {Subjects}
    450 _texticonhser_ {Series}
    451 _texticonhdate_ {Dates}
    452 _texticonhhow_ {How to}
    453 _texticonhorg_ {Organizations}
    454 _texticonhbrwse_ {Browse}
    455 _texticonhpeople_ {People A-Z}
    456 
    457 _texticonopenbookshelf_ {close this section of the library}
    458 _texticonclosedbookshelf_ {open this section of the library and view contents}
    459 _texticonopenbook_ {close this book}
    460 _texticonclosedfolder_ {Open this folder and view contents}
    461 _texticonclosedfolder2_ {open sub-section: }
    462 _texticonopenfolder_ {close this folder}
    463 _texticonopenfolder2_ {close sub-section: }
    464 _texticonsmalltext_ {View this section of the text}
    465 _texticonsmalltext2_ {view text: }
    466 _texticonpointer_ {current section}
    467 _texticondetach_ {Open this page in a new window}
    468 _texticonhighlight_ {Highlight search terms}
    469 _texticonnohighlight_ {Don't highlight search terms}
    470 _texticoncontracttoc_ {Collapse table of contents}
    471 _texticonexpandtoc_ {Expand table of contents}
    472 _texticonexpandtext_ {Display all text}
    473 _texticoncontracttext_ {Display text only for currently selected section}
    474 _texticonwarning_ {<b>Warning: </b>}
    475 _texticoncont_ {continue?}
    476 
    477 _textltwarning_ {
    478 <p><center>
    479 <table cellspacing=0 cellpadding=0 width=_pagewidth_>
    480 <tr valign=top><td>_iconwarning_Expanding the text here will generate a large
    481 amount of data for your browser to display _imagecont_
    482 </td></tr></table></center>
    483 }
     437# moved to english.dm
     438
    484439
    485440
     
    488443#######################################################################
    489444
    490 _texticondetach_ [l=mi] {Huakina mai he matapihi hou m&ouml; t&euml;nei k&ouml;rero}
    491 _texticonexpandtext_ [l=mi] {Titiro ki ng&auml; kupu katoa o t&euml;nei niupepa}
    492 _texticoncontracttext_ [l=mi] {Titiro ki ng&auml; kupu o t&euml;nei wh&auml;rangi anake}
    493 _texticonopenbookshelf_ [l=mi] {k&auml;tia}
    494 _texticonclosedbookshelf_ [l=mi] {whakat&uuml;whera mai}
    495 _texticonclosedbook_ [l=mi] {whakat&uuml;whera mai}
    496 _texticonopenbook_ [l=mi] {k&auml;tia}
    497 _texticonpointer_ [l=mi] {w&auml;hanga e tiro ana}
    498 _texticonhighlight_ [l=mi] {Kia p&uuml;kaha ng&auml; kupu rapu}
    499 _texticonnohighlight_ [l=mi] {Kia kore he p&uuml;kaha}
    500 _texticonsmalltext_ [l=mi] {He wh&auml;rangi niupepa}
    501 _texticonclosedfolder_ [l=mi] {He k&ouml;paki}
     445# moved to maori.dm
    502446
    503447
     
    507451#######################################################################
    508452
    509 
    510 _texticonsmalltext_ [l=zh] { 浏览该郚仜文本}
    511 _texticonclosedfolder_ [l=zh] { 打匀歀文件倹以浏览目圕}
    512 _texticondetach_ [l=zh] { 打匀䞀䞪新的窗口星瀺本页}
    513 _texticonexpandtoc_ [l=zh] { 扩展乊圕衚}
    514 _texticonexpandtext_ [l=zh] { 星瀺所有文本}
    515 _texticonhighlight_ [l=zh] { 查询项以粗䜓星瀺}
     453# moved to chinese.dm
     454
     455
     456
     457
  • trunk/gsdl/macros/extlink.dm

    r725 r876  
    11package extlink
    22
    3 _iconforward_{<img src="_httpiconmore_" align=absbottom
    4 width=_widthmore_ height=_heightmore_ border=0 alt="_texticonforward_">}
    5 _iconforward_[v=1] {_texticonforward_}
    6 
    7 _iconbackward_{<img src="_httpiconless_" align=absbottom
    8 width=_widthless_ height=_heightless_ border=0 alt="_texticonbackward_">}
    9 _iconbackward_[v=1] {_texticonbackward_}
    10 
    11 _texticonforward_ {forward to external page}
    12 _texticonbackward_ {back to previous page}
    13 
    14 _nexturl_ {}
    15 _prevdoc_ {}
     3_header_ {_htmlhead_}
    164
    175_foundcontent_ {
    186
    19 <h3>External link</h3>
     7<h3>_textextlink_</h3>
    208
    21 <p> The link you have selected is external to the _collectionname_
    22     collection.
    23     If you still wish to view this link and your browser has access to
    24     the Web, you can go
    25     <a href="_nexturl_">forward</a> to this page; otherwise you can go
    26     <a href="_httpdocument_&cl=_cgiargcl_&d=_prevdoc_">back</a>
    27     to the previous document.
     9<p> _textextlinkcontent_
     10}
    2811
    29 <p>
    30 <center>
    31    <table>
    32      <tr align=absbottom>
    33     <td><a href="_httpdocument_&cl=_cgiargcl_&d=_prevdoc_">_iconbackward_</a></td>
    34     <td><a href="_httpdocument_&cl=_cgiargcl_&d=_prevdoc_">Back</a></td>
    35         <td><a href="_nexturl_">Forward</a></td>
    36     <td><a href="_nexturl_">_iconforward_</a></td>
    37      </tr>
    38    </table>
    39 </center>
     12# should have arguments of collection, collectionname and link
     13_foundintcontent_ {
    4014
     15<h3>Link to "_2_" collection</h3>
     16
     17<p> The link you have selected is external to the "_collectionname_"
     18    collection (it links to the "_2_" collection).
     19    If you wish to view this link in the "_2_" collection you can
     20    <a href="_httpdoc_&c=_1_&cl=_cgiargcl_&d=_3_">go forward</a> to this page;
     21    otherwise use your browsers "back" button to return to the previous document.
    4122}
    4223
    4324_notfoundcontent_ {
    4425
    45 <h3>Internal link not found</h3>
     26<h3>_textlinknotfound_</h3>
    4627
    47 <p> For reasons beyond our control, the internal link you have selected
    48     does not exist.  This is most
    49     probably due to an error in the source collection.
    50     Click <a href="_httpdocument_&cl=_cgiargcl_&d=_prevdoc_">back</a>
    51     to return to the previous document.
     28<p> _textlinknotfoundcontent_
     29}
    5230
    53 <p>
    54 <center>
    55    <table>
    56      <tr align=absbottom>
    57     <td><a href="_httpdocument_&cl=_cgiargcl_&d=_prevdoc_">_iconbackward_</a></td>
    58     <td><a href="_httpdocument_&cl=_cgiargcl_&d=_prevdoc_">Back</a></td>
    59      </tr>
    60    </table>
    61 </center>
    6231
    63 }
  • trunk/gsdl/macros/help.dm

    r735 r876  
    22
    33_imagethispage_ {_iconthispage_}
    4 _iconthispage_ {<img src="_httpimg_/h_help.gif" alt="Help" width="200" height="57">}
    5 _iconthispage_ [l=mi] {<img src="_httpimg_/mh_help.gif" alt="&Auml;whina" width="200" height="57">}
     4_iconthispage_ {<img src="_httpimg_/h_help.gif" alt="_textHelp_" width="200" height="57">}
     5_iconthispage_ [l=mi] {<img src="_httpimg_/mh_help.gif" alt="_textHelp_" width="200" height="57">}
    66
     7_httpicondtchdemo_ {_httpimg_/edtchof.gif}
     8_httpicondtchdemo_ [l=mi] {_httpimg_/medtchof.gif}
     9_httpiconeexpdemo_ {_httpimg_/eexpcof.gif}
     10_httpiconeexpdemo_ [l=mi] {_httpimg_/meexpcof.gif}
     11_httpiconealltdemo_ {_httpimg_/ealltof.gif}
     12_httpiconealltdemo_ [l=mi] {_httpimg_/mealltof.gif}
     13
     14_textnumbrowseoptions_ {_If_("_numbrowseoptions_" != "1",<p>_texttanumbrowseoptions_)}
    715
    816_simplehelp_ {
    917_textnumbrowseoptions_
    1018_textbrowseoptions_
    11 <p><br>_iconexplain_
    12 }
    13 
    14 _textSearchshort_ {search for particular words}
    15 _textSearchshort_ [l=mi] {rapua he kupu}
    16 _textSeriesshort_ {access publications by series}
    17 _textSeriesshort_ [l=mi] {tirohia te whakar&auml;rangi taitara}
    18 _textDateshort_ {access publications by date}
    19 _textDateshort_ [l=mi] {tirohia te whakar&auml;rangi e p&auml; ana ki te w&auml;}
    20 _textSubjectshort_ {access publications by subject}
    21 _textTitleshort_ {access publications by title}
    22 _textBrowseshort_ {browse publications}
    23 _textCreatorshort_ {access publications by author}
    24 _textOrganizationshort_ {access publications by organization}
    25 _textHowtoshort_ {access publications by how to listing}
    26 _textTopicshort_ {access publications by topic}
    27 _textPeopleshort_ {access publications by people}
    28 _textdefaultshorttext_ {undefined classification}
    29 
    30 _textSearchlong_ {
    31 <p>You can <i>search for particular words</i> that appear in the text from the
    32 "search" page. This is the first page that comes up when you begin, and can be
    33 reached from other pages by pressing the <i>search</i> button.
    34 }
    35 
    36 _textSearchlong_ [l=mi] {
    37 <p>Ko te wh&auml;rangi rapu te wh&auml;rangi <i>e rapu atu ai ng&auml; kupu</i> i roto
    38 i ng&auml; tuhinga. Kia puta mai ai t&euml;nei wh&auml;rangi, i a koe e titiro ana ki
    39 te kohinga niupepa nei p&auml;whiritia te p&auml;tene <i>rapu</i>.
    40 }
    41 
    42 _textTitlelong_ {
    43 <p>You can <i>access publications by title</i> by pressing the <i>titles a-z</i>
    44 button.  This brings up a list of books in alphabetic order.
    45 }
    46 
    47 _textOrganizationlong_ {
    48 <p>You can <i>access publications by organization</i> by pressing the <i>organization</i>
    49 button.  This brings up a list of organizations.
    50 }
    51 
    52 _textHowtolong_ {
    53 <p>You can <i>access publications by how to listing</i> by pressing the <i>how to</i>
    54 button.  This brings up a list of how to strings.
    55 }
    56 
    57 _textCreatorlong_ {
    58 <p>You can <i>access publications by author</i> by pressing the <i>authors a-z</i>
    59 button.  This brings up a list of books, sorted by author name.
    60 }
    61 
    62 _textTopiclong_ {
    63 <p>You can <i>access publications by topic</i> by pressing the <i>topic</i>
    64 button.  This brings up a list of topics to browse.
    65 }
    66 
    67 _textSubjectlong_ {
    68 <p>You can <i>access publications by subject</i> by pressing the <i>subjects</i>
    69 button.  This brings up a list of subjects, represented by bookshelves.
    70 }
    71 
    72 _textSerieslong_ {
    73 <p>You can <i>access publications by series</i> by pressing the <i>series</i> button.
    74 This brings up a list of those series which are currently in the collection.
    75 }
    76 
    77 _textSerieslong_ [l=mi] {
    78 <p>Kia <i>tirohia te whakar&auml;rangi taitara</i> p&auml;whiritia te p&auml;tene
    79 <i>whakar&auml;rangi taitara</i>. Ka puta mai te whakar&auml;rangi o ng&auml;
    80 niupepa e p&auml; ana ki ng&auml; taitara.
    81 }
    82 
    83 _textDatelong_ {
    84 <p>You can <i>access publications by date</i> by pressing the <i>dates</i> button.
    85 This brings up a list of all the issues, sorted chronologically.
    86 }
    87 
    88 _textDatelong_ [l=mi] {<p>Kia <i>tirohia te whakar&auml;rangi e p&auml; ana ki te w&auml;</i> p&auml;whiritia te
    89 p&auml;tene <i>w&auml;taka</i>. Ka puta mai te whakar&auml;rangi o ng&auml; niupepa
    90 e p&auml; ana ki te w&auml; i puta mai ai aua niupepa.
    91 }
    92 
    93 _textBrowselong_ {
    94 <p>You can <i>browse publications</i> by pressing the <i>browse</i> button.
    95 }
    96 
    97 _textPeoplelong_ {
    98 <p>You can <i>access publications by people</i> by pressing the
    99    <i>people a-z</i> button.  This brings up a list of entries, sorted by
    100      surname.
    101 }
    102 
    103 _textdefaultlongtext_ {
    104 <p>Click on the <i>unknown</i> button to browse publications (listing is sorted
    105 by an unknown field).
    106 }
    107 
    108 
    109 _iconexplain_ {
    110 <table cellspacing="0" cellpadding="2" border="0">
    111 <tr valign="top"><td><img src="_httpimg_/book.gif" width="18" height="11" border="0"></td>
    112 <td>Click on a book icon to read the corresponding book</td></tr></table>
    113 <table cellspacing="0" cellpadding="2" border="0">
    114 <tr valign="top"><td><img src="_httpimg_/bshelf.gif" border="0" width=20 height=16></td>
    115 <td>Click on a bookshelf icon to look at books on that subject</td></tr>
    116 </table>
    117 }
    118 
    119 _iconexplain_ [l=mi] {
    120 <table cellspacing="0" cellpadding="2" border="0">
    121 <tr valign="top"><td><img src="_httpimg_/book.gif" width="18" height="11" border="0"></td>
    122 <td>Pat&ouml;hia te p&auml;tene pukapuka kia puta mai ai taua pukapuka</td></tr></table>
    123 <table cellspacing="0" cellpadding="2" border="0">
    124 <tr valign="top"><td><img src="_httpimg_/bshelf.gif" border="0" width=20 height=16></td>
    125 <td>Pat&ouml;hia te p&auml;tene kohinga kia puta mai ai ng&auml; niupepa o taua kohinga</td></tr>
    126 </table>
    127 }
    128 
    129 _iconexplain_ [v=1] {
    130 <p>
    131 Click on <b><u>open book</u></b> to read corresponding book.<br>
    132 Click on <b><u>open section</u></b> to look at books on that subject.
    133 }
    134 
    135 _iconexplain_ [l=mi,v=1] {
    136 <p>
    137 Pat&ouml;hia te <b><u>pukapuka</u></b> kia puta mai ai taua pukapuka<br>
    138 Pat&ouml;hia te <b><u>kohinga</u></b> kia puta mai ai ng&auml; niupepa o taua kohinga
    13919}
    14020
     
    14222<center>_navigationbar_</center>
    14323_texthelptopics_
     24<p>_iconblankbar_
    14425<a name=finding-information>
    145 _iconblankbar_<br>
    14626<h2>_textsimplehelpheading_</h2>
    14727_simplehelp_
    148 <p>
    149 <a name=reading-books>
    150 _iconblankbar_<br>
    151 _texthelpreadingbooks_
    152 _textexplainbuttons_
    153 <p>
     28_texthelpreadingdocs_
     29<p>_iconblankbar_
    15430<a name=searching>
    155 _iconblankbar_<br>
    15631_texthelpsearching_
    157 <p>
    158 _iconblankbar_<br>
    159 }
    160 
    161 ################################
    162 # English text                 #
    163 ################################
    164 
    165 _texthelptopics_ {
    166 <h2 align=left>Topics</h2>
    167 <ul>
    168   <li><a href="\#finding-information">_textsimplehelpheading_</a>
    169   <li><a href="\#reading-books">How to read the books</a>
    170   <li><a href="\#searching">How to search for particular words</a>
    171 <ul>
    172   <li><a href="\#query-terms">Search terms</a>
    173   <li><a href="\#query-type">Query type</a>
    174   <li><a href="\#scope-of-queries">Scope of queries</a>
    175   <li><a href="\#stemming">Case sensitivity and stemming</a>
    176 </ul>
    177 </ul>
    178 }
    179 
    180 _texthelpreadingbooks_ {
    181 <h2>How to read the books</h2>
    182 
    183 <p>You can tell when you have arrived at an individual book because there is a
    184 photograph of its front cover.  Beside the photograph is a table of contents
    185 with an arrow marking where you are.  This table is expandable: click on the
    186 folders to open them or close them.  Click on the open book at the top to close
    187 it.
    188 
    189 <p>Underneath is the text of the current section.  When you have read through
    190 it, there are arrows at the bottom to take you on to the next section or back
    191 to the previous one.
    192 
    193 <p>Below the photograph are three buttons.  Click on <i>detach</i> to make a
    194 new browser window for this book.  (This is useful if you want to compare
    195 books, or read two at once.)  Click on <i>expand contents</i> to expand out the
    196 whole table of contents so that you can see the titles of all chapters and
    197 subsections.  Click on <i>expand text</i> to expand out the whole text of the
    198 current section, or book.  If the book is large, this could take a long time
    199 and use a lot of memory!
    200 }
    201 
    202 _textnextbutton_ {Click on the arrow to go to the next section ...}
    203 _textprevbutton_ {... or back to the previous section}
    204 
    205 _httpicondtchdemo_ {_httpimg_/edtchof.gif}
    206 _httpicondtchdemo_ [l=mi] {_httpimg_/medtchof.gif}
    207 
    208 _httpiconeexpdemo_ {_httpimg_/eexpcof.gif}
    209 _httpiconeexpdemo_ [l=mi] {_httpimg_/meexpcof.gif}
    210 
    211 _httpiconealltdemo_ {_httpimg_/ealltof.gif}
    212 _httpiconealltdemo_ [l=mi] {_httpimg_/mealltof.gif}
    213 
    214 _textexplainbuttons_ {
    215 <p>
    216 <table cellspacing="0" cellpadding="2" border="0">
    217 <tr><td><img src="_httpimg_/smtext.gif" border="0"></td><td>_document:texticonsmalltext_</td></tr>
    218 <tr><td><img src="_httpimg_/clsdfldr.gif" border="0"></td><td>_document:texticonclosedfolder_</td></tr>
    219 <tr><td><img src="_httpimg_/more.gif"></td><td>_textnextbutton_</td></tr>
    220 <tr><td><img src="_httpimg_/less.gif"></td><td>_textprevbutton_</td></tr>
    221 <tr><td><img src="_httpicondtchdemo_"></td><td valign="center">_document:texticondetach_</td></tr>
    222 <tr><td><img src="_httpiconeexpdemo_"></td><td valign="center">_document:texticonexpandtoc_</td></tr>
    223 <tr><td><img src="_httpiconealltdemo_"></td><td valign="center">_document:texticonexpandtext_</td></tr>
    224 <tr><td><img src="_document:httpiconehlof_"></td><td valign="center">_document:texticonhighlight_</td></tr>
    225 </table>
    226 }
    227 
    228 _texthelpsearching_ {
    229 <h2>How to search for particular words</h2>
    230 <p>
    231   From the search page, you make a query in these simple steps:<p>
    232  
    233   <ol><li>Specify what documents you want to search
    234       <li>Say whether you want to search for all or just some of the words
    235       <li>Type in the words you want to search for
    236       <li>Click the <i>Begin Search</i> button
    237   </ol>
    238 
    239 <p>When you make a query, the titles of twenty matching documents will be shown.
    240 There is a button at the end to take you on to the next twenty documents.  From
    241 there you will find buttons to take you on to the third twenty or back to the
    242 first twenty, and so on.  Click the title of any document, or the little button
    243 beside it, to see it.
    244 
    245 <p>A maximum of 100 is imposed on the number of
    246   documents returned.  You can change this number by clicking the
    247   <i>preferences</i> button at the top of the page.<p>
    248 
    249 <p>
    250 <a name=query-terms>
    251 _iconblankbar_<br>
    252 
    253 <h3>Search terms</h3>
    254 
    255 <p>The stuff that you type into the query box is interpreted as a list of words
    256 called "search terms."  Each term contains nothing but alphabetic characters
    257 and digits.  Terms are separated by white space.  If any other characters such
    258 as punctuation appear, they serve to separate terms just as though they were
    259 spaces.  And then they are ignored.  You can't search for words that include
    260 punctuation.
    261 
    262 <p>For example, the query<p>
    263     <ul><kbd>Agro-forestry in the Pacific Islands: Systems for Sustainability (1993)</kbd></ul>
    264       <p>will be treated the same as<p>
    265       <ul><kbd>Agro forestry in the Pacific Islands  Systems for Sustainability  1993 </kbd></ul><p>
    266 <p>
    267 <a name=query-type>
    268 _iconblankbar_<br>
    269 
    270 <h3>Query type</h3>
    271 
    272 <p><ul>There are two different kinds of query.<p>
    273 
    274   <li>Queries for <b>all</b> of the words.  These look for chapters (or
    275       titles) that
    276       contain all the words you have specified.  Documents that satisfy the
    277       query are displayed, in alphabetical order.<p>
    278 
    279   <li>Queries for <b>some</b> of the words.  Just list some terms that are
    280       likely to appear in the documents you are looking for.  Documents are
    281       displayed in order of how closely they match the query.  When determining
    282 
    283       the degree of match,
    284 
    285       <p><ul>
    286         <li> the more search terms a document contains, the closer it matches;
    287         <li> rare terms are more important than common ones;
    288         <li> short documents match better than long ones.
    289       </ul>
    290 
    291       <p>Use as many search terms as you like--a whole sentence, or even a
    292       whole paragraph.  If you specify only
    293       one term, documents will be ordered by its frequency of occurrence.<p>
    294      
    295 </ul>
    296 
    297 <p>
    298 <a name=other-options><a name=scope-of-queries>
    299 _iconblankbar_<br>
    300 _texthelpscope_
    301 <h3 align=left>Case sensitivity and stemming</h3>
    302 
    303 <p>When you click the <i>preferences</i> button at the top of the page you will
    304 see two pairs of buttons that control the case sensitivity and stemming of your
    305 queries. The first set of buttons controls whether upper and lower case must
    306 match (case sensitivity).  The second set controls whether to ignore word
    307 endings or not (stemming).
    308 
    309 <p>For example, if the buttons <i>ignore case differences</i> and
    310 <i>ignore word endings</i> are selected, the query<p>
    311     <ul><kbd>African building</kbd></ul>
    312       <p>will be treated the same as<p>
    313       <ul><kbd>africa builds</kbd></ul><p>
    314       because the uppercase letter in "African" will be transformed to
    315       lowercase, and  the suffixes "n" and "ing" will be removed from
    316       "African" and "building" respectively (also, "s" would be removed from
    317       "builds").
    318 }
    319 
    320 _textnumbrowseoptions_ {<p>There _If_("_numbrowseoptions_" == "1",is 1 way,are _numbrowseoptions_ ways) to
    321 find information in this collection:}
    322 
    323 _textnumbrowseoptions_ [l=mi] {<p>E _numbrowseoptions_ ng&auml; huarahi hei rapu k&ouml;rero i te kohikohinga niupepa}
    324 
    325 _textsimplehelpheading_ {How to find information}
    326 
    327 _texthelpscope_ {
    328 <h3 align=left>Scope of queries</h3>
    329 
    330 <p>
    331 You can choose the "granularity" at which your search is done, that
    332 is, the size of the text against which the query is matched.
    333 You can choose <i>title</i> or
    334 <i>chapter</i>.
    335 
    336 <p>Regardless of how you search, the results are always displayed in terms of a
    337 complete book, opened at the appropriate place.
    338 
    339 <p>
    340 <a name=stemming>
    341 _iconblankbar_<br>
    342 }
    343 
    344 
    345 ################################
    346 # Maori text                   #
    347 ################################
    348 
    349 
    350 _texthelptopics_ [l=mi] {
    351 <h2 align=left>Kaupapa</h2>
    352 <ul>
    353   <li><a href="\#finding-information">Ng&auml; huarahi hei rapu k&ouml;rero</a>
    354   <li><a href="\#reading-books">Te p&auml;nui niupepa/kupu whakataki</a>
    355   <li><a href="\#searching">Te rapu kupu</a>
    356 <ul>
    357   <li><a href="\#query-terms">Ng&auml; kupu hei rapu</a>
    358   <li><a href="\#query-type">Ng&auml; t&uuml;momo rapu</a>
    359   <li><a href="\#scope-of-queries">Te wh&auml;nui o te rapu</a>
    360   <li><a href="\#stemming">Ng&auml; p&uuml; matua, p&uuml; iti me ng&auml; k&uuml;muri hoki</a>
    361 </ul>
    362 </ul>
    363 }
    364 
    365 _texthelpsearching_ [l=mi] {
    366 <h2>Te rapu kupu</h2>
    367 <p>
    368   Ko te wh&auml;rangi rapu te wh&auml;rangi hei rapu kupu. Ka puta mai taua wh&auml;rangi ka
    369   whai mai &euml;nei k&ouml;kiri kia rapu ai i (t)&euml;tehi kupu:<p>   
    370 
    371   <ol><li>K&ouml;whiritia ko ng&auml; niupepa, ko ng&auml; kupu whakataki r&auml;nei,
    372     ko ng&auml; r&auml;popoto reo P&auml;keh&auml;, ko aua mea e toru r&auml;nei
    373       <li>K&ouml;whiritia ko &euml;tehi o ng&auml; kupu rapu, ko te katoa r&auml;nei o ng&auml;
    374           kupu rapu
    375       <li>Tuhia ng&auml; kupu rapu
    376       <li>Pat&ouml;hia te p&auml;tene <i>Rapua</i>
    377   </ol>
    378 <p>Ka tukua te rapu ka hoki mai ng&auml; pukapuka rua tekau e p&auml; ana ki &auml;u kupu rapu.
    379 He p&auml;tene kei raro r&auml; o te wh&auml;rangi hei titiro ai ki ng&auml; pukapuka 21 ki te
    380 40 e p&auml; ana ki &auml;u kupu rapu. M&auml; &euml;nei p&auml;tene kei raro r&auml; ka taea
    381 te tirohia te katoa o ng&auml; wh&auml;rangi e p&auml; ana ki t&auml;u i rapu ai.
    382 
    383 <p>Ka kore e nuku atu i te 100 o ng&auml; pukapuka ka kitea i t&euml;tehi rapunga. Heoi an&auml;
    384 ka taea te whakarerek&euml; t&euml;nei nama i te wh&auml;rangi whiriwhiringa.
    385 
    386 <p>
    387 <a name=query-terms>
    388 _iconblankbar_<br>
    389 
    390 <h3>Ng&auml; kupu hei rapu</h3>
    391 
    392 <p>Koia nei ng&auml; kupu ka tuhia ki roto i te pouaka rapu. Me tuhi ko ng&auml; reta me ng&auml;
    393 nama anak&euml;. Kaua e tuhia ng&auml; tohu t&ouml;, he uaua te kite i ng&auml; tohu t&ouml; i roto
    394 i ng&auml; niupepa. Me noho te mokow&auml; (w&auml;hi w&auml;tea) i waenganui i ng&auml; kupu.
    395 Kaua e tuhi ng&auml; tuhutuhi (p&euml;r&auml; i te "?" me te "/"), ka tangohia aua tohu e te
    396 rorohiko nei, ka whakauru ko te mokow&auml;.
    397 
    398 <p>Hei tauira, ki te tuku atu i &euml;nei kupu rapu;
    399     <ul><kbd>huihuinga-a-motu / Whanganui (1860-1885)</kbd></ul>
    400        <p>ka rapua k&euml;tia e te rorohiko &euml;nei kupu;
    401     <ul><kbd>huihuinga a motu Whanganui 1860 1885</kbd></ul><p>
    402 
    403 <p>
    404 <a name=query-type>
    405 _iconblankbar_<br>
    406 
    407 <h3>Ng&auml; T&uuml;momo Rapu</h3>
    408 
    409 <p><ul>E rua ng&auml; t&uuml;momo rapu<p>
    410 
    411   <li>Ka rapua te <b>katoa</b> o &auml;u kupu rapu. Ka rapua ng&auml; pukapuka e mau ana i te katoa
    412       o ng&auml; kupu rapu kua tuhia e koe. Ka whakaatu mai aua pukapuka e p&auml; ana ki te
    413       whakar&auml;rangi-&auml;-p&uuml;.
    414 
    415   <li>Ka rapua <b>&euml;tehi</b> o &auml;u kupu rapu. N&ouml; reira, me tuhi noa he kupu e p&auml;
    416       ana ki te kaupapa e hiahia ana koe. Ka whakar&auml;rangitia ng&auml; pukapuka e p&auml; ana
    417       ki te ritenga ki &auml;u kupu rapu. Ar&auml;, ka puta tuatahitia mai ng&auml; pukapuka;   
    418 
    419       <p><ul>
    420         <li> e mau ana i te maha o &auml;u kupu rapu;
    421         <li> e mau ana i ng&auml; kupu uaua te kite o &auml;u kupu rapu;
    422         <li> e iti ana, ka whai mai ko ng&auml; pukapuka nui.
    423       </ul>
    424 
    425       <p>Me tuhi i te maha o ng&auml; kupu rapu kia arahina te rapu ki t&ouml; ake hiahia.
    426 </ul>
    427 
    428 <p>
    429 <a name=other-options><a name=scope-of-queries>
    430 _iconblankbar_<br>
    431 
    432 _texthelpscope_
    433 
    434 <h3 align=left>Ng&auml; p&uuml; matua, p&uuml; iti me ng&auml; k&uuml;muri hoki</h3>
    435 
    436 <p>Pat&ouml;hia te p&auml;tene whiriwhiringa kia puta mai ai te wh&auml;rangi e p&auml;
    437 ana ki ng&auml; p&uuml; matua, p&uuml; iti me ng&auml; k&uuml;muri hoki. Ka h&auml;ngai
    438 te whiriwhiringa tuatahi ki ng&auml; p&uuml; matua me ng&auml; p&uuml; iti. &Auml;e
    439 r&auml;nei, me tika te p&uuml; matua me te p&uuml; iti, k&auml;ore r&auml;nei, hei aha
    440 te &auml;ta titiro ki ng&auml; p&uuml; matua me ng&auml; p&uuml; iti. Ka h&auml;ngai te
    441 whiriwhiringa tuarua ki ng&auml; k&uuml;muri o te kupu. &Auml;e r&auml;nei, me tino
    442 &ouml;rite te k&uuml;muri, k&auml;ore r&auml;nei, hei aha te &auml;ta titiro ki ng&auml;
    443 k&uuml;muri o ng&auml; kupu. M&ouml; ng&auml; kupu P&auml;keh&auml; anak&euml; te
    444 whiriwhiringa k&uuml;muri.
    445 
    446 <p>Hei tauira, mehemea ka k&ouml;whiritia te <i>hei aha te p&uuml; matua me te p&uuml;
    447 iti</i>, &auml;, ka k&ouml;whiritia hoki te <i>hei aha te k&uuml;muri o te kupu</i>
    448 k&auml;tahi ka tukua &euml;nei kupu hei rapu;
    449 <p>
    450   <ul><kbd>Aotearoa building</kbd></ul>
    451     <p>ka &ouml;rite te whakahoki mai o ng&auml; pukapuka ki &euml;nei kupu rapu
    452   <ul><kbd>aotearoa builds</kbd></ul>
    453 <p>ka p&euml;nei i te mea, k&auml;ore te rapu i te &auml;ta titiro mehemea he p&uuml;
    454 matua, he p&uuml; iti r&auml;nei, &auml, ka tangohia ng&auml; k&uuml;muri (p&euml;r&auml;
    455 i te "ing", me te "s") i t&euml;nei whiriwhiringa.
    456 
    457 }
    458 
    459 _textsimplehelpheading_ [l=mi] {Ng&auml; huarahi hei rapu k&ouml;rero}
    460 
    461 _textnextbutton_ [l=mi] {Haere whakamua}
    462 _textprevbutton_ [l=mi] {Haere whakamuri}
    463 
    464 
    465 
    466 ################################
    467 # Chinese text                 #
    468 ################################
    469 
    470 _texthelptopics_ [l=zh] {
    471 <h2 align=left>目圕</h2>
    472 <ul>
    473   <li><a href="\#finding-information">_textsimplehelpheading_</a>
    474   <li><a href="\#reading-books"> €€åŠ‚䜕é˜
    475 è¯»ä¹Šç›®</a>
    476   <li><a href="\#searching"> €€åŠ‚䜕按特定字查询</a>
    477 <ul>
    478   <li><a href="\#query-terms">    €€æ£€çŽ¢é¡¹</a>
    479   <li><a href="\#query-type">      查询类型</a>
    480   <li><a href="\#scope-of-queries">      查询范囎</a>
    481 </ul>
    482 </ul>
    483 }
    484 
    485 _textsimplehelpheading_ [l=zh] {劂䜕查扟信息}
    486 
    487 
    488 _texthelpreadingbooks_ [l=zh] {
    489 <h2>劂䜕é˜
    490 è¯»ä¹Šç›®</h2>
    491 
    492 <p>   €€åœ“è¿›å
    493 ¥æŸäž€ä¹Šç›®æ—¶ïŒŒé€šè¿‡å°é¢ïŒŒäœ å¯åŸ—知屏幕正圚星瀺哪䞀䞪乊目封面旁蟹是目圕衚箭倎指明歀时所倄䜍眮。该目圕衚是可扩展的单击歀目圕衚可实现打匀或å
    494 ³é—­ïŒŒå•å‡»é¡¶éƒšæ‰“匀的乊目以å
    495 ³é—­å®ƒã€‚
    496 
    497 <p>目圕衚䞋面是圓前郚仜的文本圚歀之后有䞀䞪箭倎分别指向䞋䞀郚仜或前䞀郚仜文本。
    498 
    499 <p>圚封面䞋方有䞉䞪按键单击“分犻”则打匀及䞀浏览窗星瀺该屏幕这䞪功胜圚想芁比蟃䞍同的乊或同时é˜
    500 è¯»äž€æœ¬ä¹Šæ—¶æ˜¯æœ‰åž®åŠ©çš„单击“扩展å†
    501 å®¹â€ä»¥åŸ—到敎䞪乊目衚从而看到所有章节的目圕单击“扩展文本”可获埗圓前章节或乊目的å
    502 šéƒšæ–‡æœ¬ïŒŒåŠ‚果是䞀本埈长的乊可胜䌚需芁蟃长的时闎以及倧量的å†
    503 å­˜ã€‚
    504 }
    505 
    506 _textnextbutton_ [l=zh] { 单击箭倎进å
    507 ¥äž‹äž€éƒšä»œ}
    508 _textprevbutton_ [l=zh] { 或è€
    509 è¿”回前页}
    510 
    511 _texthelpsearching_ [l=zh] {
    512 <h2>劂䜕按特定字查询</h2>
    513 <p>
    514 ä»ŽæŸ¥è¯¢é¡µïŒŒæŒ‰ä»¥äž‹ç®€å•çš„步骀蟓å
    515 ¥æŸ¥è¯¢é¡¹ïŒš<p>
    516  
    517   <ol><li>指明想芁查询的文件
    518       <li>选择是查询所有字还是郚仜字
    519       <li>蟓å
    520 ¥èŠæŸ¥è¯¢çš„å­—
    521       <li>单击“匀始查询”
    522   </ol>
    523 
    524 <p>进行查询后第䞀组䞪匹é
    525 äžŠçš„记圕的题名䌚星瀺出来圚歀䞪题名之后有䞀按键可以指向䞋䞀组䞪记圕的题名从该屏幕䜠可看到䞀䞪按键䞀䞪按键进䞀步指向第䞉组䞪记圕的题名及倖䞀䞪按键甚来返回䞊䞀组题名。单击任䞀乊目的题名或å
    526 ¶æ—èŸ¹çš„小按键就可进行é˜
    527 è¯»è¿™æ¡è®°åœ•çš„诊细å†
    528 å®¹ã€‚
    529 
    530 <p>最倚返回条记圕劂芁改变该数目则单击页面右䞊方的“选项”
    531 
    532 <p>
    533 <a name=query-terms>
    534 _iconblankbar_<br>
    535 
    536 <h2>检玢项</h2>
    537 
    538 <p>蟓å
    539 ¥åˆ°æŸ¥è¯¢æ¡†äž­çš„å†
    540 å®¹ïŒŒå°†è¢«èœ¬åŒ–成䞀䞪叫做查询项的单字集查询项可以是汉字、阿拉䌯字母或数字查询项之闎可以有空栌也可以没有。劂果遇到å
    541 ¶ä»–的笊号䟋劂标点笊号则䌚被応略并将它们看䜜空栌倄理因歀䞍胜查询åŒ
    542 å«æ ‡ç‚¹ç¬Šå·çš„词。
    543 
    544 <p>䟋劂查询<p>
    545     <ul><kbd>    €€å†
    546 å®¹åŒ
    547 æ‹¬ïŒšèœ¯ä»¶å·¥çš‹ïŒˆ1999</kbd></ul>
    548       <p>䞎䞋面的查询项倄理是盞同的<p>
    549       <ul><kbd>  å†
    550 å®¹åŒ
    551 æ‹¬èœ¯ä»¶å·¥çš‹1999</kbd></ul><p>
    552 
    553 <a name=query-type>
    554 _iconblankbar_<br>
    555 
    556 <h2>查询类型</h2>
    557 
    558 <p><ul>可以按䞀种䞍同的方匏查询<p>
    559 
    560   <li>查询所有的字。圚这种æƒ
    561 å†µäž‹ç³»ç»Ÿå°†æŸ¥æ‰ŸåŒ
    562 æ‹¬æ‰€æœ‰åœšæŸ¥è¯¢é¡¹æŒ‡å®šçš„字的记圕或题名。笊合条件的记圕将被星瀺圚屏幕䞊。
    563 
    564   <li>查询郚仜字。系统ä»
    565 æŸ¥æ‰ŸåŒ
    566 å«æŸ¥è¯¢é¡¹äž­ä»»æ„äž€äžªæˆ–几䞪字的记圕文件按å
    567 ¶äžŽæŸ¥è¯¢å†
    568 å®¹æ‰€åŒ¹é
    569 çš„皋床来星瀺圚决定匹é
    570 çš‹åºŠæ—¶ïŒš
    571 
    572       <p><ul>
    573         <li>  åŒ
    574 å«è¶Šå€šçš„查询项的记圕å
    575 ¶åŒ¹é
    576 çš‹åºŠè¶Šé«˜ïŒ›
    577         <li>  少见的查询项比垞见的查询项曎重芁
    578         <li>  短记圕比长记圕的匹é
    579 çš‹åºŠé«˜ã€‚
    580       </ul>
    581 
    582       <p>圚可胜的æƒ
    583 å†µäž‹ïŒŒäœ¿ç”šå°œå¯èƒœå€šçš„查询项䞺奜䞀䞪句子或è€
    584 äž€äžªæ®µèœã€‚劂果只给䞀䞪查询项查询结果将按ç
    585 §å
    586 ¶åœšè®°åœ•äž­å‡ºçŽ°çš„频率进行排序。
    587      
    588 </ul>
    589 
    590 <p>
    591 <a name=other-options><a name=scope-of-queries>
    592 _iconblankbar_<br>
    593 _texthelpscope_
    594 }
    595 
    596 _texthelpscope_ [l=zh] {
    597 <h2 align=left>查询范囎</h2>
    598 
    599 <p>
    600 å¯ä»¥é€‰æ‹©åœšä»€ä¹ˆèŒƒå›Žå†
    601 è¿›è¡ŒæŸ¥è¯¢ïŒŒæ—¢æŸ¥è¯¢é¡¹åœšä»€ä¹ˆèŒƒå›Žå†
    602 è¿›è¡ŒåŒ¹é
    603 ã€‚可以选择题名或章节。
    604 
    605 <p>无论圚什么范囎å†
    606 è¿›è¡ŒæŸ¥è¯¢ïŒŒæŸ¥è¯¢ç»“果郜将是敎条记圕。
     32<p>_iconblankbar_
     33<a name=preferences>
     34_texthelppreferences_
     35<p>_iconblankbar_
    60736}
    60837
     
    61140
    61241
     42
     43
     44
     45
  • trunk/gsdl/macros/home.dm

    r736 r876  
    2222
    2323_iconnzdl_ {
    24 <p><img src="_httpimg_/new.gif">Welcome to our new look (still experimental). The old system is
    25 still up at <a href="http://www.nzdl.org/old">http://www.nzdl.org/old</a>
    26 <p><br>
    2724<img src="_httpiconnzdl_" width=_widthnzdl_ height=_heightnzdl_>}
    2825_icongbull_ {<img src="_httpicongbull_">}
     
    5855#######################################################################
    5956
    60 _pagetitle_ {Greenstone Digital Library}
     57_pagetitle_ {_textpagetitle_}
    6158_imagethispage_ {}
    6259_imagecollection_ {<center>_iconnzdl_</center>}
     
    9491</td></tr></table>
    9592</td></tr></table>
     93_textotherinfo_
    9694_iconblankbar_
    9795<table><tr valign=top>
     
    109107#######################################################################
    110108
    111 _documents_ { documents. }
    112 _lastupdate_ {Last updated}
    113 _ago_ {days ago.}
    114 _colnotbuilt_ {Collection not built.}
     109# moved to english.dm
    115110
    116 _textpeople_ {People}
    117 _textfb_ {Feedback}
    118 _textpub_ {Publications}
    119 _texttec_ {Technology}
    120 _textrw_ {Related Work}
    121 _textinfosheet_ {Info Sheet}
    122 _textscreenshots_ {Screen Shots}
    123 _textnpepainfosheet_ {Niupepa Info Sheet}
    124111
    125 _textprojhead_ {The New Zealand Digital Library Project}
    126112
    127 _textprojinfo_ {
    128 <h4>The NZDL system</h4>
    129113
    130 <p> The New Zealand Digital Library system comprises several demonstration
    131 collections -- computer science technical reports and bibliographies, literary
    132 works, humanitarian and development information, magazines -- and makes them
    133 available over the Web through full-text interfaces.  Behind the query
    134 interface lies a huge collection providing gigabytes of information.  We hope
    135 you find what you want, or at least something intriguing!
    136114
    137 <h4>The Greenstone software</h4>
    138115
    139 <p> The Greenstone Digital Library software provides a new way of organizing
    140 information and making it available over the Internet.  A <i>collection</i> of
    141 information comprises several (typically several thousand, or even several
    142 million) <i>documents</i>, which share a uniform searching and browsing
    143 interface.  The collections in a library are organized in a different
    144 way--though they share a strong family resemblance.  Although primarily
    145 designed for access over the Web, Greenstone collections can be made available,
    146 in precisely the same form, on CD-ROM for standalone PCs.  Greenstone is
    147 open-source software, available under the terms of the Gnu public linense.
    148  
    149 <h4>The research</h4>
    150116
    151 <p> The goal of our research program is to explore the potential of
    152 internet-based digital libraries.  Our vision is to develop systems that
    153 automatically impose structure on anarchic, uncatalogued, distributed
    154 repositories of information, thereby providing information consumers with
    155 effective tools to locate what they need and to peruse it conveniently and
    156 comfortably.  Our research objectives are to
    157 
    158 <ul>
    159   <li> develop technology for creating and automatically
    160       maintaining collections;
    161   <li> monitor usage to study library users' needs;
    162   <li> look at novel interfaces that cater to a wide spectrum of users;
    163   <li> find ways to abstract layout and bibliographic information
    164       from document files;
    165   <li> use this information to enhance presentation and for
    166       bibliometric research;
    167   <li> assess potential subject areas for public-domain collections;
    168   <li> survey and critique other digital library projects.
    169 </ul>
    170 
    171 <h4>DigiLib Systems Limited</h4>
    172 
    173 <p><a href="http://www.digilibs.com/">DigiLib Systems Limited</a> is an
    174 innovative software company that creates international digital libraries.
    175 As a major contributor to the Greenstone Digital Library Software they are
    176 able to build, customize, and extend digital libraries to meet exacting needs.
    177 Please <a href="mailto:[email protected]">contact</a> them for an obligation
    178 free quote.
    179 
    180 }
    181 
    182 _textpoem_ {
    183 <br><h2 align=left>Kia papapounamu te moana</h2>
    184 
    185         <p>kia hora te marino,
    186         <br>kia tere te karohirohi,
    187         <br>kia papapounamu te moana
    188 
    189         <p>may peace and calmness surround you,
    190         <br>may you reside in the warmth of a summer's haze,
    191         <br>may the ocean of your travels be as smooth as the polished greenstone.
    192 }
    193 
    194 _textgreenstone_ {
    195 <p><br>
    196 Greenstone is a semi-precious stone that (like this software) is sourced in
    197 New Zealand.  In traditional Maori society it was the most highly prized and
    198 sought after of all substances.  It can absorb and hold <i>wairua</i>, which is
    199 a spirit or life force, and is endowed with traditional virtues that make it an
    200 appropriate emblem for a public-domain digital library project.  Its lustre
    201 shows charity; its translucence, honesty; its toughness, courage; and the sharp
    202 edge it can take, justice.  The carved piece used in the Greenstone Digital
    203 Library Software logo is a <i>patu</i> or fighting club, and is a family
    204 heirloom of one of our project members.  In hand-to-hand combat its delivery is
    205 very quick, very accurate, and very complete.  We like to think these qualities
    206 also apply to our software, the razor sharp edge of the <i>patu</i> symbolizing
    207 the leading edge of technology.
    208 
    209 <p><a href="mailto:[email protected]">Greenstone Digital Library Software</a>
    210 <br><a href="http://www.cs.waikato.ac.nz/cs">Computer Science Department</a>,
    211 <a href="http://www.waikato.ac.nz">University of Waikato</a>, New Zealand
    212 
    213 <br>October 1999
    214 }
  • trunk/gsdl/macros/html.dm

    r453 r876  
    1111
    1212_content_ {
    13 <frameset rows="50,*" noresize border=0>
     13<frameset rows="68,*" noresize border=0>
    1414  <frame frameborder=0 src="_gwcgi_?e=_compressedoptions_&a=p&p=nav">
    1515  <frame frameborder=0 src="_cgiarghp_">
    1616  <noframes>
    17   <p>You must have a frame enabled browser to view this.</p>
     17  <p>_textframebrowser_</p>
    1818  </noframes>
    1919</frameset>
     
    2323package nav
    2424
    25 _header_ {<html>
     25_header_ {_cgihead_
     26_htmlhead_
     27<center>
     28<table width=_pagewidth_><tr><td align=right>
     29_javalinks_</td></tr></table>
     30</center>
     31}
     32
     33_faoheader_ [v=1] {_cgihead_
     34_htmlhead_
     35_javalinks_
     36}
     37
     38_htmlhead_ {
     39<html>
    2640<head>
     41<title>_pagetitle_</title>
    2742<base target="_top">
    2843_globalscripts_
    2944</head>
    30 <body bgcolor="\#ffffff" text="\#000000" link="\#006666"
     45
     46<body bgcolor="\#ffffff" text="\#000000" link="\#006666"
    3147      alink="\#cc9900" vlink="\#666633">
    3248}
     
    3854_content_ {
    3955<center>
    40 <br>
    4156_navigationbar_
    4257</center>
    4358}
    4459
     60
     61
     62
     63
     64
     65
     66
  • trunk/gsdl/macros/pref.dm

    r735 r876  
    11package preferences
     2
     3# set within server
     4
     5# collectionoption is only set when cross-collection searching is turned on
     6_collectionoption_ {}
     7
     8# this macro will be set to "1" when the "source docs retrived from dl/web
     9# button is required - i.e. whenever PreferenceDocsFromWeb isn't set to false
     10# in collect.cfg
     11_PreferenceDocsFromWeb_ {}
    212
    313
     
    2434#######################################################################
    2535
     36_ccsfunctions_ {argcc = "";
     37savedccs = new Object();
     38
     39function initialize () \{
     40  for (i = 0; i < document.links.length; i++)
     41    savedhrefs[i] = document.links[i].href;
     42
     43  s = "_cgiargcc_";
     44  a = s.split (",");
     45  for (i = 0; i < a.length ;i++) \{
     46    for (j = 0; j < document.PrefForm.cc.length; j++) \{
     47      if (a[i] == document.PrefForm.elements["cc"][j].value) \{
     48        document.PrefForm.elements["cc"][j].checked = true;
     49        savedccs[a[i]] = 1;
     50        argcc = argcc + "&cc=" + a[i];
     51        break;
     52      \} else \{
     53        savedccs[a[i]] = 0;
     54      \}
     55    \}
     56  \}
     57  updatehrefs();
     58\}
     59
     60function updatecc (collection) \{
     61  if (savedccs[collection] == 1) savedccs[collection] = 0;
     62  else savedccs[collection] = 1;
     63       
     64  var i;
     65  argcc = "";
     66  for (i in savedccs)
     67    if (savedccs[i] == 1) argcc += "&cc=" + i;
     68  updatehrefs();
     69\}
     70}
     71
     72_standardfunctions_ {
     73function initialize () \{
     74  for (i = 0; i < document.links.length; i++)
     75    savedhrefs[i] = document.links[i].href;
     76\}
     77}
     78
     79_getargsfunction_ {
     80function getargs () \{
     81  return argk + args + argm + argo + argb_If_('_cgiargccs_ == 1',_ccsargs_)_If_(_htmloptions_,_htmlargs_);
     82\}
     83}
     84
     85_ccsargs_ {+ argcc}
     86_htmlargs_ {+ argel + argil + argfc + arghl}
     87
     88_htmlfunctions_ {argel = "";
     89argil = "";
     90argfc = "";
     91arghl = "";
     92
     93function updateel () \{
     94  value = document.PrefForm.el.options[document.PrefForm.el.selectedIndex].value;
     95  if (value != "_cgiargel_") argel = "&el=" + value;
     96  else argel = "";
     97  updatehrefs();
     98\}
     99
     100function updateil () \{
     101  value = document.PrefForm.il.options[document.PrefForm.il.selectedIndex].value;
     102  if (value != "_cgiargil_") argil = "&il=" + value;
     103  else argil = "";
     104  updatehrefs();
     105\}
     106
     107function updatefc () \{
     108  if (document.PrefForm.fc.checked)
     109    _If_("_cgiargfc_" eq "1",_argfcblank_,_argfcon_)
     110  else
     111    _If_("_cgiargfc_" ne "1",_argfcblank_,_argfcoff_)
     112  updatehrefs();
     113\}
     114
     115function updatehl () \{
     116  if (document.PrefForm.hl.checked)
     117    _If_("_cgiarghl_" eq "1",_arghlblank_,_arghlon_)
     118  else
     119    _If_("_cgiarghl_" ne "1",_arghlblank_,_arghloff_)
     120  updatehrefs();
     121\}
     122}
     123
     124_argfcblank_ {argfc = "";}
     125_argfcon_ {argfc = "&fc=1&f=1";}
     126_argfcoff_ {argfc = "&fc=0&f=0";}
     127
     128_arghlblank_ {arghl = "";}
     129_arghlon_ {arghl = "&hl=1";}
     130_arghloff_ {arghl = "&hl=0";}
     131
    26132_pagescriptextra_ {
    27133// preferences scripts generated from \_preferences:pagescriptextra\_
    28134
    29     savedhrefs = new Object();
    30 
    31     argk = "";
    32     args = "";     
    33     argm = "";
    34     argo = "";
    35     argb = "";
    36         argel = "";
    37         argil = "";
    38 
    39     function initialize () \{
    40         for (i = 0; i < document.links.length; i++)
    41             savedhrefs[i] = document.links[i].href;
    42     \}
    43 
    44     function updatehrefs () \{
    45         for (i = 0; i < document.links.length; i++)
    46             document.links[i].href = savedhrefs[i] + argk + args + argm + argo + argb + argel + argil;
    47     \}
    48 
    49     function updatek (value) \{
    50         if (value != _cgiargk_) argk = "&k=" + value;
    51         else argk = "";
    52         updatehrefs();
    53     \}
    54 
    55     function updates (value) \{
    56         if (value != _cgiargs_) args = "&s=" + value;
    57         else args = "";
    58         updatehrefs();
    59     \}
    60 
    61     function updatem () \{
    62         value = document.PrefForm.m.options[document.PrefForm.m.selectedIndex].value;
    63         if (value != _cgiargm_) argm = "&r=1&m=" + value;
    64         else argm = "";
    65         updatehrefs();
    66     \}
    67 
    68     function updateo () \{
    69         value = document.PrefForm.o.options[document.PrefForm.o.selectedIndex].value;
    70         if (value != _cgiargo_) argo = "&r=1&o=" + value;
    71         else argo = "";
    72         updatehrefs();
    73     \}
    74 
    75     function updateb (value) \{
    76         if (value != _cgiargb_) argb = "&b=" + value;
    77         else argb = "";
    78         updatehrefs();
    79     \}
    80 
    81     function updateel () \{
    82         value = document.PrefForm.el.options[document.PrefForm.el.selectedIndex].value;
    83         if (value != "_cgiargel_") argel = "&el=" + value;
    84         else argel = "";
    85         updatehrefs();
    86     \}
    87 
    88     function updateil () \{
    89         value = document.PrefForm.il.options[document.PrefForm.il.selectedIndex].value;
    90         if (value != "_cgiargil_") argil = "&il=" + value;
    91         else argil = "";
    92         updatehrefs();
    93     \}
    94 
    95     function updatel () \{
    96         value = document.PrefForm.l.options[document.PrefForm.l.selectedIndex].value;
    97         location.href = location.href + argk + args + argm + argo + argb + argel + argil + "&l=" + value;
    98     \}
    99 
    100     function updatev () \{
    101         value = document.PrefForm.v.options[document.PrefForm.v.selectedIndex].value;
    102         location.href = location.href + argk + args + argm + argo + argb + argel + argil + "&v=" + value;
    103     \}
    104 
    105     function updatew () \{
    106         value = document.PrefForm.w.options[document.PrefForm.w.selectedIndex].value;
    107         location.href = location.href + argk + args + argm + argo + argb + argel + argil + "&nw=" + value;
    108     \}
    109 
     135savedhrefs = new Object();
     136
     137argk = "";
     138args = "";     
     139argm = "";
     140argo = "";
     141argb = "";
     142_If_('_cgiargccs_ == 1',_ccsfunctions_,_standardfunctions_)
     143_If_(_htmloptions_,_htmlfunctions_)
     144_getargsfunction_
     145function updatehrefs () \{
     146  for (i = 0; i < document.links.length; i++)
     147    document.links[i].href = savedhrefs[i] + getargs();
     148\}
     149
     150function updatek (value) \{
     151  if (value != _cgiargk_) argk = "&k=" + value;
     152  else argk = "";
     153  updatehrefs();
     154\}
     155
     156function updates (value) \{
     157  if (value != _cgiargs_) args = "&s=" + value;
     158  else args = "";
     159  updatehrefs();
     160\}
     161
     162function updatem () \{
     163  value = document.PrefForm.m.options[document.PrefForm.m.selectedIndex].value;
     164  if (value != _cgiargm_) argm = "&r=1&m=" + value;
     165  else argm = "";
     166  updatehrefs();
     167\}
     168
     169function updateo () \{
     170  value = document.PrefForm.o.options[document.PrefForm.o.selectedIndex].value;
     171  if (value != _cgiargo_) argo = "&r=1&o=" + value;
     172  else argo = "";
     173  updatehrefs();
     174\}
     175
     176function updateb (value) \{
     177  if (value != _cgiargb_) argb = "&b=" + value;
     178  else argb = "";
     179  updatehrefs();
     180\}
     181
     182function updatel () \{
     183  value = document.PrefForm.l.options[document.PrefForm.l.selectedIndex].value;
     184  location.href = location.href + "&l=" + value + getargs();
     185\}
     186
     187function updatev () \{
     188  value = document.PrefForm.v.options[document.PrefForm.v.selectedIndex].value;
     189  location.href = location.href + "&v=" + value + getargs();
     190\}
     191
     192function updatew () \{
     193  value = document.PrefForm.w.options[document.PrefForm.w.selectedIndex].value;
     194  location.href = location.href + "&nw=" + value + getargs();
     195\}
    110196}
    111197
     
    133219_pagetitle_ {_collectionname_: _textpreferences_}
    134220_imagethispage_ {_iconthispage_}
     221
     222_htmloptions_ {}
     223
     224_htmloptionson_ {
     225<p>
     226_fcoption_
     227<p>
     228_hloption_
     229<p>
     230_extlinkoption_
     231_If_(_PreferenceDocsFromWeb_,<p>
     232_intlinkoption_)
     233}
    135234
    136235_caseoption_ {
     
    141240}
    142241
     242_fcoption_ {
     243<input type=checkbox name=fc onClick="updatefc();"_If_("_cgiargfc_" eq "1", checked)>
     244_textfcoption_
     245}
     246
     247_hloption_ {
     248<input type=checkbox name=hl onClick="updatehl();"_If_("_cgiarghl_" eq "1", checked)>
     249_texthloption_
     250}
     251
    143252_caseoption_ [l=zh] {}
    144253
    145254_stemoption_ {
    146255<input type=radio name=s value=1 onClick="updates(1);"
    147         _If_(_cgiargs_, checked)>_textstem_<br>
     256  _If_(_cgiargs_, checked)>_textstem_<br>
    148257<input type=radio name=s value=0 onClick="updates(0);"
    149         _If_(_cgiargs_,, checked)>_textnostem_
     258  _If_(_cgiargs_,, checked)>_textnostem_
    150259}
    151260
     
    165274  <option value="20"_If_("_cgiargo_" eq "20", selected)>20
    166275  <option value="50"_If_("_cgiargo_" eq "50", selected)>50
    167   <option value="100")_If_("_cgiargo_" eq "100", selected)>all
     276  <option value="100")_If_("_cgiargo_" eq "100", selected)>_textall_
    168277</select>
    169278}
     
    180289<select name="el" onChange="updateel();">
    181290  <option value="prompt"_If_("_cgiargel_" eq "prompt", selected)>
    182      through intermediate page
     291     _textlinkinterm_
    183292  <option value="direct"_If_("_cgiargel_" eq "direct", selected)>
    184      go directly there
     293     _textlinkdirect_
    185294</select>
    186295}
     
    190299<select name="il" onChange="updateil();">
    191300  <option value="l"_If_("_cgiargil_" eq "l", selected)>
    192      the digital library
     301     _textdigitlib_
    193302  <option value="w"_If_("_cgiargil_" eq "w", selected)>
    194      the Web
    195 </select>
    196 }
    197 
    198 
    199 _languageoption_ {
    200 _textlanguage_
    201 <select name="l" onChange="updatel();">
    202   <option value="en"_If_("_cgiargl_",, selected)_If_("_cgiargl_" eq "en", selected)>English
    203   <option value="mi"_If_("_cgiargl_" eq "mi", selected)>M&auml;ori
    204   <option value="zh"_If_("_cgiargl_" eq "zh", selected)>Chinese
    205 </select>
    206 }
     303     _textweb_
     304</select>
     305}
     306
     307_languageoption_ {}
     308
     309_enlanguageoption_ {<option value="en"_If_("_cgiargl_",, selected)_If_("_cgiargl_" eq "en", selected)>_textlangeng_}
     310_milanguageoption_ {<option value="mi"_If_("_cgiargl_" eq "mi", selected)>_textlangmaori_}
     311_zhlanguageoption_ {<option value="zh"_If_("_cgiargl_" eq "zh", selected)>_textlangchinese_}
    207312
    208313_encodingoption_ {
     
    231336<form name=PrefForm method=get action="_gwcgi_">
    232337
    233 <input type="hidden" name="e" value="_compressedoptions_">
    234 
    235 <p>
    236 _caseoption_
    237 
    238 <p>
    239 _stemoption_
    240 
    241 <p>
    242 _textprefop_
    243 
    244 <p>
    245 _modeoption_
    246 
    247 <p>
    248 _extlinkoption_
    249 
    250 <p>
    251 _intlinkoption_
    252 
    253 <p>
    254 _languageoption_
    255 
    256 <p>
    257 _encodingoption_
    258 
    259 <p>
    260 _formatoption_
     338<input type="hidden" name="e" value="_decodedcompressedoptions_">
     339
     340_If_(_collectionoption_,_collectionprefs_)
     341_presentationprefs_
     342_searchprefs_
    261343
    262344</blockquote>
     
    264346}
    265347
     348_searchprefs_ {
     349<h3>_textsearchprefs_</h3>
     350<p>
     351_caseoption_
     352
     353<p>
     354_stemoption_
     355
     356<p>
     357_modeoption_
     358
     359<p>
     360_textprefop_
     361<br>_iconblankbar_
     362}
     363
     364_collectionprefs_ {
     365<h3>_textcollectionprefs_</h3>
     366_collectionoption_
     367<br>_iconblankbar_
     368}
     369
     370_presentationprefs_ {
     371<h3>_textpresentationprefs_</h3>
     372_htmloptions_
     373
     374<p>
     375_languageoption_
     376
     377<p>
     378_encodingoption_
     379
     380<p>
     381_formatoption_
     382<br>_iconblankbar_
     383}
    266384
    267385#######################################################################
     
    284402
    285403
    286 #######################################################################
    287 # english macros
    288 #######################################################################
    289 
    290 _textpreferences_ {Preferences}
    291 _textignorecase_ { ignore case differences}
    292 _textmatchcase_ { upper/lower case must match}
    293 _textstem_ { ignore word endings}
    294 _textnostem_ { whole word must match}
    295 _textprefop_ {Return up to _maxdocoption_ hits with _hitsperpageoption_ hits per page.}
    296 _textextlink_ {Access to external Web pages: }
    297 _textintlink_ {Source documents retrieved from:}
    298 _textlanguage_ {Interface language: }
    299 _textencoding_ {Encoding: }
    300 _textformat_ {Interface format: }
    301 _textsimplemode_ {simple query mode}
    302 _textadvancedmode_ {advanced query mode (allows boolean searching using !, &, |, and parenthesis)}
    303 _textgraphical_ {Graphical}
    304 _texttextual_ {Textual}
    305 
    306 
    307 #######################################################################
    308 # chinese macros
    309 #######################################################################
    310 _textintlink_ [l=zh] {}
    311 _textextlink_ [l=zh] {}
    312 
    313 _textprefop_ [l=zh] {查询最倚返回 
    314 ã€€ _maxdocoption_ 记圕每页返回
    315 _hitsperpageoption_ 记圕}
    316 _textlanguage_ [l=zh] {界面语蚀}
    317 _textsimplemode_ [l=zh] {简单查询方匏}
    318 _textadvancedmode_ [l=zh] {高级查询方匏(可以䜿甚 !、&、| 和括号来进行垃尔查询)}
    319 _textencoding_ [l=zh] {猖码方匏}
    320 _textformat_ [l=zh] {界面栌匏}
    321 
    322 #######################################################################
    323 # maori macros
    324 #######################################################################
    325 
    326 _textpreferences_ [l=mi] {Whiriwhiringa}
    327 _textignorecase_ [l=mi] { hei aha te p&uuml; matua me te p&uuml; iti}
    328 _textmatchcase_ [l=mi] { me tika te p&uuml; matua me te p&uuml; iti}
    329 _textstem_ [l=mi] { hei aha te k&uuml;muri}
    330 _textnostem_ [l=mi] { me tika te k&uuml;muri}
    331 _textprefop_ [l=mi] {Whakahokia mai te _maxdocoption_ kupu, &auml;, kia _hitsperpageoption_ kupu ki ia wh&auml;rangi.}
    332 _textlanguage_ [l=mi] {Reo: }
    333 _textencoding_ [l=mi] {Whakatakotoranga p&uuml;: }
    334 _textformat_ [l=mi] {Whakatakotoranga wh&auml;rangi: }
    335 _textsimplemode_ [l=mi] {te rapu wh&auml;iti}
    336 _textadvancedmode_ [l=mi] {te rapu wh&auml;nui (ka taea te whakamahia ng&auml; p&uuml; boolean,
    337 p&euml;r&auml; i te !, &, |, me te "()" hoki)}
    338 _textgraphical_ [l=mi] {Whakaahua}
    339 _texttextual_ [l=mi] {K&auml;ore he whakaahua}
    340 
    341 
    342 
    343 
     404
     405
     406
     407
     408
     409
  • trunk/gsdl/macros/query.dm

    r725 r876  
    7777
    7878<input type=hidden name="a" value="q">
    79 <input type=hidden name="e" value="_compressedoptions_">
     79<input type=hidden name="e" value="_decodedcompressedoptions_">
    8080<input type=hidden name="r" value="1">
    8181
     
    112112#######################################################################
    113113
    114 _textquerytitle_ {_If_(_thislast_,results _thisfirst_ - _thislast_ for query: _cgiargq_,No matches for query: _cgiargq_}
    115 _textnoquerytitle_ {Search page}
     114# moved to english.dm
    116115
    117 _texticonthispage_ {search}
    118 _textsome_ {_If_(_cgiargb_,ranked,some)}
    119 _textall_ {_If_(_cgiargb_,boolean,all)}
    120 _texticonqueryresultsbar_ {}
    121 _textfreqmsg1_ {Word count: }
    122 _textpostprocess_ {_If_(_quotedquery_,<br><i>post-processed to find _quotedquery_</i>
    123 )}
    124 
    125 _textmorethan_ {More than }
    126 _textapprox_ {About }
    127 _textnodocs_ {No documents matched the query.}
    128 _text1doc_ {1 document matched the query.}
    129 _textlotsdocs_ {documents matched the query.}
    130 _textmatches_ {Matches }
    131 _textbeginsearch_ {Begin Search}
    132 
    133 # the textselect macro may need to be overridden for some collections
    134 # _hselection_, _jselection_ and _nselection_ are set from within the server
    135 # some or all of them may remain unset
    136 _textselect_ {_If_(_cgiargb_,_textadvancedsearch_,_textsimplesearch_)}
    137 
    138 _defaultindextext_ { all text }
    139 _textsimplesearch_ {Search for _If_(_hselection_, _hselection_, _defaultindextext_)_If_(_jselection_,_textjselect_)_If_(_nselection_, in _nselection_ language)
    140 which contain _querytypeselection_ of the words}
    141 
    142 _textadvancedsearch_ {Search_If_(_hselection_, _hselection_, _defaultindextext_)_If_(_jselection_,_textjselect_)_If_(_nselection_, in _nselection_ language)
    143 using _querytypeselection_ query}
    144 
    145 _textjselect_ {_If_(_hselection_, of) _jselection_}
    146 
    147 _querytypeselection_ {
    148 <select name="t">
    149 <option value="1"_If_(_cgiargt_, selected)>_textsome_
    150 <option value="0"_If_(_cgiargt_,, selected)>_textall_
    151 </select>
    152 }
    153 
    154 _textstemon_ { (ignoring word endings)}
    155116
    156117
     
    159120#######################################################################
    160121
    161 _texticonthispage_ [l=mi] {rapu}
    162 _textsome_ [l=mi] {&euml;tehi}
    163 _textall_ [l=mi] {_If_(_cgiargb_,te boolean,katoa)}
    164 _textbeginsearch_ [l=mi] {Rapua}
    165 _textfreqmsg1_ [l=mi] {Kia hia ng&auml; kupu: }
    166 _textmorethan_ [l=mi] {Neke atu i te }
    167 _textnodocs_ [l=mi] {k&auml;ore he pukapuka e p&auml; ana ki &auml;u kupu rapu.}
    168 _text1doc_ [l=mi] {1 te pukapuka e p&auml; ana ki &auml;u kupu rapu.}
    169 _textlotsdocs_ [l=mi] {ng&auml; pukapuka e p&auml; ana ki &auml;u kupu rapu.}
    170 _textmatches_ [l=mi] {Kitenga }
    171 _textstemon_ [l=mi] { (hei aha te k&uuml;muri)}
     122#moved to  maori.dm
    172123
    173 _textsimplesearch_ [l=mi] {Tirohia ki _If_(_hselection_, _hselection_)_If_(_jselection_,_textjselect_)_If_(_nselection_, in _nselection_ language) m&ouml; _querytypeselection_ o ng&auml; kupu}
    174124
    175 _textadvancedsearch_ [l=mi] {Tirohia ki_If_(_hselection_, _hselection_)_If_(_jselection_,_textjselect_)_If_(_nselection_, in _nselection_ language)
    176 m&ouml; _querytypeselection_ o ng&auml; kupu}
     125
     126
     127
     128
     129
     130
     131
     132
     133
     134
     135
     136
     137
  • trunk/gsdl/macros/status.dm

    r725 r876  
    4040<html>
    4141<head>
    42 <title>Maintainance and Administration</title>
     42<title>_titlewelcome_</title>
    4343</head>
    4444
    4545<frameset cols="170,*" border=0>
    4646  <noframes><body bgcolor="#ffffff">
    47   <p>You must have a frame enabled browser to view this.</p>
     47  <p>_textframebrowser_</p>
    4848  </body>
    4949  </noframes>
     
    5959
    6060_If_("_cgiarguma_" ne "\_cgiarguma\_",
    61 <p><b>User Management</b><br>
    62 <a href="_gwcgi_?e=_compressedoptions_&a=um&uma=listusers" target=infoframe>list users</a><br>
    63 <a href="_gwcgi_?e=_compressedoptions_&a=um&uma=adduser" target=infoframe>add a new user</a><br>
     61<p><b>_textusermanage_</b><br>
     62<a href="_gwcgi_?e=_compressedoptions_&a=um&uma=listusers" target=infoframe>_textlistusers_</a><br>
     63<a href="_gwcgi_?e=_compressedoptions_&a=um&uma=adduser" target=infoframe>_textaddusers_</a><br>
    6464)
    6565
    66 <p><b>Information</b><br>
    67 <a href="_gwcgi_?e=_compressedoptions_&a=status&sp=generalinfo" target=infoframe>general</a><br>
    68 <a href="_gwcgi_?e=_compressedoptions_&a=status&sp=argumentinfo" target=infoframe>arguments</a><br>
    69 <a href="_gwcgi_?e=_compressedoptions_&a=status&sp=actioninfo" target=infoframe>actions</a><br>
    70 <a href="_gwcgi_?e=_compressedoptions_&a=status&sp=protocolinfo" target=infoframe>protocols</a>
     66<p><b>_textinfo_</b><br>
     67<a href="_gwcgi_?e=_compressedoptions_&a=status&sp=generalinfo" target=infoframe>_textgeneral_</a><br>
     68<a href="_gwcgi_?e=_compressedoptions_&a=status&sp=argumentinfo" target=infoframe>_textarguments_</a><br>
     69<a href="_gwcgi_?e=_compressedoptions_&a=status&sp=actioninfo" target=infoframe>_textactions_</a><br>
     70<a href="_gwcgi_?e=_compressedoptions_&a=status&sp=protocolinfo" target=infoframe>_textprotocols_</a>
    7171
    72 <p><b>Collections</b><br>
    73 <a href="_gwcgi_?e=_compressedoptions_&a=bc&bca=newcol&wizard=textinfo" target=infoframe>new collection</a><br>
    74 <a href="_gwcgi_?e=_compressedoptions_&a=bc&bca=editcol" target=infoframe>edit collection</a><br>
    75 <a href="_gwcgi_?e=_compressedoptions_&a=bc&bca=buildcol&wizard=buildcol" target=infoframe>build collection</a><br>
    76 <a href="_gwcgi_?e=_compressedoptions_&a=bc&bca=delcol" target=infoframe>delete collection</a><br>
     72<p><b>_textcollections_</b><br>
     73<a href="_gwcgi_?e=_compressedoptions_&a=bc&bca=newcol&wizard=textinfo" target=infoframe>_textnewcoll_</a><br>
     74<a href="_gwcgi_?e=_compressedoptions_&a=bc&bca=editcol" target=infoframe>_texteditcoll_</a><br>
     75<a href="_gwcgi_?e=_compressedoptions_&a=bc&bca=buildcol&wizard=buildcol" target=infoframe>_textbuildcoll_</a><br>
     76<a href="_gwcgi_?e=_compressedoptions_&a=bc&bca=delcol" target=infoframe>_textdeletecoll_</a><br>
    7777
    7878
    79 <p><b>Logs</b><br>
    80 <a href="_gwcgi_?e=_compressedoptions_&a=status&sp=initlog" target=infoframe>init log</a><br>
    81 <a href="_gwcgi_?e=_compressedoptions_&a=status&sp=errorlog" target=infoframe>error log</a>
     79<p><b>_textlogs_</b><br>
     80<a href="_gwcgi_?e=_compressedoptions_&a=status&sp=initlog" target=infoframe>_textinitlog_</a><br>
     81<a href="_gwcgi_?e=_compressedoptions_&a=status&sp=errorlog" target=infoframe>_texterrorlog_</a>
    8282
    8383<p>
    84 <a href="_httppagehome_" target=_top>Return to home page</a>
     84<a href="_httppagehome_" target=_top>_textreturnhome_</a>
    8585}
    8686
    87 _titlewelcome_ { Maintainence and Administration }
    8887
    89 _welcome_ {
    90 
    91 <p> Maintainence and administration serives available include:
    92     view on-line logs;
    93     create, maintain and update collections;
    94     and access technical information suchas CGI arguments. 
    95     These services are accessed using the
    96     side navigation bar on the lefthand side of the page.
    97 }
  • trunk/gsdl/macros/style.dm

    r548 r876  
    4949_cgihead_{}
    5050
    51 
    5251# htmlhead uses:
    5352# _1_ - extra parameters for the body tag
     
    5554# _globalscripts_
    5655_htmlhead_ {
    57 <html>
     56<html_htmlextra_>
    5857<head>
    5958<title>_pagetitle_</title>
     
    6261
    6362<body bgcolor="\#ffffff" text="\#000000" link="\#006666"
    64       alink="\#cc9900" vlink="\#666633" _1_>
     63      alink="\#cc9900" vlink="\#666633"_1_>
    6564}
    6665
     
    175174    \}
    176175}
     176
     177
     178
     179
     180
     181
  • trunk/gsdl/macros/users.dm

    r382 r876  
    5959
    6060<form name="edituser" method="post" action="_gwcgi_">
    61 <input type=hidden name="e" value="_compressedoptions_">
     61<input type=hidden name="e" value="_decodedcompressedoptions_">
    6262<input type=hidden name="a" value="um">
    6363<input type=hidden name="uma" value="_cgiarguma_">
     
    117117<tr><td>
    118118<form name="deleteuser" method="post" action="_gwcgi_">
    119 <input type=hidden name="e" value="_compressedoptions_">
     119<input type=hidden name="e" value="_decodedcompressedoptions_">
    120120<input type=hidden name="a" value="um">
    121121<input type=hidden name="uma" value="_cgiarguma_">
     
    150150<p>
    151151<form name="changepasswd" method="post" action="_gwcgi_">
    152 <input type=hidden name="e" value="_compressedoptions_">
     152<input type=hidden name="e" value="_decodedcompressedoptions_">
    153153<input type=hidden name="a" value="um">
    154154<input type=hidden name="uma" value="_cgiarguma_">
Note: See TracChangeset for help on using the changeset viewer.