|
|
@ -327,30 +327,30 @@ namespace KioSword
|
|
|
|
m_redirect.module = val;
|
|
|
|
m_redirect.module = val;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (!strcasecmp(key, "modtype")) {
|
|
|
|
else if (!strcasecmp(key, "modtype")) {
|
|
|
|
if (!strcasecmp(val, "bible")) {
|
|
|
|
if (!strcasecmp(val.latin1(), "bible")) {
|
|
|
|
m_moduletype = DEFBIBLE;
|
|
|
|
m_moduletype = DEFBIBLE;
|
|
|
|
m_action = REDIRECT_QUERY;
|
|
|
|
m_action = REDIRECT_QUERY;
|
|
|
|
} else if (!strcasecmp(val, "greekstrongs")) {
|
|
|
|
} else if (!strcasecmp(val.latin1(), "greekstrongs")) {
|
|
|
|
m_moduletype = GREEKSTRONGS;
|
|
|
|
m_moduletype = GREEKSTRONGS;
|
|
|
|
m_action = REDIRECT_QUERY;
|
|
|
|
m_action = REDIRECT_QUERY;
|
|
|
|
} else if (!strcasecmp(val, "hebrewstrongs")) {
|
|
|
|
} else if (!strcasecmp(val.latin1(), "hebrewstrongs")) {
|
|
|
|
m_moduletype = HEBREWSTRONGS;
|
|
|
|
m_moduletype = HEBREWSTRONGS;
|
|
|
|
m_action = REDIRECT_QUERY;
|
|
|
|
m_action = REDIRECT_QUERY;
|
|
|
|
} else if (!strcasecmp(val, "greekmorph")) {
|
|
|
|
} else if (!strcasecmp(val.latin1(), "greekmorph")) {
|
|
|
|
m_moduletype = GREEKMORPH;
|
|
|
|
m_moduletype = GREEKMORPH;
|
|
|
|
m_action = REDIRECT_QUERY;
|
|
|
|
m_action = REDIRECT_QUERY;
|
|
|
|
} else if (!strcasecmp(val, "hebrewmorph")) {
|
|
|
|
} else if (!strcasecmp(val.latin1(), "hebrewmorph")) {
|
|
|
|
m_moduletype = HEBREWMORPH;
|
|
|
|
m_moduletype = HEBREWMORPH;
|
|
|
|
m_action = REDIRECT_QUERY;
|
|
|
|
m_action = REDIRECT_QUERY;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// search
|
|
|
|
// search
|
|
|
|
else if (!strcasecmp(key, "stype")) {
|
|
|
|
else if (!strcasecmp(key, "stype")) {
|
|
|
|
if (!strcasecmp(val, "words")) {
|
|
|
|
if (!strcasecmp(val.latin1(), "words")) {
|
|
|
|
m_stype = Renderer::SEARCH_WORDS;
|
|
|
|
m_stype = Renderer::SEARCH_WORDS;
|
|
|
|
} else if (!strcasecmp(val, "phrase")) {
|
|
|
|
} else if (!strcasecmp(val.latin1(), "phrase")) {
|
|
|
|
m_stype = Renderer::SEARCH_PHRASE;
|
|
|
|
m_stype = Renderer::SEARCH_PHRASE;
|
|
|
|
} else if (!strcasecmp(val, "regex")) {
|
|
|
|
} else if (!strcasecmp(val.latin1(), "regex")) {
|
|
|
|
m_stype = Renderer::SEARCH_REGEX;
|
|
|
|
m_stype = Renderer::SEARCH_REGEX;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
m_stype = Renderer::SEARCH_WORDS;
|
|
|
|
m_stype = Renderer::SEARCH_WORDS;
|
|
|
|