[sword-cvs] sword/apps/console/diatheke thmlcgi.cpp,1.5,1.6 gbfcgi.cpp,1.4,1.5

sword@www.crosswire.org sword@www.crosswire.org
Fri, 4 Apr 2003 21:14:02 -0700


Update of /usr/local/cvsroot/sword/apps/console/diatheke
In directory www:/tmp/cvs-serv18434

Modified Files:
	thmlcgi.cpp gbfcgi.cpp 
Log Message:
changed BDB/Thayer lookups to StrongsHebrew/StrongsGreek lookups


Index: thmlcgi.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/apps/console/diatheke/thmlcgi.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** thmlcgi.cpp	27 Feb 2003 08:17:05 -0000	1.5
--- thmlcgi.cpp	5 Apr 2003 04:13:59 -0000	1.6
***************
*** 71,78 ****
  			  if (!strnicmp(typ, "Strongs", 7)) {
  			    if (*val == 'G') {
! 			      buf.appendFormatted("Thayer=on&verse=%s", val + 1);
  			    }
  			    else if (*val == 'H') {
! 			      buf.appendFormatted("BDB=on&verse=%s", val + 1);
  			    }
  			  }
--- 71,78 ----
  			  if (!strnicmp(typ, "Strongs", 7)) {
  			    if (*val == 'G') {
! 			      buf.appendFormatted("StrongsGreek=on&verse=%s", val + 1);
  			    }
  			    else if (*val == 'H') {
! 			      buf.appendFormatted("StrongsHebrew=on&verse=%s", val + 1);
  			    }
  			  }
***************
*** 80,87 ****
  			  else if (!strnicmp(typ, "Morph", 5)) {
  			    if (*val == 'G') {
! 			      buf.appendFormatted("Thayer=on&verse=%s", val + 1);
  			    }
  			    else if (*val == 'H') {
! 			      buf.appendFormatted("BDB=on&verse=%s", val + 1);
  			    }
  			    else {
--- 80,87 ----
  			  else if (!strnicmp(typ, "Morph", 5)) {
  			    if (*val == 'G') {
! 			      buf.appendFormatted("StrongsGreek=on&verse=%s", val + 1);
  			    }
  			    else if (*val == 'H') {
! 			      buf.appendFormatted("StrongsHebrew=on&verse=%s", val + 1);
  			    }
  			    else {

Index: gbfcgi.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/apps/console/diatheke/gbfcgi.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** gbfcgi.cpp	27 Feb 2003 08:17:05 -0000	1.4
--- gbfcgi.cpp	5 Apr 2003 04:13:59 -0000	1.5
***************
*** 64,71 ****
  			buf += " <small><em>&lt;<a href=\"!DIATHEKE_URL!";
  			if (token[1] == 'H') {
! 			  buf += "BDB";
  			}
  			else if (token[1] == 'G') {
! 			  buf += "Thayer";
  			}
  			buf += "=on&verse=";
--- 64,71 ----
  			buf += " <small><em>&lt;<a href=\"!DIATHEKE_URL!";
  			if (token[1] == 'H') {
! 			  buf += "StrongsHebrew";
  			}
  			else if (token[1] == 'G') {
! 			  buf += "StrongsGreek";
  			}
  			buf += "=on&verse=";
***************
*** 81,88 ****
  			buf += " <small><em>&lt;<a href=\"!DIATHEKE_URL!";
  			if (token[2] == 'H') {
! 			  buf += "BDB";
  			}
  			else if (token[2] == 'G') {
! 			  buf += "Thayer";
  			}
  			buf += "=on&verse=";
--- 81,88 ----
  			buf += " <small><em>&lt;<a href=\"!DIATHEKE_URL!";
  			if (token[2] == 'H') {
! 			  buf += "StrongsHebrew";
  			}
  			else if (token[2] == 'G') {
! 			  buf += "StrongsGreek";
  			}
  			buf += "=on&verse=";