📄 main.cgi
字号:
#!/usr/bin/haserl# Copyright (C) 2008 OpenRB.comcontent-type: text/html(function(){ var moduleId = 'hostname'; var elems = FlashSYS.getCache( moduleId ); if (!elems) { var window = FlashSYS.newWindow({ id: moduleId, title: $TR( moduleId ), width: 280, height: 80, padding: 5, canReload: false, type: 'modal' }); var form = new FlashSYS.Form(window.contentEl, { 'module': moduleId, 'elements': [ { 'type': 'text', 'name': 'hostname', 'validate': { 'required': true, 'word': true, 'length': [4,20] } } ], 'submitEl': window.footerEl }); elems = FlashSYS.setCache( moduleId, { 'window': window, 'form': form }); } var formOptions = <? /lib/flashsys/modules/hostname/main.lua ?>; elems.form.loadValues(formOptions.values, formOptions.params);})();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -