Changeset 2935

Show
Ignore:
Timestamp:
01.02.2002 15:42:05 (18 years ago)
Author:
sjboddie
Message:

Added Greenstone version number to admin pages

Location:
trunk/gsdl
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/gsdlconf.h

    r2423 r2935  
    2727#ifndef GSDLCONF_H 
    2828#define GSDLCONF_H 
     29 
     30#define GSDL_VERSION "2.37" 
    2931 
    3032#if defined(__WIN32__) && !defined(__CYGWIN__) 
  • trunk/gsdl/macros/english2.dm

    r2912 r2935  
    926926 
    927927 
     928_textversion_ {Greenstone version number} 
    928929_textframebrowser_ {You must have a frame enabled browser to view this.} 
    929930_textusermanage_ {User management} 
  • trunk/gsdl/macros/status.dm

    r2780 r2935  
    9494<center> 
    9595<table width=_pagewidth_><tr><td> 
    96 _textmaas_ 
     96<b>_textversion_: _versionnum_</b> 
     97 
     98<p>_textmaas_ 
    9799<ul> 
    98100<li>_textvol_ 
  • trunk/gsdl/src/recpt/statusaction.cpp

    r2379 r2935  
    10471047  // _maincfgfile_   the contents of the main.cfg configuration file 
    10481048 
     1049  // _versionnnum_   greenstone version number (hard-coded) 
     1050 
     1051  disp.setmacro("versionnum", "status", GSDL_VERSION); 
     1052 
    10491053  if (args["p"] == "maincfg") { 
    10501054 
  • trunk/gsdl/src/w32server/fnord.cpp

    r2354 r2935  
    9999#define RESTARTBUTTONY (MAINWINDOWHEIGHT-RESTARTBUTTONHEIGHT-15) 
    100100 
    101  
    102 #define VERSIONSTRING "version x.xx" 
    103 const char versionstring[] = VERSIONSTRING; 
     101const char versionstring[] = "version " GSDL_VERSION; 
    104102 
    105103const char strnothing[] = ""; 
     
    811809     
    812810    // log the version number 
    813     log_message("GSDL version: " VERSIONSTRING "\n"); 
     811    log_message("GSDL version: " GSDL_VERSION "\n"); 
    814812  } 
    815813