Added display selector on mobile web application.

This commit is contained in:
Ylian Saint-Hilaire 2020-05-10 17:20:44 -07:00
parent d4e4aec9c3
commit d722b6d7be
5 changed files with 153 additions and 125 deletions

File diff suppressed because one or more lines are too long

View File

@ -47,6 +47,9 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
obj.width = 960; obj.width = 960;
obj.height = 960; obj.height = 960;
obj.displays = null;
obj.selectedDisplay = null;
obj.onScreenSizeChange = null; obj.onScreenSizeChange = null;
obj.onMessage = null; obj.onMessage = null;
obj.onConnectCountChanged = null; obj.onConnectCountChanged = null;
@ -266,6 +269,7 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
} }
} }
//console.log('Get Displays', displays, selectedDisplay, rstr2hex(str)); //console.log('Get Displays', displays, selectedDisplay, rstr2hex(str));
obj.displays = displays; obj.selectedDisplay = selectedDisplay;
if (obj.onDisplayinfo != null) { obj.onDisplayinfo(obj, displays, selectedDisplay); } if (obj.onDisplayinfo != null) { obj.onDisplayinfo(obj, displays, selectedDisplay); }
break; break;
case 12: // SetDisplay case 12: // SetDisplay

File diff suppressed because one or more lines are too long

View File

