Changeset 942


Ignore:
Timestamp:
02/17/00 15:43:13 (21 years ago)
Author:
sjboddie
Message:

* empty log message *

Location:
trunk/gsdl/macros
Files:
1 added
4 edited

Legend:

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

    r931 r942  
    345345_httppagehelp_ {_httppagex_(help)}
    346346_httppagepref_ {_httppagex_(preferences)}
     347_httpclearhistory_ {_gwcgi_?e=_compressedoptions_&a=dh}
    347348
    348349_httpgreenstone_ {_httppagex_(gsdl)}
  • trunk/gsdl/macros/english.dm

    r931 r942  
    897897#------------------------------------------------------------
    898898
    899 _textquerytitle_ {_If_(_thislast_,results _thisfirst_ - _thislast_ for query: _cgiargq_,No matches for query: _cgiargq_}
     899_textquerytitle_ {_If_(_thislast_,results _thisfirst_ - _thislast_ for query: _cgiargq_,No matches for query: _cgiargq_)}
    900900_textnoquerytitle_ {Search page}
    901901
     
    937937
    938938_textstemon_ { (ignoring word endings)}
     939_textclearhistory_ {Clear History}
     940_textexpand_ {Expand}
     941_textcontract_ {Contract}
     942_textsearchhistory_ {Search History}
     943_textquery_ {Query}
     944_textresults_ {Results}
     945_textview_ {View}
     946_textnohistory_ {Search history not available}
    939947
    940948
     
    952960_widthqryresb_ {_pagewidth_}
    953961_heightqryresb_ {17}
     962
     963## display ##
     964_httpicondisplay_ {_httpimg_/display.gif}
     965_widthdisplay {60}
     966_heightdisplay_ {20}
    954967
    955968
     
    9941007_textfcoption_ {Include navigation bar at top of document pages}
    9951008_texthloption_ {Highlight search terms within document text}
     1009_texthistorydisplay_ {display search history}
    9961010
    9971011
     
    13981412# icons
    13991413#------------------------------------------------------------
     1414
     1415
     1416######################################################################
     1417# 'delete search history' page
     1418package delhistory
     1419######################################################################
     1420
     1421#------------------------------------------------------------
     1422# text macros
     1423#------------------------------------------------------------
     1424
     1425_textdsh_ {Delete Search History}
     1426
     1427_textselectdelete_ {<a href="_httpclearhistory_&hdh=1">Delete all
     1428records</a> or select records to <select name=hmode><option value=save>not
     1429delete<option value=delete selected>delete</select><br> Records can be
     1430selected by typing their numbers into the box,<br> or by clicking in the
     1431boxes in each record.<br> Acceptable values are 1,2,3-6,7- etc }
     1432
     1433_textclearselected_ {Clear selected}
     1434_textselect_ {select}
     1435
     1436#------------------------------------------------------------
     1437# icons
     1438#------------------------------------------------------------
     1439
  • 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_
  • trunk/gsdl/macros/query.dm

    r931 r942  
    5050</center>
    5151_queryform_
     52_If_(_searchhistorylist_,<center>
     53_searchhistorylist_
     54</center>)
    5255_If_(_cgiargq_,<center>_iconqueryresultsbar_</center><br>
    5356<small>
     
    6568<input type=hidden name="e" value="_decodedcompressedoptions_">
    6669<input type=hidden name="r" value="1">
     70<input type=hidden name="hs" value="1">
    6771
    6872<center>
Note: See TracChangeset for help on using the changeset viewer.