Changeset 2935 for trunk/gsdl/src


Ignore:
Timestamp:
2002-02-01T15:42:05+13:00 (22 years ago)
Author:
sjboddie
Message:

Added Greenstone version number to admin pages

Location:
trunk/gsdl/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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 
Note: See TracChangeset for help on using the changeset viewer.