2 # Run the included monshow program
4 require './mon-lib.pl';
5 &ui_print_header(undef, $text{'show_title'}, "");
7 if (!-x $config{'monshow'}) {
8 print "<p>",&text('show_ecgi', "<tt>$config{'monshow'}</tt>",
9 "../config.cgi?$module_name"),"<p>\n";
10 &ui_print_footer("", $text{'index_return'});
14 &open_execute_command(CGI, "$config{'monshow'} 2>&1", 1, 1);
20 $body =~ s/^[\000-\177]*<body[^>]*>//i;
21 $body =~ s/<\/body>[\000-\177]*$//i;
24 &ui_print_footer("", $text{'index_return'});