<%@ include file="defines/defines.jsp" %> <% String resetModule = request.getParameter("mod"); if (resetModule != null) session.setAttribute("ActiveModule", mgr.getModuleByName(resetModule)); SWModule activeModule = (SWModule) session.getAttribute("ActiveModule"); if (activeModule == null) activeModule = mgr.getModuleByName("KJV"); String resetKey = request.getParameter("key"); if (resetKey != null) session.setAttribute("ActiveKey", resetKey); String activeKey = (String) session.getAttribute("ActiveKey"); if (activeKey == null) activeKey = "jas 1:19"; %>

Translations:

Comentaries:

<% activeModule.setKeyText(activeKey); activeKey = activeModule.getKeyText(); // be sure it's formatted nicely %>

<%= activeKey %>

» <%= activeModule.getDescription().replaceAll("&", "&") + " (" + activeModule.getName() + ")" %>

<% if (activeModule.getType().equals(SwordOrb.BIBLES)) { String chapterPrefix = activeKey.substring(0, activeKey.indexOf(":")); for (activeModule.setKeyText(chapterPrefix + ":1"); (activeModule.error() == (char)0); activeModule.next()) { String keyText = activeModule.getKeyText(); if (!chapterPrefix.equals(keyText.substring(0, keyText.indexOf(":")))) break; boolean rtol = ("RtoL".equalsIgnoreCase(activeModule.getConfigEntry("Direction"))); %>
"> <% if (!rtol) { %> <%= keyText.substring(keyText.indexOf(":")+1) %> <% } %> <%= new String(activeModule.getRenderText().getBytes(), "UTF-8") %> <% if (rtol) { %> <%= keyText.substring(keyText.indexOf(":")+1) %> <% } %>
<% } } else { %>
<%= activeKey %> <%= new String(activeModule.getRenderText().getBytes(), "UTF-8") %>
<% } %>