forked from I2P_Developers/i2p.i2p
Added extra column to keep ordering buttons in line
This commit is contained in:
@ -805,7 +805,7 @@ public class SummaryHelper extends HelperBase {
|
||||
StringBuilder buf = new StringBuilder(2048);
|
||||
buf.append("<table><tr><th>")
|
||||
.append(_("Remove"))
|
||||
.append("</th><th>")
|
||||
.append("</th><th colspan=\"2\">")
|
||||
.append(_("Order"))
|
||||
.append("</th><th>")
|
||||
.append(_("Name"))
|
||||
@ -814,7 +814,7 @@ public class SummaryHelper extends HelperBase {
|
||||
int i = sections.indexOf(section);
|
||||
buf.append("<tr><td align=\"center\"><input type=\"checkbox\" class=\"optbox\" name=\"delete_")
|
||||
.append(i)
|
||||
.append("\"></td><td align=\"center\"><input type=\"hidden\" name=\"order_")
|
||||
.append("\"></td><td align=\"right\"><input type=\"hidden\" name=\"order_")
|
||||
.append(i + "_" + section)
|
||||
.append("\" value=\"")
|
||||
.append(i)
|
||||
@ -831,6 +831,7 @@ public class SummaryHelper extends HelperBase {
|
||||
.append(_("Up"))
|
||||
.append("\" src=\"" + imgPath + "move_up.png\">");
|
||||
}
|
||||
buf.append("</td><td align=\"left\">");
|
||||
if (i < sections.size() - 1) {
|
||||
buf.append("<input type=\"image\" class=\"buttonDown\" name=\"move_")
|
||||
.append(i)
|
||||
@ -849,7 +850,7 @@ public class SummaryHelper extends HelperBase {
|
||||
}
|
||||
buf.append("<tr><td align=\"center\"><b>")
|
||||
.append(_("Add")).append(":</b>" +
|
||||
"</td><td align=\"center\"><input type=\"hidden\" name=\"order\" value=\"")
|
||||
"</td><td align=\"center\" colspan=\"2\"><input type=\"hidden\" name=\"order\" value=\"")
|
||||
.append(sections.size())
|
||||
.append("\"></td>" +
|
||||
"<td align=\"left\">" +
|
||||
|
Reference in New Issue
Block a user