Changeset 4a74bd0


Ignore:
Timestamp:
Mar 1, 2012 7:02:32 PM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
5e5e4f6
Parents:
81bd0fc
Message:

HTML fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    r81bd0fc r4a74bd0  
    13571357            out.write("\"");
    13581358            if (times[i] == delay)
    1359                 out.write(" selected=\"true\"");
     1359                out.write(" selected=\"selected\"");
    13601360            out.write(">");
    13611361            if (times[i] > 0)
     
    13801380        out.write("Seed percentage: <select name=\"seedPct\" disabled=\"true\" >\n\t");
    13811381        if (seedPct <= 0)
    1382             out.write("<option value=\"0\" selected=\"true\">Unlimited</option>\n\t");
     1382            out.write("<option value=\"0\" selected=\"selected\">Unlimited</option>\n\t");
    13831383        else
    13841384            out.write("<option value=\"0\">Unlimited</option>\n\t");
    13851385        if (seedPct == 100)
    1386             out.write("<option value=\"100\" selected=\"true\">100%</option>\n\t");
     1386            out.write("<option value=\"100\" selected=\"selected\">100%</option>\n\t");
    13871387        else
    13881388            out.write("<option value=\"100\">100%</option>\n\t");
    13891389        if (seedPct == 150)
    1390             out.write("<option value=\"150\" selected=\"true\">150%</option>\n\t");
     1390            out.write("<option value=\"150\" selected=\"selected\">150%</option>\n\t");
    13911391        else
    13921392            out.write("<option value=\"150\">150%</option>\n\t");
     
    15751575            buf.append("<option value=\"").append(i).append("\" ");
    15761576            if (i == now)
    1577                 buf.append("selected=\"true\" ");
     1577                buf.append("selected=\"selected\" ");
    15781578            // constants to prevent tagging
    15791579            buf.append(">").append(ngettext(DUMMY1 + name, DUMMY0 + name + 's', i));
Note: See TracChangeset for help on using the changeset viewer.