⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.cgi

📁 嵌入式无线路由系统openwrt的web配置工具
💻 CGI
字号:
#!/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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -