forked from I2P_Developers/i2p.i2p
Moved add and delete buttons into sidebar config table, and removed unnecessary ones
This commit is contained in:
@ -848,9 +848,11 @@ public class SummaryHelper extends HelperBase {
|
|||||||
}
|
}
|
||||||
buf.append("</td></tr>\n");
|
buf.append("</td></tr>\n");
|
||||||
}
|
}
|
||||||
buf.append("<tr><td align=\"center\"><b>")
|
buf.append("<tr><td align=\"center\">" +
|
||||||
.append(_("Add")).append(":</b>" +
|
"<input type=\"submit\" name=\"action\" class=\"delete\" value=\"")
|
||||||
"</td><td align=\"left\">" +
|
.append(_("Delete selected"))
|
||||||
|
.append("\"></td><td align=\"left\"><b>")
|
||||||
|
.append(_("Add")).append(":</b> " +
|
||||||
"<select name=\"name\">\n" +
|
"<select name=\"name\">\n" +
|
||||||
"<option value=\"\" selected=\"selected\">")
|
"<option value=\"\" selected=\"selected\">")
|
||||||
.append(_("Select a section to add"))
|
.append(_("Select a section to add"))
|
||||||
@ -861,9 +863,13 @@ public class SummaryHelper extends HelperBase {
|
|||||||
.append(s).append("</option>\n");
|
.append(s).append("</option>\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
buf.append("</select></td>" +
|
buf.append("</select>\n" +
|
||||||
"<td align=\"center\" colspan=\"2\"><input type=\"hidden\" name=\"order\" value=\"")
|
"<input type=\"hidden\" name=\"order\" value=\"")
|
||||||
.append(sections.size())
|
.append(sections.size())
|
||||||
|
.append("\"></td>" +
|
||||||
|
"<td align=\"center\" colspan=\"2\">" +
|
||||||
|
"<input type=\"submit\" name=\"action\" class=\"add\" value=\"")
|
||||||
|
.append(_("Add item"))
|
||||||
.append("\"></td></tr>")
|
.append("\"></td></tr>")
|
||||||
.append("</table>\n");
|
.append("</table>\n");
|
||||||
return buf.toString();
|
return buf.toString();
|
||||||
|
@ -55,13 +55,8 @@ input.default {
|
|||||||
<input type="hidden" name="group" value="2">
|
<input type="hidden" name="group" value="2">
|
||||||
<jsp:getProperty name="summaryhelper" property="configTable" />
|
<jsp:getProperty name="summaryhelper" property="configTable" />
|
||||||
<div class="formaction">
|
<div class="formaction">
|
||||||
<input type="submit" name="action" class="default" value="<%=intl._("Add item")%>" >
|
|
||||||
<input type="submit" class="reload" name="action" value="<%=intl._("Restore full default")%>" >
|
<input type="submit" class="reload" name="action" value="<%=intl._("Restore full default")%>" >
|
||||||
<input type="submit" class="reload" name="action" value="<%=intl._("Restore minimal default")%>" >
|
<input type="submit" class="reload" name="action" value="<%=intl._("Restore minimal default")%>" >
|
||||||
<input type="submit" name="action" class="delete" value="<%=intl._("Delete selected")%>" >
|
|
||||||
<input type="reset" class="cancel" value="<%=intl._("Cancel")%>" >
|
|
||||||
<input type="submit" name="action" class="reload" value="<%=intl._("Save order")%>" >
|
|
||||||
<input type="submit" name="action" class="add" value="<%=intl._("Add item")%>" >
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div></body></html>
|
</div></body></html>
|
||||||
|
Reference in New Issue
Block a user