Skip to content

Instantly share code, notes, and snippets.

@jdlich
Created August 1, 2011 21:03
Show Gist options
  • Save jdlich/1118998 to your computer and use it in GitHub Desktop.
Save jdlich/1118998 to your computer and use it in GitHub Desktop.
if ((poweredByUrl != null) && (poweredByImage != null)
&& (poweredByAltText != null)
&& (poweredByUrl.length == poweredByImage.length)
&& (poweredByUrl.length == poweredByAltText.length))
{
for (int i = 0; i < poweredByUrl.length; i++)
{
out.println(" <span class=\"skip\">"
+ Web.escapeHtml(rb.getString("site_newwindow"))
+ "</span> <a href=\"" + poweredByUrl[i]
+ "\" target=\"_blank\">" + "<img border=\"0\" src=\""
+ poweredByImage[i] + "\" alt=\"" + poweredByAltText[i]
+ "\" /></a>");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment