Corrected some XHTML issues

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3152 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Claudia Juergen
2008-10-01 08:40:08 +00:00
parent 8eb575eefe
commit a8f72c8847

View File

@@ -397,6 +397,7 @@ public class ItemListTag extends TagSupport
for (int i = 0; i < items.length; i++) for (int i = 0; i < items.length; i++)
{ {
// now prepare the XHTML frag for this division // now prepare the XHTML frag for this division
out.print("<tr>");
String rOddOrEven; String rOddOrEven;
if (i == highlightRow) if (i == highlightRow)
{ {
@@ -558,7 +559,7 @@ public class ItemListTag extends TagSupport
out.print("<td headers=\"" + id + "\" class=\"" out.print("<td headers=\"" + id + "\" class=\""
+ rOddOrEven + "Row" + cOddOrEven[cOddOrEven.length - 2] + "Col\" nowrap>" + rOddOrEven + "Row" + cOddOrEven[cOddOrEven.length - 2] + "Col\" nowrap>"
+ "<form method=get action=\"" + hrq.getContextPath() + "/tools/edit-item\">" + "<form method=\"get\" action=\"" + hrq.getContextPath() + "/tools/edit-item\">"
+ "<input type=\"hidden\" name=\"handle\" value=\"" + items[i].getHandle() + "\" />" + "<input type=\"hidden\" name=\"handle\" value=\"" + items[i].getHandle() + "\" />"
+ "<input type=\"submit\" value=\"Edit Item\" /></form>" + "<input type=\"submit\" value=\"Edit Item\" /></form>"
+ "</td>"); + "</td>");