"") { if($_POST['highlight'] == "yes" or $_POST['highlight'] == "enabled") { $highlight = "yes"; } else { $highlight = "no"; } } else { $highlight = "no"; } if($_POST['rows'] <> "") $rows = $_POST['rows']; else $rows = 30; if($_POST['cols'] <> "") $cols = $_POST['cols']; else $cols = 66; ?> ) (modified for pfSense Edit/Save file by Scott Ullrich, Copyright 2004, 2005) */ // Function: is Blank // Returns true or false depending on blankness of argument. function isBlank( $arg ) { return ereg( "^\s*$", $arg ); } // Function: Puts // Put string, Ruby-style. function puts( $arg ) { echo "$arg\n"; } // "Constants". $Version = ''; $ScriptName = $HTTP_SERVER_VARS['SCRIPT_NAME']; // Get year. $arrDT = localtime(); $intYear = $arrDT[5] + 1900; $pgtitle = "Diagnostics: Edit File"; include("head.inc"); ?>

   {$loadmsg}

"; ?>
Save/Load from path:
Rows: Cols: | Highlighting: >Enabled >Disabled

 
 

 

\n"; echo "dp.SyntaxHighlighter.HighlightAll('code', true, true);\n"; echo "\n"; } ?>