comparison src/plugins/plugin_xep_0065.py @ 1226:72f25d671368

memory (params): use more generic param attribute "constraint" instead of "min" and "max"
author souliane <souliane@mailoo.org>
date Mon, 06 Oct 2014 11:18:37 +0200
parents f91e7028e2c3
children 069ad98b360d
comparison
equal deleted inserted replaced
1225:82dabb442e2e 1226:72f25d671368
442 params = """ 442 params = """
443 <params> 443 <params>
444 <general> 444 <general>
445 <category name="File Transfer"> 445 <category name="File Transfer">
446 <param name="IP" value='0.0.0.0' default_cb='yes' type="string" /> 446 <param name="IP" value='0.0.0.0' default_cb='yes' type="string" />
447 <param name="Port" value="28915" type="int" min="80" max="65535" /> 447 <param name="Port" value="28915" type="int" constraint="1;65535" />
448 </category> 448 </category>
449 </general> 449 </general>
450 <individual> 450 <individual>
451 <category name="File Transfer"> 451 <category name="File Transfer">
452 <param name="Proxy" value="" type="string" /> 452 <param name="Proxy" value="" type="string" />
453 <param name="Proxy host" value="" type="string" /> 453 <param name="Proxy host" value="" type="string" />
454 <param name="Proxy port" value="" type="int" min="80" max="65535" /> 454 <param name="Proxy port" value="" type="int" constraint="1;65535" />
455 </category> 455 </category>
456 </individual> 456 </individual>
457 </params> 457 </params>
458 """ 458 """
459 459