@ -83,23 +83,47 @@
@@ -83,23 +83,47 @@
< fieldset class = "settings" >
< legend > < input type = "checkbox" id = "mail_notification_checkbox" onclick = "updateMailNotification();" / >
< label for = "mail_notification_checkbox" > QBT_TR(Email notification upon download completion)QBT_TR[CONTEXT=OptionsDialog]< / label > < / legend >
< div class = "formRow" >
< label for = "dest_email_txt" class = "leftLabelMedium" > QBT_TR(To:)QBT_TR[CONTEXT=OptionsDialog]< / label > < input type = "text" id = "dest_email_txt" / >
< / div >
< div class = "formRow" >
< label for = "smtp_server_txt" class = "leftLabelMedium" > QBT_TR(SMTP server:)QBT_TR[CONTEXT=OptionsDialog]< / label > < input type = "text" id = "smtp_server_txt" / >
< / div >
< table >
< tr >
< td >
< label for = "dest_email_txt" > QBT_TR(To:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "dest_email_txt" / >
< / td >
< / tr >
< tr >
< td >
< label for = "smtp_server_txt" > QBT_TR(SMTP server:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "smtp_server_txt" / >
< / td >
< / tr >
< / table >
< div class = "formRow" >
< input type = "checkbox" id = "mail_ssl_checkbox" / > < label for = "mail_ssl_checkbox" > QBT_TR(This server requires a secure connection (SSL))QBT_TR[CONTEXT=OptionsDialog]< / label >
< / div >
< fieldset class = "settings" >
< legend > < input type = "checkbox" id = "mail_auth_checkbox" onclick = "updateMailAuthSettings();" / > < label for = "mail_auth_checkbox" > QBT_TR(Authentication)QBT_TR[CONTEXT=OptionsDialog]< / label > < / legend >
< div class = "formRow" >
< label for = "mail_username_text" class = "leftLabelMedium" > QBT_TR(Username:)QBT_TR[CONTEXT=OptionsDialog]< / label > < input type = "text" id = "mail_username_text" / >
< / div >
< div class = "formRow" >
< label for = "mail_password_text" class = "leftLabelMedium" > QBT_TR(Password:)QBT_TR[CONTEXT=OptionsDialog]< / label > < input type = "password" id = "mail_password_text" / >
< / div >
< table >
< tr >
< td >
< label for = "mail_username_text" > QBT_TR(Username:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "mail_username_text" / >
< / td >
< / tr >
< tr >
< td >
< label for = "mail_password_text" > QBT_TR(Password:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "password" id = "mail_password_text" / >
< / td >
< / tr >
< / table >
< / fieldset >
< / fieldset >
@ -178,23 +202,33 @@
@@ -178,23 +202,33 @@
< fieldset class = "settings" >
< legend > QBT_TR(Proxy Server)QBT_TR[CONTEXT=OptionsDialog]< / legend >
< div class = "formRow" >
< label for = "peer_proxy_type_select" class = "leftLabelSmall" > QBT_TR(Type:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< table >
< tr >
< td >
< label for = "peer_proxy_type_select" > QBT_TR(Type:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< select id = "peer_proxy_type_select" onchange = "updatePeerProxySettings();" >
< option value = "none" > QBT_TR((None))QBT_TR[CONTEXT=OptionsDialog]< / option >
< option value = "socks4" > QBT_TR(SOCKS4)QBT_TR[CONTEXT=OptionsDialog]< / option >
< option value = "socks5" > QBT_TR(SOCKS5)QBT_TR[CONTEXT=OptionsDialog]< / option >
< option value = "http" > QBT_TR(HTTP)QBT_TR[CONTEXT=OptionsDialog]< / option >
< / select >
< / div >
< div class = "formRow" >
< label for = "peer_proxy_host_text" class = "leftLabelSmall" > QBT_TR(Host:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< label for = "peer_proxy_host_text" > QBT_TR(Host:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "peer_proxy_host_text" / >
< / div >
< div class = "formRow" >
< label for = "peer_proxy_port_value" class = "leftLabelSmall" > QBT_TR(Port:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< label for = "peer_proxy_port_value" > QBT_TR(Port:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "peer_proxy_port_value" style = "width: 4em;" / >
< / div >
< / td >
< / tr >
< / table >
< div class = "formRow" >
< input type = "checkbox" id = "use_peer_proxy_checkbox" / >
< label for = "use_peer_proxy_checkbox" > QBT_TR(Use proxy for peer connections)QBT_TR[CONTEXT=OptionsDialog]< / label >
@ -210,14 +244,24 @@
@@ -210,14 +244,24 @@
< fieldset class = "settings" >
< legend > < input type = "checkbox" id = "peer_proxy_auth_checkbox" onclick = "updatePeerProxyAuthSettings();" / >
< label for = "peer_proxy_auth_checkbox" > QBT_TR(Authentication)QBT_TR[CONTEXT=OptionsDialog]< / label > < / legend >
< div class = "formRow" >
< label for = "peer_proxy_username_text" class = "leftLabelMedium" > QBT_TR(Username:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< table >
< tr >
< td >
< label for = "peer_proxy_username_text" > QBT_TR(Username:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "peer_proxy_username_text" / >
< / div >
< div class = "formRow" >
< label for = "peer_proxy_password_text" class = "leftLabelMedium" > QBT_TR(Password:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< / tr >
< tr >
< td >
< label for = "peer_proxy_password_text" > QBT_TR(Password:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "password" id = "peer_proxy_password_text" / >
< / div >
< / td >
< / tr >
< / table >
< / fieldset >
< / fieldset >
@ -321,18 +365,32 @@
@@ -321,18 +365,32 @@
< fieldset class = "settings" >
< legend > < input type = "checkbox" id = "queueing_checkbox" onclick = "updateQueueingSystem();" / >
< label for = "queueing_checkbox" > QBT_TR(Torrent Queueing)QBT_TR[CONTEXT=OptionsDialog]< / label > < / legend >
< div class = "formRow" >
< label for = "max_active_dl_value" style = "margin-left: 20px;" class = "leftLabelLarge" > QBT_TR(Maximum active downloads:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< table >
< tr >
< td >
< label for = "max_active_dl_value" > QBT_TR(Maximum active downloads:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "max_active_dl_value" style = "width: 4em;" / >
< / div >
< div class = "formRow" >
< label for = "max_active_up_value" style = "margin-left: 20px;" class = "leftLabelLarge" > QBT_TR(Maximum active uploads:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< / tr >
< tr >
< td >
< label for = "max_active_up_value" > QBT_TR(Maximum active uploads:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "max_active_up_value" style = "width: 4em;" / >
< / div >
< div class = "formRow" >
< label for = "max_active_to_value" style = "margin-left: 20px;" class = "leftLabelLarge" > QBT_TR(Maximum active torrents:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< / tr >
< tr >
< td >
< label for = "max_active_to_value" > QBT_TR(Maximum active torrents:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "max_active_to_value" style = "width: 4em;" / >
< / div >
< / td >
< / tr >
< / table >
< div class = "formRow" >
< input type = "checkbox" id = "dont_count_slow_torrents_checkbox" / >
< label for = "dont_count_slow_torrents_checkbox" > QBT_TR(Do not count slow torrents in these limits)QBT_TR[CONTEXT=OptionsDialog]< / label >
@ -440,33 +498,64 @@
@@ -440,33 +498,64 @@
< fieldset class = "settings" >
< legend > QBT_TR(Web User Interface (Remote control))QBT_TR[CONTEXT=OptionsDialog]< / legend >
< label class = "leftLabelMedium" for = "webui_address_value" > QBT_TR(IP address:)QBT_TR[CONTEXT=OptionsDialog]< / label > < input type = "text" id = "webui_address_value" / >
< label for = "webui_port_value" style = "margin-left: 10px;" > QBT_TR(Port:)QBT_TR[CONTEXT=OptionsDialog]< / label > < input type = "text" id = "webui_port_value" style = "width: 4em;" / > < br / >
< table >
< tr >
< td >
< label for = "webui_address_value" > QBT_TR(IP address:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "webui_address_value" / >
< label for = "webui_port_value" style = "margin-left: 10px;" > QBT_TR(Port:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< input type = "text" id = "webui_port_value" style = "width: 4em;" / > < br / >
< / td >
< / tr >
< / table >
< input type = "checkbox" id = "webui_upnp_checkbox" / >
< label for = "webui_upnp_checkbox" > QBT_TR(Use UPnP / NAT-PMP to forward the port from my router)QBT_TR[CONTEXT=OptionsDialog]< / label > < br / >
< fieldset class = "settings" >
< legend > < input type = "checkbox" id = "use_https_checkbox" onclick = "updateHttpsSettings();" / >
< label for = "use_https_checkbox" > QBT_TR(Use HTTPS instead of HTTP)QBT_TR[CONTEXT=OptionsDialog]< / label > < / legend >
< div class = "formRow" >
< label class = "leftLabelSmall" for = "ssl_key_textarea" > QBT_TR(Key:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< table >
< tr >
< td >
< label for = "ssl_key_textarea" > QBT_TR(Key:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< textarea id = "ssl_key_textarea" rows = "5" cols = "70" > < / textarea >
< / div >
< div class = "formRow" >
< label class = "leftLabelSmall" for = "ssl_cert_textarea" > QBT_TR(Certificate:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< / tr >
< tr >
< td >
< label for = "ssl_cert_textarea" > QBT_TR(Certificate:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< textarea id = "ssl_cert_textarea" rows = "5" cols = "70" > < / textarea >
< / div >
< / td >
< / tr >
< / table >
< div style = "padding-left: 10px;" > < a target = "_blank" href = "https://httpd.apache.org/docs/current/ssl/ssl_faq.html#aboutcerts" > QBT_TR(Information about certificates)QBT_TR[CONTEXT=HttpServer]< / a > < / div >
< / fieldset >
< fieldset class = "settings" >
< legend > QBT_TR(Authentication)QBT_TR[CONTEXT=OptionsDialog]< / legend >
< div class = "formRow" >
< label for = "webui_username_text" class = "leftLabelSmall" > QBT_TR(Username:)QBT_TR[CONTEXT=OptionsDialog]< / label > < input type = "text" id = "webui_username_text" / >
< / div >
< div class = "formRow" >
< label for = "webui_password_text" class = "leftLabelSmall" > QBT_TR(Password:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< table >
< tr >
< td >
< label for = "webui_username_text" > QBT_TR(Username:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "webui_username_text" / >
< / td >
< / tr >
< tr >
< td >
< label for = "webui_password_text" > QBT_TR(Password:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "password" id = "webui_password_text" placeholder = "QBT_TR(Change current password)QBT_TR[CONTEXT=OptionsDialog]" / >
< / div >
< / td >
< / tr >
< / table >
< div class = "formRow" >
< input type = "checkbox" id = "bypass_local_auth_checkbox" / >
< label for = "bypass_local_auth_checkbox" > QBT_TR(Bypass authentication for clients on localhost)QBT_TR[CONTEXT=OptionsDialog]< / label >
@ -496,10 +585,16 @@
@@ -496,10 +585,16 @@
< input type = "checkbox" id = "host_header_validation_checkbox" onclick = "updateHostHeaderValidationSettings();" / >
< label for = "host_header_validation_checkbox" > QBT_TR(Enable Host header validation)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / legend >
< div class = "formRow" >
< label class = "leftLabelMedium" for = "webui_domain_textarea" > QBT_TR(Server domains:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< table >
< tr >
< td >
< label for = "webui_domain_textarea" > QBT_TR(Server domains:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< textarea id = "webui_domain_textarea" rows = "1" cols = "60" > < / textarea >
< / div >
< / td >
< / tr >
< / table >
< / fieldset >
< / fieldset >
< / fieldset >
@ -512,15 +607,32 @@
@@ -512,15 +607,32 @@
< option value = "1" > NO-IP< / option >
< / select >
< input type = "button" value = "QBT_TR(Register)QBT_TR[CONTEXT=OptionsDialog]" onclick = "registerDynDns();" / > < br / > < br / >
< div class = "formRow" >
< label for = "dyndns_domain_text" class = "leftLabelMedium" > QBT_TR(Domain name:)QBT_TR[CONTEXT=OptionsDialog]< / label > < input type = "text" id = "dyndns_domain_text" / >
< / div >
< div class = "formRow" >
< label for = "dyndns_username_text" class = "leftLabelMedium" > QBT_TR(Username:)QBT_TR[CONTEXT=OptionsDialog]< / label > < input type = "text" id = "dyndns_username_text" / >
< / div >
< div class = "formRow" >
< label for = "dyndns_password_text" class = "leftLabelMedium" > QBT_TR(Password:)QBT_TR[CONTEXT=OptionsDialog]< / label > < input type = "password" id = "dyndns_password_text" / >
< / div >
< table >
< tr >
< td >
< label for = "dyndns_domain_text" > QBT_TR(Domain name:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "dyndns_domain_text" / >
< / td >
< / tr >
< tr >
< td >
< label for = "dyndns_username_text" > QBT_TR(Username:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "text" id = "dyndns_username_text" / >
< / td >
< / tr >
< tr >
< td >
< label for = "dyndns_password_text" > QBT_TR(Password:)QBT_TR[CONTEXT=OptionsDialog]< / label >
< / td >
< td >
< input type = "password" id = "dyndns_password_text" / >
< / td >
< / tr >
< / table >
< / fieldset >
< / div >