Ignore:
Timestamp:
2000-02-17T15:43:13+13:00 (24 years ago)
Author:
sjboddie
Message:

* empty log message *

File:
1 edited

Legend:

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

    r931 r942  
    7979_getargsfunction_ {
    8080function getargs () \{
    81   return argk + args + argm + argo + argb_If_(_collectionoption_,_ccsargs_)_If_(_htmloptions_,_htmlargs_);
     81  return argk + args + argm + argo + arghd + argb_If_(_collectionoption_,_ccsargs_)_If_(_htmloptions_,_htmlargs_);
    8282\}
    8383}
     
    130130_arghloff_ {arghl = "&hl=0";}
    131131
     132_arghdblank_ {arghd = "";}
     133_arghdon_ {arghd = "&hd=1";}
     134_arghdoff_{arghd = "&hd=0";}
     135
    132136_pagescriptextra_ {
    133137// preferences scripts generated from \_preferences:pagescriptextra\_
     
    140144argo = "";
    141145argb = "";
     146arghd = "";
    142147_If_(_collectionoption_,_ccsfunctions_,_standardfunctions_)
    143148_If_(_htmloptions_,_htmlfunctions_)
     
    180185\}
    181186
     187function updatehd () \{
     188  if (document.PrefForm.hd.checked)
     189    _If_("_cgiarghd_" eq "1",_arghdblank_,_arghdon_)
     190  else
     191    _If_("_cgiarghd_" ne "1",_arghdblank_,_arghdoff_)
     192  updatehrefs();
     193\}
     194
    182195function updatel () \{
    183196  value = document.PrefForm.l.options[document.PrefForm.l.selectedIndex].value;
     
    283296<input type=radio name=b value=1 onClick="updateb(1);"
    284297        _If_(_cgiargb_, checked)>_textadvancedmode_
     298}
     299
     300_searchhistoryop_ {
     301<input type=checkbox name="hd" onClick="updatehd();"
     302                _If_("_cgiarghd_" eq "1", checked)>_texthistorydisplay_
    285303}
    286304
     
    358376
    359377<p>
     378_searchhistoryop_
     379
     380<p>
    360381_textprefop_
    361382<br>_iconblankbar_
Note: See TracChangeset for help on using the changeset viewer.