@ -407,7 +407,7 @@
"ru": ", ", "ru": ", ",
"zh-chs": "", "zh-chs": "",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->335", "default-mobile.handlebars->9->336",
"default.handlebars->25->1306" "default.handlebars->25->1306"
] ]
}, },
@ -478,7 +478,7 @@
"zh-chs": "WebRTC", "zh-chs": "WebRTC",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->238", "default-mobile.handlebars->9->238",
"default-mobile.handlebars->9->246", "default-mobile.handlebars->9->247",
"default.handlebars->25->689", "default.handlebars->25->689",
"default.handlebars->25->720", "default.handlebars->25->720",
"default.handlebars->25->732", "default.handlebars->25->732",
@ -611,7 +611,7 @@
"ru": "...", "ru": "...",
"zh-chs": "...", "zh-chs": "...",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->248", "default-mobile.handlebars->9->249",
"default-mobile.handlebars->9->77", "default-mobile.handlebars->9->77",
"default.handlebars->25->1347", "default.handlebars->25->1347",
"default.handlebars->25->1687", "default.handlebars->25->1687",
@ -680,7 +680,7 @@
"ru": "1 байт", "ru": "1 байт",
"zh-chs": "1個字節", "zh-chs": "1個字節",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->339", "default-mobile.handlebars->9->340",
"default-mobile.handlebars->9->87", "default-mobile.handlebars->9->87",
"default.handlebars->25->1366" "default.handlebars->25->1366"
] ]
@ -1148,7 +1148,7 @@
"pt": "3", "pt": "3",
"ru": "3", "ru": "3",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->274" "default-mobile.handlebars->9->275"
] ]
}, },
{ {
@ -2471,7 +2471,7 @@
"ru": "Добавить пользователя", "ru": "Добавить пользователя",
"zh-chs": "添加用戶", "zh-chs": "添加用戶",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->285", "default-mobile.handlebars->9->286",
"default.handlebars->25->557" "default.handlebars->25->557"
] ]
}, },
@ -2536,7 +2536,7 @@
"nl": "Gebruiker toevoegen aan apparaatgroep", "nl": "Gebruiker toevoegen aan apparaatgroep",
"zh-chs": "将用户添加到设备组", "zh-chs": "将用户添加到设备组",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->314" "default-mobile.handlebars->9->315"
] ]
}, },
{ {
@ -2952,7 +2952,7 @@
"ru": "Консоль агента", "ru": "Консоль агента",
"zh-chs": "代理控制台", "zh-chs": "代理控制台",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->320", "default-mobile.handlebars->9->321",
"default.handlebars->25->1289" "default.handlebars->25->1289"
] ]
}, },
@ -3196,8 +3196,8 @@
"ru": "Все", "ru": "Все",
"zh-chs": "所有", "zh-chs": "所有",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->249", "default-mobile.handlebars->9->250",
"default-mobile.handlebars->9->251", "default-mobile.handlebars->9->252",
"default-mobile.handlebars->9->86" "default-mobile.handlebars->9->86"
] ]
}, },
@ -3213,10 +3213,7 @@
"nl": "Alle schermen", "nl": "Alle schermen",
"pt": "Todas as telas", "pt": "Todas as telas",
"ru": "Все экраны", "ru": "Все экраны",
"zh-chs": "所有顯示", "zh-chs": "所有顯示"
"xloc": [
"default-mobile.handlebars->9->241"
]
}, },
{ {
"cs": "Zaměřit vše", "cs": "Zaměřit vše",
@ -3915,7 +3912,7 @@
"ru": "Вы действительно хотите удалить группу \\\"{0}\\\"? Удаление группы приведет к удалению всей информации связанной с устройствами в этой группе.", "ru": "Вы действительно хотите удалить группу \\\"{0}\\\"? Удаление группы приведет к удалению всей информации связанной с устройствами в этой группе.",
"zh-chs": "您確定要刪除組{0}嗎?刪除設備組還將刪除該組中有關設備的所有信息。", "zh-chs": "您確定要刪除組{0}嗎?刪除設備組還將刪除該組中有關設備的所有信息。",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->291", "default-mobile.handlebars->9->292",
"default.handlebars->25->1216" "default.handlebars->25->1216"
] ]
}, },
@ -5215,8 +5212,8 @@
"ru": "Чаты и уведомления", "ru": "Чаты и уведомления",
"zh-chs": "聊天並通知", "zh-chs": "聊天並通知",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->312", "default-mobile.handlebars->9->313",
"default-mobile.handlebars->9->330", "default-mobile.handlebars->9->331",
"default.handlebars->25->1266", "default.handlebars->25->1266",
"default.handlebars->25->1300" "default.handlebars->25->1300"
] ]
@ -5489,10 +5486,10 @@
"zh-chs": "明確", "zh-chs": "明確",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->101", "default-mobile.handlebars->9->101",
"default-mobile.handlebars->9->267", "default-mobile.handlebars->9->268",
"default-mobile.handlebars->9->269", "default-mobile.handlebars->9->270",
"default-mobile.handlebars->9->271", "default-mobile.handlebars->9->272",
"default-mobile.handlebars->9->273", "default-mobile.handlebars->9->274",
"default-mobile.handlebars->9->28", "default-mobile.handlebars->9->28",
"default.handlebars->25->1381", "default.handlebars->25->1381",
"default.handlebars->25->753", "default.handlebars->25->753",
@ -5887,7 +5884,7 @@
"zh-chs": "確認", "zh-chs": "確認",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->230", "default-mobile.handlebars->9->230",
"default-mobile.handlebars->9->292", "default-mobile.handlebars->9->293",
"default.handlebars->25->1217", "default.handlebars->25->1217",
"default.handlebars->25->1430", "default.handlebars->25->1430",
"default.handlebars->25->1495", "default.handlebars->25->1495",
@ -5912,7 +5909,7 @@
"ru": "Подтвердить копирование 1 записи в это расположение?", "ru": "Подтвердить копирование 1 записи в это расположение?",
"zh-chs": "確認將1個副本複製到此位置", "zh-chs": "確認將1個副本複製到此位置",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->262", "default-mobile.handlebars->9->263",
"default.handlebars->25->748" "default.handlebars->25->748"
] ]
}, },
@ -5930,7 +5927,7 @@
"ru": "Подтвердить копирование {0} записей в это расположение?", "ru": "Подтвердить копирование {0} записей в это расположение?",
"zh-chs": "確認{0}個條目的副本到此位置?", "zh-chs": "確認{0}個條目的副本到此位置?",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->261", "default-mobile.handlebars->9->262",
"default.handlebars->25->747" "default.handlebars->25->747"
] ]
}, },
@ -6038,7 +6035,7 @@
"ru": "Подтвердить перемещение 1 записи в это расположение?", "ru": "Подтвердить перемещение 1 записи в это расположение?",
"zh-chs": "確認將1個入口移動到此位置", "zh-chs": "確認將1個入口移動到此位置",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->264", "default-mobile.handlebars->9->265",
"default.handlebars->25->750" "default.handlebars->25->750"
] ]
}, },
@ -6056,7 +6053,7 @@
"ru": "Подтвердить перемещение {0} записей в это расположение?", "ru": "Подтвердить перемещение {0} записей в это расположение?",
"zh-chs": "確認將{0}個條目移到此位置?", "zh-chs": "確認將{0}個條目移到此位置?",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->263", "default-mobile.handlebars->9->264",
"default.handlebars->25->749" "default.handlebars->25->749"
] ]
}, },
@ -6262,7 +6259,7 @@
"ru": "Подтвердить удаление пользователя {0}?", "ru": "Подтвердить удаление пользователя {0}?",
"zh-chs": "確認刪除用戶{0}", "zh-chs": "確認刪除用戶{0}",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->338" "default-mobile.handlebars->9->339"
] ]
}, },
{ {
@ -6279,7 +6276,7 @@
"ru": "Подключиться", "ru": "Подключиться",
"zh-chs": "連接", "zh-chs": "連接",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->244", "default-mobile.handlebars->9->245",
"default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea1->1->3", "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea1->1->3",
"default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->0->1->3", "default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->0->1->3",
"default.handlebars->25->1156", "default.handlebars->25->1156",
@ -6463,7 +6460,7 @@
"zh-chs": "正在連線...", "zh-chs": "正在連線...",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->2", "default-mobile.handlebars->9->2",
"default-mobile.handlebars->9->277", "default-mobile.handlebars->9->278",
"default-mobile.handlebars->9->6", "default-mobile.handlebars->9->6",
"default.handlebars->25->204", "default.handlebars->25->204",
"default.handlebars->25->207", "default.handlebars->25->207",
@ -7422,7 +7419,7 @@
"ru": "Удалить", "ru": "Удалить",
"zh-chs": "刪除", "zh-chs": "刪除",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->254", "default-mobile.handlebars->9->255",
"default-mobile.handlebars->9->91", "default-mobile.handlebars->9->91",
"default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->2->1->1", "default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->2->1->1",
"default-mobile.handlebars->container->page_content->column_l->p5->p5myfiles->p5toolbar->1->0->1->1", "default-mobile.handlebars->container->page_content->column_l->p5->p5myfiles->p5toolbar->1->0->1->1",
@ -7501,8 +7498,8 @@
"ru": "Удалить группу", "ru": "Удалить группу",
"zh-chs": "刪除群組", "zh-chs": "刪除群組",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->290", "default-mobile.handlebars->9->291",
"default-mobile.handlebars->9->293", "default-mobile.handlebars->9->294",
"default.handlebars->25->1188", "default.handlebars->25->1188",
"default.handlebars->25->1218" "default.handlebars->25->1218"
] ]
@ -7689,7 +7686,7 @@
"ru": "Удалить выбранные элементы?", "ru": "Удалить выбранные элементы?",
"zh-chs": "刪除所選項目?", "zh-chs": "刪除所選項目?",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->256", "default-mobile.handlebars->9->257",
"default-mobile.handlebars->9->93", "default-mobile.handlebars->9->93",
"default.handlebars->25->1372", "default.handlebars->25->1372",
"default.handlebars->25->742" "default.handlebars->25->742"
@ -7726,7 +7723,7 @@
"ru": "Удалить {0} выбранных элементов?", "ru": "Удалить {0} выбранных элементов?",
"zh-chs": "刪除{0}個所選項目?", "zh-chs": "刪除{0}個所選項目?",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->255", "default-mobile.handlebars->9->256",
"default-mobile.handlebars->9->92", "default-mobile.handlebars->9->92",
"default.handlebars->25->1371", "default.handlebars->25->1371",
"default.handlebars->25->741" "default.handlebars->25->741"
@ -7839,8 +7836,8 @@
"default-mobile.handlebars->9->151", "default-mobile.handlebars->9->151",
"default-mobile.handlebars->9->152", "default-mobile.handlebars->9->152",
"default-mobile.handlebars->9->234", "default-mobile.handlebars->9->234",
"default-mobile.handlebars->9->282", "default-mobile.handlebars->9->283",
"default-mobile.handlebars->9->295", "default-mobile.handlebars->9->296",
"default-mobile.handlebars->9->70", "default-mobile.handlebars->9->70",
"default.handlebars->25->1111", "default.handlebars->25->1111",
"default.handlebars->25->1137", "default.handlebars->25->1137",
@ -8126,7 +8123,7 @@
"ru": "Пользователь группы устройств", "ru": "Пользователь группы устройств",
"zh-chs": "設備組用戶", "zh-chs": "設備組用戶",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->336", "default-mobile.handlebars->9->337",
"default.handlebars->25->1307" "default.handlebars->25->1307"
] ]
}, },
@ -8620,7 +8617,7 @@
"ru": "Разъединить", "ru": "Разъединить",
"zh-chs": "斷開", "zh-chs": "斷開",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->245", "default-mobile.handlebars->9->246",
"default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea1->1->3", "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea1->1->3",
"default.handlebars->25->1157", "default.handlebars->25->1157",
"default.handlebars->25->731", "default.handlebars->25->731",
@ -8881,7 +8878,7 @@
"ru": "Скачать файл", "ru": "Скачать файл",
"zh-chs": "下載文件", "zh-chs": "下載文件",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->275", "default-mobile.handlebars->9->276",
"default.handlebars->25->760" "default.handlebars->25->760"
] ]
}, },
@ -9529,9 +9526,9 @@
"ru": "Редактировать группу устройств", "ru": "Редактировать группу устройств",
"zh-chs": "編輯設備組", "zh-chs": "編輯設備組",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->296", "default-mobile.handlebars->9->297",
"default-mobile.handlebars->9->298", "default-mobile.handlebars->9->299",
"default-mobile.handlebars->9->316", "default-mobile.handlebars->9->317",
"default.handlebars->25->1221", "default.handlebars->25->1221",
"default.handlebars->25->1251", "default.handlebars->25->1251",
"default.handlebars->25->1273", "default.handlebars->25->1273",
@ -9604,7 +9601,7 @@
"ru": "Редактировать примечания устройства", "ru": "Редактировать примечания устройства",
"zh-chs": "編輯設備說明", "zh-chs": "編輯設備說明",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->310", "default-mobile.handlebars->9->311",
"default.handlebars->25->1264" "default.handlebars->25->1264"
] ]
}, },
@ -9689,7 +9686,7 @@
"ru": "Редактировать примечания", "ru": "Редактировать примечания",
"zh-chs": "編輯筆記", "zh-chs": "編輯筆記",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->323", "default-mobile.handlebars->9->324",
"default.handlebars->25->1292" "default.handlebars->25->1292"
] ]
}, },
@ -10861,7 +10858,7 @@
"ru": "Редактор файлов", "ru": "Редактор файлов",
"zh-chs": "文件編輯器", "zh-chs": "文件編輯器",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->259", "default-mobile.handlebars->9->260",
"default.handlebars->25->424", "default.handlebars->25->424",
"default.handlebars->25->745" "default.handlebars->25->745"
] ]
@ -11407,9 +11404,9 @@
"ru": "Администратор с полным доступом", "ru": "Администратор с полным доступом",
"zh-chs": "正式管理員", "zh-chs": "正式管理員",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->288", "default-mobile.handlebars->9->289",
"default-mobile.handlebars->9->297", "default-mobile.handlebars->9->298",
"default-mobile.handlebars->9->315", "default-mobile.handlebars->9->316",
"default-mobile.handlebars->9->74", "default-mobile.handlebars->9->74",
"default.handlebars->25->1120", "default.handlebars->25->1120",
"default.handlebars->25->1250", "default.handlebars->25->1250",
@ -12325,7 +12322,7 @@
"ru": "Задержана 1 запись для копирования", "ru": "Задержана 1 запись для копирования",
"zh-chs": "持有1份副本", "zh-chs": "持有1份副本",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->268", "default-mobile.handlebars->9->269",
"default.handlebars->25->754" "default.handlebars->25->754"
] ]
}, },
@ -12343,7 +12340,7 @@
"ru": "Задержана 1 запись для перемещения", "ru": "Задержана 1 запись для перемещения",
"zh-chs": "持有1個搬家公司", "zh-chs": "持有1個搬家公司",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->272", "default-mobile.handlebars->9->273",
"default.handlebars->25->758" "default.handlebars->25->758"
] ]
}, },
@ -12361,7 +12358,7 @@
"ru": "Задержано {0} записей для копирования", "ru": "Задержано {0} записей для копирования",
"zh-chs": "保留{0}個條目進行複制", "zh-chs": "保留{0}個條目進行複制",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->266", "default-mobile.handlebars->9->267",
"default.handlebars->25->752" "default.handlebars->25->752"
] ]
}, },
@ -12379,7 +12376,7 @@
"ru": "Задержано {0} записей для перемещения", "ru": "Задержано {0} записей для перемещения",
"zh-chs": "保留{0}個條目以進行移動", "zh-chs": "保留{0}個條目以進行移動",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->270", "default-mobile.handlebars->9->271",
"default.handlebars->25->756" "default.handlebars->25->756"
] ]
}, },
@ -12799,7 +12796,7 @@
"ru": "Ввод", "ru": "Ввод",
"zh-chs": "輸入值", "zh-chs": "輸入值",
"xloc": [ "xloc": [
"default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3->11->DeskControlSpan", "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3->13->DeskControlSpan",
"default.handlebars->container->column_l->p11->deskarea0->deskarea4->3->9->DeskControlSpan" "default.handlebars->container->column_l->p11->deskarea0->deskarea4->3->9->DeskControlSpan"
] ]
}, },
@ -13398,7 +13395,7 @@
"ru": "Только Intel® AMT, без агента", "ru": "Только Intel® AMT, без агента",
"zh-chs": "僅限英特爾®AMT無代理", "zh-chs": "僅限英特爾®AMT無代理",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->279", "default-mobile.handlebars->9->280",
"default.handlebars->25->1110", "default.handlebars->25->1110",
"default.handlebars->25->1134" "default.handlebars->25->1134"
] ]
@ -14192,6 +14189,12 @@
"default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3" "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3"
] ]
}, },
{
"en": "Keys",
"xloc": [
"default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3"
]
},
{ {
"cs": "khmerština", "cs": "khmerština",
"de": "Khmer", "de": "Khmer",
@ -14893,7 +14896,7 @@
"ru": "Ограниченный ввод", "ru": "Ограниченный ввод",
"zh-chs": "有限輸入", "zh-chs": "有限輸入",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->328", "default-mobile.handlebars->9->329",
"default.handlebars->25->1298", "default.handlebars->25->1298",
"default.handlebars->25->570", "default.handlebars->25->570",
"default.handlebars->25->589" "default.handlebars->25->589"
@ -14913,7 +14916,7 @@
"ru": "Ограничить элементы ввода", "ru": "Ограничить элементы ввода",
"zh-chs": "僅限於輸入", "zh-chs": "僅限於輸入",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->303", "default-mobile.handlebars->9->304",
"default.handlebars->25->1256" "default.handlebars->25->1256"
] ]
}, },
@ -16024,8 +16027,8 @@
"ru": "Управление компьютерами группы устройств", "ru": "Управление компьютерами группы устройств",
"zh-chs": "管理設備組計算機", "zh-chs": "管理設備組計算機",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->300", "default-mobile.handlebars->9->301",
"default-mobile.handlebars->9->318", "default-mobile.handlebars->9->319",
"default.handlebars->25->1253", "default.handlebars->25->1253",
"default.handlebars->25->1287" "default.handlebars->25->1287"
] ]
@ -16044,8 +16047,8 @@
"ru": "Управление пользователями группы устройств", "ru": "Управление пользователями группы устройств",
"zh-chs": "管理設備組用戶", "zh-chs": "管理設備組用戶",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->299", "default-mobile.handlebars->9->300",
"default-mobile.handlebars->9->317", "default-mobile.handlebars->9->318",
"default.handlebars->25->1252", "default.handlebars->25->1252",
"default.handlebars->25->1286" "default.handlebars->25->1286"
] ]
@ -16243,7 +16246,7 @@
"ru": "Управляется с помощью программного агента", "ru": "Управляется с помощью программного агента",
"zh-chs": "使用軟件代理進行管理", "zh-chs": "使用軟件代理進行管理",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->280", "default-mobile.handlebars->9->281",
"default.handlebars->25->1135" "default.handlebars->25->1135"
] ]
}, },
@ -16480,7 +16483,7 @@
"ru": "Консоль Mesh Agent", "ru": "Консоль Mesh Agent",
"zh-chs": "網格代理控制台", "zh-chs": "網格代理控制台",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->307", "default-mobile.handlebars->9->308",
"default.handlebars->25->1261" "default.handlebars->25->1261"
] ]
}, },
@ -17439,8 +17442,8 @@
"zh-chs": "名稱", "zh-chs": "名稱",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->145", "default-mobile.handlebars->9->145",
"default-mobile.handlebars->9->281", "default-mobile.handlebars->9->282",
"default-mobile.handlebars->9->294", "default-mobile.handlebars->9->295",
"default-mobile.handlebars->9->66", "default-mobile.handlebars->9->66",
"default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea3->deskarea3x->DeskTools->5->1->1", "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea3->deskarea3x->DeskTools->5->1->1",
"default.handlebars->25->1107", "default.handlebars->25->1107",
@ -17664,7 +17667,7 @@
"ru": "Новая папка", "ru": "Новая папка",
"zh-chs": "新建文件夾", "zh-chs": "新建文件夾",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->252", "default-mobile.handlebars->9->253",
"default-mobile.handlebars->9->89", "default-mobile.handlebars->9->89",
"default.handlebars->25->1368", "default.handlebars->25->1368",
"default.handlebars->25->738", "default.handlebars->25->738",
@ -17864,7 +17867,7 @@
"ru": "Нет доступа к файлам", "ru": "Нет доступа к файлам",
"zh-chs": "沒有文件訪問", "zh-chs": "沒有文件訪問",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->305", "default-mobile.handlebars->9->306",
"default.handlebars->25->1259" "default.handlebars->25->1259"
] ]
}, },
@ -17882,7 +17885,7 @@
"ru": "Файлов нет", "ru": "Файлов нет",
"zh-chs": "沒有文件", "zh-chs": "沒有文件",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->326", "default-mobile.handlebars->9->327",
"default.handlebars->25->1296", "default.handlebars->25->1296",
"default.handlebars->25->568", "default.handlebars->25->568",
"default.handlebars->25->587" "default.handlebars->25->587"
@ -17919,8 +17922,8 @@
"ru": "Нет Intel® AMT", "ru": "Нет Intel® AMT",
"zh-chs": "沒有英特爾®AMT", "zh-chs": "沒有英特爾®AMT",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->306", "default-mobile.handlebars->9->307",
"default-mobile.handlebars->9->327", "default-mobile.handlebars->9->328",
"default.handlebars->25->1260", "default.handlebars->25->1260",
"default.handlebars->25->1297" "default.handlebars->25->1297"
] ]
@ -18043,8 +18046,8 @@
"ru": "Нет прав", "ru": "Нет прав",
"zh-chs": "沒有權利", "zh-chs": "沒有權利",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->289", "default-mobile.handlebars->9->290",
"default-mobile.handlebars->9->332", "default-mobile.handlebars->9->333",
"default-mobile.handlebars->9->75", "default-mobile.handlebars->9->75",
"default.handlebars->25->1121", "default.handlebars->25->1121",
"default.handlebars->25->1302", "default.handlebars->25->1302",
@ -18085,7 +18088,7 @@
"ru": "Нет терминала", "ru": "Нет терминала",
"zh-chs": "沒有終端", "zh-chs": "沒有終端",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->325", "default-mobile.handlebars->9->326",
"default.handlebars->25->1295", "default.handlebars->25->1295",
"default.handlebars->25->567", "default.handlebars->25->567",
"default.handlebars->25->586" "default.handlebars->25->586"
@ -18105,7 +18108,7 @@
"ru": "Нет доступа к терминалу", "ru": "Нет доступа к терминалу",
"zh-chs": "沒有終端訪問", "zh-chs": "沒有終端訪問",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->304", "default-mobile.handlebars->9->305",
"default.handlebars->25->1258" "default.handlebars->25->1258"
] ]
}, },
@ -18534,8 +18537,8 @@
"default-mobile.handlebars->9->148", "default-mobile.handlebars->9->148",
"default-mobile.handlebars->9->150", "default-mobile.handlebars->9->150",
"default-mobile.handlebars->9->206", "default-mobile.handlebars->9->206",
"default-mobile.handlebars->9->250", "default-mobile.handlebars->9->251",
"default-mobile.handlebars->9->283", "default-mobile.handlebars->9->284",
"default-mobile.handlebars->9->85", "default-mobile.handlebars->9->85",
"default.handlebars->25->1131", "default.handlebars->25->1131",
"default.handlebars->25->1138", "default.handlebars->25->1138",
@ -19075,7 +19078,7 @@
"ru": "Редактировать файлы можно только размером менее 200КБ.", "ru": "Редактировать файлы можно только размером менее 200КБ.",
"zh-chs": "只能編輯小於200k的文件。", "zh-chs": "只能編輯小於200k的文件。",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->260", "default-mobile.handlebars->9->261",
"default.handlebars->25->425", "default.handlebars->25->425",
"default.handlebars->25->746" "default.handlebars->25->746"
] ]
@ -19443,7 +19446,7 @@
"ru": "Частичные права", "ru": "Частичные права",
"zh-chs": "部分權利", "zh-chs": "部分權利",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->287", "default-mobile.handlebars->9->288",
"default-mobile.handlebars->9->73", "default-mobile.handlebars->9->73",
"default.handlebars->25->1119" "default.handlebars->25->1119"
] ]
@ -19730,7 +19733,7 @@
"ru": "Вставить", "ru": "Вставить",
"zh-chs": "糊", "zh-chs": "糊",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->265", "default-mobile.handlebars->9->266",
"default-mobile.handlebars->9->97", "default-mobile.handlebars->9->97",
"default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->2->1->3", "default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->2->1->3",
"default-mobile.handlebars->container->page_content->column_l->p5->p5myfiles->p5toolbar->1->0->1->3", "default-mobile.handlebars->container->page_content->column_l->p5->p5myfiles->p5toolbar->1->0->1->3",
@ -19897,7 +19900,7 @@
"ru": "Права", "ru": "Права",
"zh-chs": "權限", "zh-chs": "權限",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->334", "default-mobile.handlebars->9->335",
"default.handlebars->25->1305", "default.handlebars->25->1305",
"default.handlebars->25->1398" "default.handlebars->25->1398"
] ]
@ -20462,7 +20465,7 @@
"ru": "Управление процессами", "ru": "Управление процессами",
"zh-chs": "過程控制", "zh-chs": "過程控制",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->242", "default-mobile.handlebars->9->243",
"default.handlebars->25->716" "default.handlebars->25->716"
] ]
}, },
@ -20943,7 +20946,7 @@
"ru": "Рекурсивное удаление", "ru": "Рекурсивное удаление",
"zh-chs": "遞歸刪除", "zh-chs": "遞歸刪除",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->253", "default-mobile.handlebars->9->254",
"default-mobile.handlebars->9->90", "default-mobile.handlebars->9->90",
"default.handlebars->25->1369", "default.handlebars->25->1369",
"default.handlebars->25->739" "default.handlebars->25->739"
@ -21205,8 +21208,8 @@
"ru": "Удаленное управление", "ru": "Удаленное управление",
"zh-chs": "遙控", "zh-chs": "遙控",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->301", "default-mobile.handlebars->9->302",
"default-mobile.handlebars->9->319", "default-mobile.handlebars->9->320",
"default.handlebars->25->1254", "default.handlebars->25->1254",
"default.handlebars->25->1288" "default.handlebars->25->1288"
] ]
@ -21261,7 +21264,7 @@
"ru": "Удаленный пользователь Mesh", "ru": "Удаленный пользователь Mesh",
"zh-chs": "遠程網狀用戶", "zh-chs": "遠程網狀用戶",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->337" "default-mobile.handlebars->9->338"
] ]
}, },
{ {
@ -21292,8 +21295,8 @@
"ru": "Только просмотр экрана без ввода", "ru": "Только просмотр экрана без ввода",
"zh-chs": "僅遠程查看", "zh-chs": "僅遠程查看",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->302", "default-mobile.handlebars->9->303",
"default-mobile.handlebars->9->324", "default-mobile.handlebars->9->325",
"default.handlebars->25->1255", "default.handlebars->25->1255",
"default.handlebars->25->1293" "default.handlebars->25->1293"
] ]
@ -21678,7 +21681,7 @@
"ru": "Переименовать", "ru": "Переименовать",
"zh-chs": "改名", "zh-chs": "改名",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->257", "default-mobile.handlebars->9->258",
"default-mobile.handlebars->9->94", "default-mobile.handlebars->9->94",
"default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->2->1->1", "default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->2->1->1",
"default-mobile.handlebars->container->page_content->column_l->p5->p5myfiles->p5toolbar->1->0->1->1", "default-mobile.handlebars->container->page_content->column_l->p5->p5myfiles->p5toolbar->1->0->1->1",
@ -22033,7 +22036,7 @@
"ru": "Root/Корень", "ru": "Root/Корень",
"zh-chs": "根", "zh-chs": "根",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->247", "default-mobile.handlebars->9->248",
"default-mobile.handlebars->9->76", "default-mobile.handlebars->9->76",
"default.handlebars->25->1346", "default.handlebars->25->1346",
"default.handlebars->25->733" "default.handlebars->25->733"
@ -22481,6 +22484,24 @@
"default.handlebars->25->250" "default.handlebars->25->250"
] ]
}, },
{
"en": "Screen",
"xloc": [
"default-mobile.handlebars->9->241"
]
},
{
"en": "Screen Selection",
"xloc": [
"default-mobile.handlebars->9->242"
]
},
{
"en": "Screens",
"xloc": [
"default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3"
]
},
{ {
"cs": "Hledat", "cs": "Hledat",
"de": "Suche", "de": "Suche",
@ -22808,7 +22829,7 @@
"ru": "Только собственные события", "ru": "Только собственные события",
"zh-chs": "僅自我事件", "zh-chs": "僅自我事件",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->329", "default-mobile.handlebars->9->330",
"default.handlebars->25->1299" "default.handlebars->25->1299"
] ]
}, },
@ -23141,8 +23162,8 @@
"ru": "Серверные файлы", "ru": "Серверные файлы",
"zh-chs": "服務器文件", "zh-chs": "服務器文件",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->308", "default-mobile.handlebars->9->309",
"default-mobile.handlebars->9->321", "default-mobile.handlebars->9->322",
"default.handlebars->25->1262", "default.handlebars->25->1262",
"default.handlebars->25->1290", "default.handlebars->25->1290",
"default.handlebars->25->1470", "default.handlebars->25->1470",
@ -23740,7 +23761,7 @@
"ru": "Показывать только собственные события", "ru": "Показывать только собственные события",
"zh-chs": "只顯示自己的事件", "zh-chs": "只顯示自己的事件",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->311", "default-mobile.handlebars->9->312",
"default.handlebars->25->1265" "default.handlebars->25->1265"
] ]
}, },
@ -24688,8 +24709,7 @@
"ru": "Специальные клавиши", "ru": "Специальные клавиши",
"zh-chs": "特殊鍵", "zh-chs": "特殊鍵",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->240", "default-mobile.handlebars->9->240"
"default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3"
] ]
}, },
{ {
@ -24833,7 +24853,7 @@
"ru": "Прервать процесс #{0} \\\"{1}\\\"?", "ru": "Прервать процесс #{0} \\\"{1}\\\"?",
"zh-chs": "停止進程#{0} \\“ {1} \\”?", "zh-chs": "停止進程#{0} \\“ {1} \\”?",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->243", "default-mobile.handlebars->9->244",
"default.handlebars->25->717" "default.handlebars->25->717"
] ]
}, },
@ -26439,7 +26459,7 @@
"ru": "Удаленный ввод", "ru": "Удаленный ввод",
"zh-chs": "類型", "zh-chs": "類型",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->284", "default-mobile.handlebars->9->285",
"default-mobile.handlebars->9->67", "default-mobile.handlebars->9->67",
"default.handlebars->25->1108", "default.handlebars->25->1108",
"default.handlebars->25->1139", "default.handlebars->25->1139",
@ -26692,7 +26712,7 @@
"ru": "Удаление", "ru": "Удаление",
"zh-chs": "卸載", "zh-chs": "卸載",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->331", "default-mobile.handlebars->9->332",
"default.handlebars->25->1301", "default.handlebars->25->1301",
"default.handlebars->25->579", "default.handlebars->25->579",
"default.handlebars->25->598" "default.handlebars->25->598"
@ -26712,7 +26732,7 @@
"ru": "Удаление агента", "ru": "Удаление агента",
"zh-chs": "卸載代理", "zh-chs": "卸載代理",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->313", "default-mobile.handlebars->9->314",
"default.handlebars->25->1267", "default.handlebars->25->1267",
"default.handlebars->25->383", "default.handlebars->25->383",
"default.handlebars->25->612" "default.handlebars->25->612"
@ -26783,7 +26803,7 @@
"ru": "Неизвестно #{0}", "ru": "Неизвестно #{0}",
"zh-chs": "未知#{0}", "zh-chs": "未知#{0}",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->278", "default-mobile.handlebars->9->279",
"default.handlebars->25->1133" "default.handlebars->25->1133"
] ]
}, },
@ -27016,8 +27036,8 @@
"ru": "Загрузить файл", "ru": "Загрузить файл",
"zh-chs": "上傳文件", "zh-chs": "上傳文件",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->258", "default-mobile.handlebars->9->259",
"default-mobile.handlebars->9->276", "default-mobile.handlebars->9->277",
"default-mobile.handlebars->9->95", "default-mobile.handlebars->9->95",
"default.handlebars->25->1374", "default.handlebars->25->1374",
"default.handlebars->25->1382", "default.handlebars->25->1382",
@ -27246,7 +27266,7 @@
"ru": "Пользователь", "ru": "Пользователь",
"zh-chs": "用戶", "zh-chs": "用戶",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->333", "default-mobile.handlebars->9->334",
"default.handlebars->25->1187", "default.handlebars->25->1187",
"default.handlebars->25->1410", "default.handlebars->25->1410",
"default.handlebars->25->1516", "default.handlebars->25->1516",
@ -27323,7 +27343,7 @@
"ru": "Полномочия пользователя", "ru": "Полномочия пользователя",
"zh-chs": "用戶授權", "zh-chs": "用戶授權",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->286", "default-mobile.handlebars->9->287",
"default.handlebars->25->1185", "default.handlebars->25->1185",
"default.handlebars->25->559" "default.handlebars->25->559"
] ]
@ -28133,8 +28153,8 @@
"ru": "Разбудить устройства", "ru": "Разбудить устройства",
"zh-chs": "喚醒設備", "zh-chs": "喚醒設備",
"xloc": [ "xloc": [
"default-mobile.handlebars->9->309", "default-mobile.handlebars->9->310",
"default-mobile.handlebars->9->322", "default-mobile.handlebars->9->323",
"default.handlebars->25->1263", "default.handlebars->25->1263",
"default.handlebars->25->1291" "default.handlebars->25->1291"
] ]

