*) next bugfix for blacklist

- added items were not displayed properly
   - bugfix for disabled usage

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2395 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 4abc04dac0
commit 79f27c298e

@ -33,7 +33,7 @@ collect blacklist entries from other peers.</p>
</select> </select>
</td> </td>
<td class="TableCellDark"><center> <td class="TableCellDark"><center>
<input type="submit" name="selectList" value="select" disabled="#(disabled)#::disabled#(/disabled)#"/> <input type="submit" name="selectList" value="select" #(disabled)#::disabled="disabled"#(/disabled)#/>
</td> </td>
<td valign="top" align="left" rowspan="2" class="TableCellDark"> <td valign="top" align="left" rowspan="2" class="TableCellDark">
<fieldset> <fieldset>
@ -45,11 +45,11 @@ collect blacklist entries from other peers.</p>
</tr> </tr>
#{/currentActiveFor}# #{/currentActiveFor}#
</table> </table>
<input type="submit" name="activateList" value="Enable/disable this list" disabled="#(disabled)#::disabled#(/disabled)#"/> <input type="submit" name="activateList" value="Enable/disable this list" #(disabled)#::disabled="disabled"#(/disabled)#/>
</fieldset> </fieldset>
<input type="submit" name="shareList" value="Share/don't share this list" disabled="#(disabled)#::disabled#(/disabled)#"/><br /> <input type="submit" name="shareList" value="Share/don't share this list" #(disabled)#::disabled="disabled"#(/disabled)#/><br />
<input type="submit" name="deleteList" value="Delete this list" disabled="#(disabled)#::disabled#(/disabled)#"/><br /> <input type="submit" name="deleteList" value="Delete this list" "#(disabled)#::disabled="disabled"#(/disabled)#/><br />
</td> </td>
</tr> </tr>
<tr> <tr>
@ -94,7 +94,7 @@ collect blacklist entries from other peers.</p>
#{/Itemlist}# #{/Itemlist}#
</select> </select>
<p /> <p />
<input type="submit" name="deleteBlacklistEntry" value="Delete URL pattern" disabled="#(disabled)#::disabled#(/disabled)#" /> <input type="submit" name="deleteBlacklistEntry" value="Delete URL pattern" #(disabled)#::disabled="disabled"#(/disabled)# />
</td> </td>
</tr> </tr>
<tr> <tr>
@ -113,7 +113,7 @@ collect blacklist entries from other peers.</p>
<tr> <tr>
<td class="TableCellLight"> <td class="TableCellLight">
<input type="text" name="newEntry" size="50"><p> <input type="text" name="newEntry" size="50"><p>
<input type="submit" name="addBlacklistEntry" value="Add URL pattern" disabled="#(disabled)#::disabled#(/disabled)#"></p> <input type="submit" name="addBlacklistEntry" value="Add URL pattern" #(disabled)#::disabled="disabled"#(/disabled)#></p>
</td> </td>
</tr> </tr>
@ -140,7 +140,7 @@ collect blacklist entries from other peers.</p>
#{/otherHosts}# #{/otherHosts}#
</select> </select>
<p /> <p />
<input type="submit" value="Load new blacklist items" disabled="#(disabled)#::disabled#(/disabled)#"/> <input type="submit" value="Load new blacklist items" #(disabled)#::disabled="disabled"#(/disabled)#/>
</form> </form>
</td> </td>
</tr> </tr>
@ -156,7 +156,7 @@ collect blacklist entries from other peers.</p>
<input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#"> <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#">
URL: <input type="text" name="url"> URL: <input type="text" name="url">
<p> <p>
<input type="submit" value="Load new blacklist items" disabled="#(disabled)#::disabled#(/disabled)#"/> <input type="submit" value="Load new blacklist items" #(disabled)#::disabled="disabled"#(/disabled)#/>
</form> </form>
</td> </td>
</tr> </tr>
@ -172,7 +172,7 @@ collect blacklist entries from other peers.</p>
<input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#"> <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#">
File: <input type="text" name="file"> File: <input type="text" name="file">
<p> <p>
<input type="submit" value="Load new blacklist items" disabled="#(disabled)#::disabled#(/disabled)#"/> <input type="submit" value="Load new blacklist items" #(disabled)#::disabled="disabled"#(/disabled)#/>
</form> </form>
</td> </td>
</tr> </tr>

@ -306,9 +306,8 @@ public class Blacklist_p {
prop.put("Itemlist_" + entryCount + "_item", nextEntry); prop.put("Itemlist_" + entryCount + "_item", nextEntry);
entryCount++; entryCount++;
} }
} else { }
prop.put("Itemlist", entryCount); prop.put("Itemlist", entryCount);
}
// List known hosts for BlackList retrieval // List known hosts for BlackList retrieval

Loading…
Cancel
Save