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

📄 edit_global.cgi

📁 Unix下基于Web的管理工具
💻 CGI
字号:
#!/usr/local/bin/perl# edit_global.cgi# Edit global majordomo optionsrequire './majordomo-lib.pl';$conf = &get_config();%access = &get_module_acl();$access{'global'} || &error("You are not allowed to edit global options");&header("Global Options", "");print "<hr>\n";print "<form action=save_global.cgi>\n";print "<table border width=100%>\n";print "<tr $tb> <td><b>Global Majordomo options</b></td> </tr>\n";print "<tr $cb> <td><table>\n";$whereami = &find_value("whereami", $conf);print "<tr> <td><b>Mail server hostname (<tt>\$whereami</tt>)</b></td>\n";print "<td><input name=whereami size=30 value=\"$whereami\"></td> </tr>\n";$whoami = &find_value("whoami", $conf);print "<tr> <td><b>Majordomo master address</b></td>\n";print "<td><input name=whoami size=40 value=\"$whoami\"></td> </tr>\n";$whoami_o = &find_value("whoami_owner", $conf);print "<tr> <td><b>Majordomo owner's address</b></td>\n";print "<td><input name=whoami_owner size=40 value=\"$whoami_o\"></td> </tr>\n";$sendmail = &find_value("sendmail_command", $conf);print "<tr> <td><b>Sendmail command path</b></td>\n";print "<td><input name=sendmail_command size=40 value=\"$sendmail\">",	&file_chooser_button("sendmail_command", 0),"</td> </tr>\n";print "</table></td></tr></table>\n";print "<input type=submit value=Save></form>\n";print "<hr>\n";&footer("", "mailing lists");

⌨️ 快捷键说明

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