kannel.js

来自「The Kannel Open Source WAP and SMS gatew」· JavaScript 代码 · 共 31 行

JS
31
字号
function admin_url(command, url, passwd) {    if (passwd == "") {        passwd = prompt("Please enter admin password for this Kannel instance:", "(enter admin password here)");    }    check = confirm("Are you sure you want to '"+command+"' bearerbox from this Kannel instance?");    if (check == true) {        admin_window = window.open("","newWin","width=350,height=150,left=0,top=0");        admin_window.location.href = url + "?password=" + passwd;    }    location.reload();    self.focus();}function admin_smsc_url(command, url, smsc, passwd) {     if (passwd == "") {        passwd = prompt("Please enter admin password for this Kannel instance:", "(enter admin password here)");    }    check = confirm("Are you sure you want to '"+command+"' the smsc-id '"+smsc+"' on the Kannel instance?");    if (check == true) {        admin_window = window.open("","newWin","width=350,height=150,left=0,top=0");        admin_window.location.href = url + "&password=" + passwd;    }    location.reload();    self.focus();}function do_alert(text) {    alert(text);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?