<%= new String(gbsEntry.getBytes("iso8859-1"), "UTF-8") %>
<%
module.setKeyText(gbsEntry);
gbsEntry = module.getKeyText();
boolean printed = false;
boolean rtol = ("RtoL".equalsIgnoreCase(module.getConfigEntry("Direction")));
if ("2".equals(module.getConfigEntry("DisplayLevel"))) {
// be sure we're at the bottom leaf before we enforce display level
if (!module.hasKeyChildren()) {
module.setKeyText(gbsEntry);
String parent = module.getKeyParent();
String heading = null;
if (parent != null) {
module.setKeyText(parent);
heading = module.getRenderText();
String[] children = module.getKeyChildren();
// we better have children. We should have been one of them
if ((children != null) && (children.length > 0)) {
%>
class="verse"><%= heading %>
<%
for (int i = 0; i < children.length; i++) {
String k = parent + "/" + children[i];
module.setKeyText(k);
k = module.getKeyText();
boolean curVerse = (k.equals(new String(gbsEntry.getBytes("iso8859-1"), "UTF-8")));
String[] heads = module.getEntryAttribute("Heading", "Preverse", "0", true);
if (heads.length > 0) {
%>
class="<%= curVerse ? "currentverse" : "verse" %>">
<%= heads[0] %> |
<%
}
%>
<%
if (!rtol) {
%>
|
<%
}
%>
class="<%= curVerse ? "currentverse" : "verse" %>">
<%
String lang = module.getConfigEntry("Lang");
//
<%= module.getRenderText() %>
<%
//
%>
|
<%
if (rtol) {
%>
|
<%
}
%>
<%
}
%>
<%
printed = true;
}
}
}
}
if (!printed) {
%>
class="verse">
<%= module.getRenderText() %>
<%
}
String copyLine = module.getConfigEntry("ShortCopyright");
if (copyLine.equalsIgnoreCase("
"))
copyLine = "";
if (module.getCategory().equals("Cults / Unorthodox / Questionable Material")) {
copyLine = "WARNING: This text is considered unorthodox by most of Christendom. " + copyLine;
}
%>
<%= copyLine %>
<%
}
%>