Ignore:
Timestamp:
1999-06-16T14:22:05+12:00 (25 years ago)
Author:
sjboddie
Message:

lots of changes to all macro files

File:
1 edited

Legend:

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

    r258 r276  
    44
    55package Global
    6 
    76
    87#######################################################################
     
    3534_Howtowidth_ {_widththowx_}
    3635
    37 // all cgi args are set as _cgiargX_ macros - those I've put here
    38 // are those that need to default to something
    39 _cgiargd_ {}
    40 
    4136#######################################################################
    4237# Macros whose values are set from within the server at runtime. These
     
    4843_javaimagescontent_ {}
    4944_widthtspace_ {2}
     45
     46// all cgi args are set as _cgiargX_ macros - those I've put here
     47// are those that need to default to something
     48_cgiargd_ {}
     49
     50# set from within the query action
     51_hselection_ {}
     52_jselection_ {}
     53_nselection_ {}
     54
     55#######################################################################
     56# index option macros
     57# there should be one of these for each option that's going to
     58# be selected in any collections _hselection_, _jselection_, or
     59# _nselection_ macros.
     60# eventually this should be changed so that these macros are
     61# retrieved from the collection server
     62#######################################################################
     63
     64_optionhstx_ {chapters}
     65_optionhstt_ {titles}
     66_optionhscr_ {authors}
     67
    5068
    5169#######################################################################
     
    304322_mailaddr_ {[email protected]}
    305323
    306 
    307 #######################################################################
    308 # link macros
    309 #######################################################################
    310 
    311 _linkotherversion_ {
    312 <a href="_httpcurrentdocument_&v=1">
    313 _textgotext_
    314 </a>
    315 }
    316 
    317 _linkotherversion_[version=text] {
    318 <a href="_httpcurrentdocument_&v=0">
    319 _textgographics_
    320 </a>
    321 }
    322 
    323 _linkotherlanguage_ {
    324 <a href="_httpcurrentdocument_&l=mi">
    325 _textgomaori_
    326 </a>
    327 }
    328 
    329 _linkotherlanguage_[language=mi] {
    330 <a href="_httpcurrentdocument_&l=e">
    331 _textgoenglish_
    332 </a>
    333 }
    334324
    335325
     
    821811_textimageOrganization_ {Browse by organization}
    822812_textimageHowto_ {Browse how to categories}
    823 
    824 _textgotext_ {View this page in text format}
    825 _textgographics_ {View this page in graphics format}
    826813
    827814_texticontabsearchgreen_{Search}
     
    877864
    878865
    879 _textgomaori_ {Tirohia t&euml;nei wh&auml;rangi i te reo M&auml;ori}
    880 _textgoenglish_ {change to English language version}
    881 
    882866################################
    883867# Maori Macros                 #
     
    891875_textimagebrowsedates_ [language=mi] {Tirohia te w&auml; i puta mai ai ng&auml; niupepa}
    892876
    893 _textgotext_ [language=mi] {Tirohia t&euml;nei wh&auml;rangi i te takotoranga text}
    894877_page_ [language=mi] {wh&auml;rangi}
    895878_vol_ [language=mi] {Pukapuka}
Note: See TracChangeset for help on using the changeset viewer.