- Timestamp:
- 2001-06-05T17:52:35+12:00 (23 years ago)
- Location:
- trunk/gsdl/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/english.dm
r2424 r2496 648 648 <br>} 649 649 _textrelateddocdisplay_ {display related documents} 650 _textfcoption_ { Include navigation bar at top of document pages}651 _texthloption_ { Highlight search terms within document text}652 650 _textsearchhistory_{Search history:} 653 651 _texthistorydisplay_ { display _historynumrecords_search history records} -
trunk/gsdl/macros/pref.dm
r2424 r2496 115 115 \} 116 116 117 function updatefc () \{ 118 if (document.PrefForm.fc.checked) 119 _If_("_cgiargfc_" eq "1",_argfcblank_,_argfcon_) 120 else 121 _If_("_cgiargfc_" ne "1",_argfcblank_,_argfcoff_) 122 updatehrefs(); 123 \} 124 125 function updatehl () \{ 126 if (document.PrefForm.hl.checked) 127 _If_("_cgiarghl_" eq "1",_arghlblank_,_arghlon_) 128 else 129 _If_("_cgiarghl_" ne "1",_arghlblank_,_arghloff_) 130 updatehrefs(); 131 \} 132 } 133 134 _argfcblank_ {argfc = "";} 135 _argfcon_ {argfc = "&fc=1&f=1";} 136 _argfcoff_ {argfc = "&fc=0&f=0";} 137 138 _arghlblank_ {arghl = "";} 139 _arghlon_ {arghl = "&hl=1";} 140 _arghloff_ {arghl = "&hl=0";} 117 function updatefc(value) \{ 118 if (value != _cgiargfc_) argfc = "&fc=" + value + "&f=" + value; 119 else argfc = ""; 120 updatehrefs(); 121 \} 122 123 function updatehl(value) \{ 124 if (value != _cgiarghl_) arghl = "&hl=" + value; 125 else arghl = ""; 126 updatehrefs(); 127 \} 128 } 141 129 142 130 _pagescriptextra_ { … … 289 277 _htmloptionson_ { 290 278 <p> 291 <tr> <td colspan=2>_fcoption_</td></tr>279 <tr>_fcoption_</tr> 292 280 <p> 293 <tr> <td colspan=2>_hloption_</td></tr>281 <tr>_hloption_</tr> 294 282 <p> 295 283 <tr>_extlinkoption_</tr> … … 299 287 300 288 _fcoption_ { 301 <input type=checkbox name=fc onClick="updatefc();"_If_("_cgiargfc_" eq "1", checked)> 302 _textfcoption_ 289 <td valign=baseline>Document page layout</td> 290 <td><input type=radio name=fc value=1 onClick="updatefc(1);" 291 _If_(_cgiargfc_, checked)>navigation bar at top<br> 292 <input type=radio name=fc value=0 onClick="updatefc(0);" 293 _If_(_cgiargfc_,, checked)>no navigation bar</td> 303 294 } 304 295 305 296 _hloption_ { 306 <input type=checkbox name=hl onClick="updatehl();"_If_("_cgiarghl_" eq "1", checked)> 307 _texthloption_ 297 <td valign=baseline>Search term highlighting</td> 298 <td><input type=radio name=hl value=1 onClick="updatehl(1);" 299 _If_(_cgiarghl_, checked)>highlight search terms<br> 300 <input type=radio name=hl value=0 onClick="updatehl(0);" 301 _If_(_cgiarghl_,, checked)>don't highlight search terms</td> 308 302 } 309 303
Note:
See TracChangeset
for help on using the changeset viewer.