Changeset 3774
- Timestamp:
- 2003-02-28T14:28:22+13:00 (21 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/etc/main.cfg
r3632 r3774 25 25 # end-user collection building facility to be available. 26 26 collector enabled 27 28 # Set translator to "disabled" if you don't want the translation 29 # service for keeping language fragments of macro text up to date 30 translator enabled 27 31 28 32 # Set logcgiargs to true to keep a log of usage information in -
trunk/gsdl/macros/home.dm
r3725 r3774 42 42 43 43 _imagecollector_ {_gsimage_(_httppagecollector_,_httpimg_/ccolof.gif,_httpimg_/ccolon.gif,col,_collector:textcollector_)} 44 _imagetranslator_ {_gsimage_(_httppagetranslator_,_httpimg_/ctransof.gif,_httpimg_/ctranson.gif,trans,_translang:texttranslator_)} 44 45 _imageadmin_ {_gsimage_(_httppagestatus_,_httpimg_/cadminof.gif,_httpimg_/cadminon.gif,admin,_home:textadmin_)} 45 46 _imagegogreenstone_ {_gsimage_(_home:httppagegsdl_,_httpimg_/cabgsof.gif,_httpimg_/cabgson.gif,gogs,_home:textabgs_)} … … 63 64 <p><table> 64 65 _textgocollector_ 66 _textgotranslator_ 65 67 _textgoadmin_ 66 68 _textgogreenstone_ … … 76 78 } 77 79 78 # the _textgocollector_ and _textgoadmin_ macros may be overridden79 # to be empty from within the receptionist if the collector or admin80 # facilities are disabled80 # the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros 81 # may be overridden to be empty from within the receptionist if the 82 # collector, translator, or admin facilities are disabled 81 83 _textgocollector_ { 82 84 <tr valign=top> 83 85 <td valign=top>_imagecollector_</td> 84 86 <td>_textimagecollector_</td> 87 </tr> 88 } 89 90 _textgotranslator_ { 91 <tr valign=top> 92 <td valign=top>_imagetranslator_</td> 93 <td>_textimagetranslator_</td> 85 94 </tr> 86 95 } … … 143 152 <p><table> 144 153 _home:textgocollector_ 154 _home:textgotranslator_ 145 155 _home:textgoadmin_ 146 156 _home:textgogreenstone_ -
trunk/gsdl/src/recpt/pageaction.cpp
r3625 r3774 35 35 status_disabled = true; 36 36 collector_disabled = true; 37 translator_disabled = true; 37 38 recpt = NULL; 38 39 … … 482 483 // _textgocollector_ set to "" if collector is disabled in main.cfg 483 484 // _textgoadmin_ set to "" if status is disabled in main.cfg 485 // _textgotranslator_ set to "" if translator is disabled in main.cfg 484 486 485 487 … … 546 548 if (status_disabled) disp.setmacro ("textgoadmin", "home", ""); 547 549 if (collector_disabled) disp.setmacro ("textgocollector", "home", ""); 550 if (translator_disabled) disp.setmacro ("textgotranslator", "home", ""); 548 551 549 552 } else if (arg_p == "homepref") { … … 733 736 (cfgline[0] == "true" || cfgline[0] == "on" || cfgline[0] == "enabled")) { 734 737 collector_disabled = false; 738 } else if ((key == "translator") && (cfgline.size() == 1) && 739 (cfgline[0] == "true" || cfgline[0] == "on" || cfgline[0] == "enabled")) { 740 translator_disabled = false; 735 741 } else { 736 742 // call the parent class to deal with the things which -
trunk/gsdl/src/recpt/pageaction.h
r3625 r3774 85 85 bool status_disabled; 86 86 bool collector_disabled; 87 bool translator_disabled; 87 88 88 89 };
Note:
See TracChangeset
for help on using the changeset viewer.