<?
	/**
	 * Allows user to open a file.
	 *
	 * @author	$Author: suraj $
	 * @version	$Revision: 1.5 $, $Date: 2003/02/11 03:53:38 $
	 */

	require_once("assets/includes/config.inc.php");
	
	// start displaying page
	$page_title = $appVars['name'] . " - Open File";
	include("assets/includes/page-header.inc.php");
?>
<script language="javascript" type="text/javascript" src="assets/libraries/open.lib.js"></script>
<h1>Open File</h1>
<form id="form_OpenFile" name="form_OpenFile" method="post" action="editor.php" onsubmit="return openFile();">
	<table class="dialog" border="0" cellspacing="0" cellpadding="10">
	<tr>
		<td>Enter the path of the file that you wish to open:<br>
		<input class="pathInput" type="text" name="path" value="<?= $cfgVars['BROWSER_ROOT_PATH'] ?>"></td>
	</tr>
	<tr>
		<td align="right">
			<input type="submit" name="open" value="Open File">
			<input type="button" name="cancel" value="Cancel" onclick="history.back()">
		</td>
	</tr>
	</table>
</form>
<?
	include("assets/includes/page-footer.inc.php");
?>
