[sword-cvs] sword/src/modules/filters gbfhtmlhref.cpp,1.30,1.31
sword at www.crosswire.org
sword at www.crosswire.org
Wed Jul 21 18:32:04 MST 2004
Committed by: tbiggs
Update of /cvs/core/sword/src/modules/filters
In directory www:/tmp/cvs-serv26009
Modified Files:
gbfhtmlhref.cpp
Log Message:
fixed morphs
Index: gbfhtmlhref.cpp
===================================================================
RCS file: /cvs/core/sword/src/modules/filters/gbfhtmlhref.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- gbfhtmlhref.cpp 21 Jul 2004 16:49:20 -0000 1.30
+++ gbfhtmlhref.cpp 22 Jul 2004 01:32:02 -0000 1.31
@@ -197,9 +197,11 @@
buf += *tok;
buf += "</a>)</em></small>";
}
-/*
+
else if (!strncmp(token, "WT", 2) && strncmp(token, "WTH", 3) && strncmp(token, "WTG", 3)) { // morph tags
- buf += " <small><em>(<a href=\"type=morph class=none value=";
+ //buf += " <small><em>(<a href=\"type=morph class=none value=";
+ buf += " <small><em>(<a href=\"passagestudy.jsp?action=showMorph&type=Greek&value=";
+
for (tok = token + 2; *tok; tok++)
if(*tok != '\"')
buf += *tok;
@@ -209,7 +211,7 @@
buf += *tok;
buf += "</a>)</em></small>";
}
-*/
+
else if (!strcmp(tag.getName(), "RX")) {
buf += "<a href=\"";
for (tok = token + 3; *tok; tok++) {
More information about the sword-cvs
mailing list