View File

@ -415,7 +415,6 @@
<div id=deskarea4 style="position:absolute;bottom:0px;width:100%;height:25px"> <div id=deskarea4 style="position:absolute;bottom:0px;width:100%;height:25px">
<div style=padding-top:2px;padding-bottom:2px;background:#C0C0C0> <div style=padding-top:2px;padding-bottom:2px;background:#C0C0C0>
<div style=float:right;text-align:right> <div style=float:right;text-align:right>
<select id=termdisplays style=display:none onchange=deskSetDisplay(event) onclick=deskGetDisplayNumbers(event)></select>&nbsp;
<span id=DeskToastButton><img src='images/icon-notify.png' onclick=deviceToastFunction() height=16 width=16 style=padding-top:2px /></span>&nbsp; <span id=DeskToastButton><img src='images/icon-notify.png' onclick=deviceToastFunction() height=16 width=16 style=padding-top:2px /></span>&nbsp;
<!--<input id=DeskToolsButton type=button value=Tools onkeypress="return false" onkeydown="return false" onclick="toggleDeskTools()">&nbsp;--> <!--<input id=DeskToolsButton type=button value=Tools onkeypress="return false" onkeydown="return false" onclick="toggleDeskTools()">&nbsp;-->
</div> </div>
@ -423,8 +422,9 @@
<input id="deskActionsBtn" type=button style="margin-left:3px" onkeypress="return false" onkeydown="return false" value=Actions onclick=deviceActionFunction() /> <input id="deskActionsBtn" type=button style="margin-left:3px" onkeypress="return false" onkeydown="return false" value=Actions onclick=deviceActionFunction() />
<input type="button" value="Settings" onkeypress="return false" onkeydown="return false" onclick="showDesktopSettings()"> <input type="button" value="Settings" onkeypress="return false" onkeydown="return false" onclick="showDesktopSettings()">
<input type="button" onkeypress="return false" onkeydown="return false" value="Power Actions..." onclick="showPowerActionDlg()" style="display:none"> <input type="button" onkeypress="return false" onkeydown="return false" value="Power Actions..." onclick="showPowerActionDlg()" style="display:none">
<input id="DeskSpecialKeys" type="button" value="Special Keys" onkeypress="return false" onkeydown="return false" onclick="sendSpecialKeys()"> <input type="button" id="DeskSpecialKeys" value="Keys" onkeypress="return false" onkeydown="return false" onclick="sendSpecialKeys()">
<input id="DeskSoftKeys" type="button" value="Keyboard" onkeypress="return false" onkeydown="return false" onclick="toggleSoftKeys(1)"> <input type="button" id="DeskSoftKeys" value="Keyboard" onkeypress="return false" onkeydown="return false" onclick="toggleSoftKeys(1)">
<input type="button" id="DeskScreens" value="Screens" onkeypress="return false" onkeydown="return false" onclick="deskSelectScreens()" style="display:none">
<label><span id="DeskControlSpan" style="display:none"><input id="DeskControl" type="checkbox" onkeypress="return false" onkeydown="return false">Input</span></label> <label><span id="DeskControlSpan" style="display:none"><input id="DeskControl" type="checkbox" onkeypress="return false" onkeydown="return false">Input</span></label>
</div> </div>
</div> </div>
@ -2482,7 +2482,7 @@
// Disconnect and clean up the remote desktop // Disconnect and clean up the remote desktop
desktop.Stop(); desktop.Stop();
desktopNode = desktop = null; desktopNode = desktop = null;
QV('termdisplays', false); QV('DeskScreens', false);
if (fullscreen == true) { deskToggleFull(); } if (fullscreen == true) { deskToggleFull(); }
break; break;
case 2: case 2:
@ -2711,7 +2711,6 @@
if (Q('DeskTools').nodeid != message.nodeid) return; if (Q('DeskTools').nodeid != message.nodeid) return;
var p = [], processes = null; var p = [], processes = null;
try { processes = JSON.parse(message.value); } catch (e) { } try { processes = JSON.parse(message.value); } catch (e) { }
console.log(processes);
if (processes != null) { if (processes != null) {
for (var pid in processes) { p.push({ p: parseInt(pid), c: processes[pid].cmd, d: processes[pid].cmd.toLowerCase(), u: processes[pid].user }); } for (var pid in processes) { p.push({ p: parseInt(pid), c: processes[pid].cmd, d: processes[pid].cmd.toLowerCase(), u: processes[pid].user }); }
if (deskTools.sort == 0) { p.sort(sortProcessPid); } else if (deskTools.sort == 1) { p.sort(sortProcessName); } if (deskTools.sort == 0) { p.sort(sortProcessPid); } else if (deskTools.sort == 1) { p.sort(sortProcessName); }
@ -2726,22 +2725,26 @@
setSessionActivity(); setSessionActivity();
if (xxdialogMode || desktop == null || desktop.State != 3) return; if (xxdialogMode || desktop == null || desktop.State != 3) return;
var d = new Date(), n = 'Desktop-' + currentNode.name + '-' + d.getFullYear() + '-' + ('0' + (d.getMonth() + 1)).slice(-2) + '-' + ('0' + d.getDate()).slice(-2) + '-' + ('0' + d.getHours()).slice(-2) + '-' + ('0' + d.getMinutes()).slice(-2); var d = new Date(), n = 'Desktop-' + currentNode.name + '-' + d.getFullYear() + '-' + ('0' + (d.getMonth() + 1)).slice(-2) + '-' + ('0' + d.getDate()).slice(-2) + '-' + ('0' + d.getHours()).slice(-2) + '-' + ('0' + d.getMinutes()).slice(-2);
Q('Desk')['toBlob'](function (blob) { saveAs(blob, n + '.jpg'); }); Q('Desk')['toBlob'](function (blob) { saveAs(blob, n + '.png'); });
}
function deskSelectScreens() {
if (xxdialogMode || desktop == null || desktop.State != 3) return;
var x = '', info = desktop.m.displays;
for (var i in info) { x += '<option value=' + i + ' ' + ((desktop.m.selectedDisplay == i) ? ' selected' : '') + '>' + info[i] + '</option>'; }
x = addHtmlValue4("Screen", '<select style=width:100% id=deskdisplays>' + x + '</select>');
setDialogMode(2, "Screen Selection", 3, deskSelectScreensEx, x);
}
function deskSelectScreensEx() {
if (desktop == null || desktop.State != 3) return;
desktop.m.SetDisplay(parseInt(Q('deskdisplays').value));
} }
function deskDisplayInfo(sender, info, selDisplay, selItem) { function deskDisplayInfo(sender, info, selDisplay, selItem) {
var txt = Q('termdisplays').value; var displayCount = 0;
if (info.length > 0) { var options = ''; for (var x in info) { options += '<option' + ((txt == info[x]) ? ' selected' : '') + '>' + info[x] + '</option>'; } QH('termdisplays', options); } for (var x in info) { displayCount++; }
QV('termdisplays', info.length > 0); QV('DeskScreens', displayCount > 1);
}
function deskGetDisplayNumbers(e) { desktop.m.GetDisplayNumbers(); }
function deskSetDisplay(e) {
setSessionActivity();
var display = 0, txt = Q('termdisplays').value;
if (txt == "All Displays") display = 65535; else display = parseInt(txt.substring(8));
desktop.m.SetDisplay(display);
} }
function dmousedown(e) { setSessionActivity(); if ((!xxdialogMode && desktop != null)) desktop.m.mousedown(e) } function dmousedown(e) { setSessionActivity(); if ((!xxdialogMode && desktop != null)) desktop.m.mousedown(e) }
@ -3652,6 +3655,7 @@
function getNodeFromId(id) { for (var i in nodes) { if (nodes[i]._id == id) return nodes[i]; } return null; } function getNodeFromId(id) { for (var i in nodes) { if (nodes[i]._id == id) return nodes[i]; } return null; }
function addHtmlValue(t, v) { return '<table><td style=width:120px>' + t + '<td><b>' + v + '</b></table>'; } function addHtmlValue(t, v) { return '<table><td style=width:120px>' + t + '<td><b>' + v + '</b></table>'; }
function addHtmlValue2(t, v) { return '<div><div style=display:inline-block;float:right>' + v + '</div><div style=display:inline-block>' + t + '</div></div>'; } function addHtmlValue2(t, v) { return '<div><div style=display:inline-block;float:right>' + v + '</div><div style=display:inline-block>' + t + '</div></div>'; }
function addHtmlValue4(t, v) { return '<table style=width:100%><td style=width:120px>' + t + '<td style=text-align:right><b>' + v + '</b></table>'; }
function addLink(x, f) { return '<a style=cursor:pointer;color:darkblue;text-decoration:none onclick=\'' + f + '\'>&diams; ' + x + '</a>'; } function addLink(x, f) { return '<a style=cursor:pointer;color:darkblue;text-decoration:none onclick=\'' + f + '\'>&diams; ' + x + '</a>'; }
function addLinkConditional(x, f, c) { if (c) return addLink(x, f); return x; } function addLinkConditional(x, f, c) { if (c) return addLink(x, f); return x; }
function passwordcheck(p) { var re = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()]).{8,}/; return re.test(p); } function passwordcheck(p) { var re = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()]).{8,}/; return re.test(p); }