replaced referrer link masking to 'pure' links to the referring page

(that was more useful during testing)
pull/1/head
Michael Peter Christen 11 years ago
parent a8253ca49c
commit ffe8276063

@ -553,7 +553,6 @@ public class HostBrowser {
} }
} catch (final IOException e) { } catch (final IOException e) {
} }
} }
this.references_external = (rc_external == null || rc_external.intValue() <= 0) ? 0 : rc_external.intValue(); this.references_external = (rc_external == null || rc_external.intValue() <= 0) ? 0 : rc_external.intValue();
this.references_exthosts = (rc_exthosts == null || rc_exthosts.intValue() <= 0) ? 0 : rc_exthosts.intValue(); this.references_exthosts = (rc_exthosts == null || rc_exthosts.intValue() <= 0) ? 0 : rc_exthosts.intValue();
@ -562,7 +561,7 @@ public class HostBrowser {
StringBuilder sbi = new StringBuilder(); StringBuilder sbi = new StringBuilder();
int c = 0; int c = 0;
for (String s: references_internal_urls) { for (String s: references_internal_urls) {
sbi.append("<a href='").append("/HostBrowser.html?path=" + s).append("' target='_blank'><img src='env/grafics/i16.gif' alt='info' title='" + s + "' width='12' height='12'/></a>"); sbi.append("<a href='").append(s).append("' target='_blank'><img src='env/grafics/i16.gif' alt='info' title='" + s + "' width='12' height='12'/></a>");
c++; c++;
if (c % 80 == 0) sbi.append("<br/>"); if (c % 80 == 0) sbi.append("<br/>");
} }
@ -570,7 +569,7 @@ public class HostBrowser {
StringBuilder sbe = new StringBuilder(); StringBuilder sbe = new StringBuilder();
c = 0; c = 0;
for (String s: references_external_urls) { for (String s: references_external_urls) {
sbe.append("<a href='").append("/HostBrowser.html?path=" + s).append("' target='_blank'><img src='env/grafics/i16.gif' alt='info' title='" + s + "' width='12' height='12'/></a>"); sbe.append("<a href='").append(s).append("' target='_blank'><img src='env/grafics/i16.gif' alt='info' title='" + s + "' width='12' height='12'/></a>");
c++; c++;
if (c % 80 == 0) sbe.append("<br/>"); if (c % 80 == 0) sbe.append("<br/>");
} }

Loading…
Cancel
Save