implemented the first baby steps of "Find"...a "Find Categories" function
This commit is contained in:
@@ -392,10 +392,17 @@ public class ButtonSupplier
|
||||
// get the full URL of the image
|
||||
String image_url = rewrite.rewriteURL("IMAGE",m_subdir + "/" + token.getImageName());
|
||||
|
||||
// render as <image/> tag
|
||||
if (ButtonType.IMAGE.equals(token.getType()))
|
||||
wr.write("<img src=\"" + image_url + "\" alt=\"[" + token.getCaption() + "]\" width = \"" + m_width
|
||||
+ "\" height=\"" + m_height + "\" border=\"0\" />");
|
||||
{ // render as <image/> tag
|
||||
String xcapt;
|
||||
if (token.getName().startsWith("0"))
|
||||
xcapt = token.getCaption();
|
||||
else
|
||||
xcapt = "[" + token.getCaption() + "]";
|
||||
wr.write("<img src=\"" + image_url + "\" alt=\"" + xcapt + "\" width = \"" + m_width + "\" height=\""
|
||||
+ m_height + "\" border=\"0\" />");
|
||||
|
||||
} // end if
|
||||
|
||||
// render as <input type="image"/> tag
|
||||
if (ButtonType.INPUT.equals(token.getType()))
|
||||
|
||||
@@ -71,6 +71,12 @@ public class StandardContentSupplier
|
||||
|
||||
} // end header1
|
||||
|
||||
public Object bullet() throws DatabaseException
|
||||
{
|
||||
return getContentBlock("std.bullet");
|
||||
|
||||
} // end bullet
|
||||
|
||||
} // end class ContentOps
|
||||
|
||||
/*--------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user