'+ip;}
+rowdata.isUTP=system.lang.torrent.attribute["status"][item.isUTP];var percentDone=parseFloat(item.progress*100).toFixed(2);rowdata.progress=system.getTorrentProgressBar(percentDone,transmission._status.download)
+datas.push(rowdata);}
+this.updateCurrentPageDatas("address",datas,system.panel.attribute.find("#torrent-peers-table"));},fillTorrentConfig:function(torrent){if(system.panel.attribute.find("#torrent-attribute-tabs").data("selectedIndex")!=4){return;}
+transmission.torrents.getConfig(torrent.id,function(result){if(result==null)return;var torrent=transmission.torrents.all[system.currentTorrentId];jQuery.extend(torrent,result[0]);if(system.currentTorrentId==0)return;$.each(result[0],function(key,value){var indeterminate=false;var checked=false;var useTag=false;switch(key){case "seedIdleMode":case "seedRatioMode":if(value==0){checked=false;indeterminate=true;}
+useTag=true;case "downloadLimited":case "uploadLimited":if(value==true||value==1){checked=true;}
+system.panel.attribute.find("input[enabledof='"+key+"']").prop("disabled",!checked);if(useTag){system.panel.attribute.find("#"+key).prop("indeterminate",indeterminate).data("_tag",value)}
+system.panel.attribute.find("#"+key).prop("checked",checked);break;default:system.panel.attribute.find("#"+key).val(value);system.panel.attribute.find("#"+key).numberspinner("setValue",value);break;}});});},setFieldFormat:function(field){if(field.formatter){switch(field.formatter){case "size":field.formatter=function(value,row,index){return formatSize(value);};break;case "speed":field.formatter=function(value,row,index){return formatSize(value,true,"speed");};break;case "longtime":field.formatter=function(value,row,index){return formatLongTime(value);};break;case "progress":field.formatter=function(value,row,index){var percentDone=parseFloat(value*100).toFixed(2);return system.getTorrentProgressBar(percentDone,transmission.torrents.all[row["id"]]);};break;case "_usename_":switch(field.field){case "name":field.formatter=function(value,row,index){return system.getTorrentNameBar(transmission.torrents.all[row["id"]]);};break;}
+break;case "ratio":field.formatter=function(value,row,index){var className='';if(parseFloat(value)<1&&value!=-1){className='text-status-warning';}
+return ''+(value==-1?"∞":value)+'';};break;case "remainingTime":field.formatter=function(value,row,index){if(value>=3153600000000){return "∞";}
+return getTotalTime(value);};break;case "labels":field.formatter=function(value,row,index){return system.formetTorrentLabels(value,row.hashString);}
+break;case "color":field.formatter=function(value,row,index){var box=$("").html(value).css({"background-color":value,"color":(getGrayLevel(value)>0.5?"#000":"#fff")});return box.get(0).outerHTML;}
+break;}}},reloadData:function(){if(this.popoverCount>0){setTimeout(function(){system.reloadData();},2000);return;}
+this.reloadSession();this.reloading=false;this.getServerStatus();this.reloading=false;this.reloadTorrentBaseInfos();},loadFolderList:function(oldFolders){this.removeTreeNode("folders-loading");for(var index in oldFolders){var item=oldFolders[index];if(item){system.removeTreeNode(item.nodeid);}}
+if(transmission.downloadDirs.length==0){return;}
+timedChunk(transmission.downloadDirs,this.appendFolder,this,10,function(){if($.ua.browser.name=="Firefox"&&$.ua.browser.major<60){system.panel.left.find("span.nav-total-size").css({"margin-top":"-19px"});}
+system.initUIStatus();});},appendFolder:function(fullkey){if(!fullkey)return;var rootkey="folders";var parentkey=rootkey;var folder=fullkey.replace(/\\/g,"/").split("/");var key=rootkey+"-";var path="";for(var i in folder){var name=folder[i];if(name==""){continue;}
+path+=name;var _key=this.B64.encode(name);key+=_key.replace(/[+|\/|=]/g,"0");var node=this.panel.left.tree("find",key);var folderinfos=transmission.torrents.folders[key];if(folderinfos){var text=name+this.showNodeMoreInfos(folderinfos.count,folderinfos.size);if(!node){this.appendTreeNode(parentkey,[{id:key,path:path,downDir:fullkey,text:text,iconCls:"iconfont tr-icon-file"}]);if(parentkey!=rootkey){node=this.panel.left.tree("find",parentkey);this.panel.left.tree("collapse",node.target);}}else{this.updateTreeNodeText(key,text);}
+parentkey=key;}else{this.debug("appendFolder:key",key);this.debug("appendFolder:name",name);this.debug("appendFolder:node",node);}}},replaceURI:function(text){var reg=/(http|https|ftp):\/\/([^/:]+)(:\d*)?([^# ]*)/ig;return text.replace(reg,function(url){return ''+url+'';});},readConfig:function(){this.readUserConfig();var config=this.getStorageData(this.configHead+'.system');if(config){this.config=$.extend(true,this.config,JSON.parse(config));}
+for(var key in this.storageKeys.dictionary){this.dictionary[key]=this.getStorageData(this.storageKeys.dictionary[key]);}},saveConfig:function(){this.setStorageData(this.configHead+'.system',JSON.stringify(this.config));for(var key in this.storageKeys.dictionary){this.setStorageData(this.storageKeys.dictionary[key],this.dictionary[key]);}
+this.saveUserConfig();},saveLabelsConfig:function(hash,labels){if(system.config.nav.labels){if(labels.length==0){delete system.config.labelMaps[hash];}else{system.config.labelMaps[hash]=labels;}}},readUserConfig:function(){var local=window.localStorage[this.configHead];if(local){var localOptions=JSON.parse(local);this.userConfig=$.extend(true,this.userConfig,localOptions);}},saveUserConfig:function(){window.localStorage[this.configHead]=JSON.stringify(this.userConfig);},uploadTorrentFile:function(fileInputId,savePath,paused,callback){if(window.FileReader){var files=$("input[id='"+fileInputId+"']")[0].files;$.each(files,function(index,file){transmission.addTorrentFromFile(file,savePath,paused,callback,files.length);});}else{alert(system.lang["public"]["text-browsers-not-support-features"]);}},checkUpdate:function(){$.ajax({url:this.checkUpdateScript,dataType:"json",success:function(result){if(result&&result.tag_name){var update=result.created_at.substr(0,10).replace(/-/g,"");var version=result.tag_name;if($.inArray(version,system.config.ignoreVersion)!=-1){return;}
+if(system.codeupdate
' + ip;
}
// 使用同类已有的翻译文本
diff --git a/src/tr-web-control/template/dialog-system-config.html b/src/tr-web-control/template/dialog-system-config.html
index d700a8b..1b55a91 100644
--- a/src/tr-web-control/template/dialog-system-config.html
+++ b/src/tr-web-control/template/dialog-system-config.html
@@ -406,6 +406,9 @@