main.cgi.svn-base

来自「嵌入式无线路由系统openwrt的web配置工具」· SVN-BASE 代码 · 共 41 行

SVN-BASE
41
字号
#!/usr/bin/haserl# Copyright (C) 2008 OpenRB.comcontent-type: text/html(function(){  var moduleId = 'ssmtp';  var elems = FlashSYS.getCache( moduleId );    if (!elems) {    var window = FlashSYS.newWindow({      id: moduleId,      title: $TR( moduleId ),      width: 320,      height: 230,      padding: 5,      canReload: false,      type: 'modal'    });        var form = new FlashSYS.Form(window.contentEl, {      module: moduleId,      trPrefix: 'ssmtp_',      elements: [        { type: 'text', name: 'root' },        { type: 'text', name: 'Mailhub' },        { type: 'text', name: 'AuthUser' },        { type: 'text', name: 'AuthPass' },        { type: 'text', name: 'Hostname' },        { type: 'checkbox', name: 'UseTLS', value: 'yes' },        { type: 'checkbox', name: 'UseSTARTTLS', value: 'yes' },      ],      submitEl: window.footerEl    });    elems = FlashSYS.setCache( moduleId, { window: window, form: form });  }  var formOptions = <? /lib/flashsys/modules/ssmtp/main.lua ?>;  elems.form.loadValues(formOptions.values, formOptions.params);})();

⌨️ 快捷键说明

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