comparison src/plugins/plugin_xep_0065.py @ 1220:f91e7028e2c3

memory (params), tools (xml_tools), plugins, frontends: add "int" parameter type with "min" and "max" attributes
author souliane <souliane@mailoo.org>
date Fri, 03 Oct 2014 12:27:43 +0200
parents 96fb74a4714d
children 72f25d671368
comparison
equal deleted inserted replaced
1219:16484ebb695b 1220:f91e7028e2c3
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="string" /> 447 <param name="Port" value="28915" type="int" min="80" max="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="string" /> 454 <param name="Proxy port" value="" type="int" min="80" max="65535" />
455 </category> 455 </category>
456 </individual> 456 </individual>
457 </params> 457 </params>
458 """ 458 """
459 459