Current File : //var/wcp4/million/public_html/file/private/templates.old/common/editor_text.html
<html>
<head><title>Insert Text Field</title>
<style>
    <%include editor_dialog.css%>
</style>
</head>
<script>

returnValue = '';
function done() {	
	var html = '<input type=';
	html += (document.all.password[0].checked == true) ? '"password"' : '"text"';
	if (document.all.name.value)  
		html += ' name="'  + (document.all.name.value)  + '"';
	if (document.all.value.value) 
		html += ' value="' + (document.all.value.value) + '"';
	if (document.all.size.value)  
		html += ' size="'  + (document.all.size.value)  + '"';
	if (document.all.tab.value)   
		html += ' tabindex="' + (document.all.tab.value) + '"';
	html += '>';
	returnValue = html;
	window.close();
}

</script>
<body>
<table border=0 cellpadding=3 align=center>
	<tr>
		<td>Name:</td><td><input size="30" id=name></input></td>
	</tr>
	<tr>
		<td>Initial Value:</td><td><input size="30" id=value></input></td>
	</tr>
	<tr>
</table>

<table border=0 cellpadding=3 align=center>
	<tr>
		<td>Width in characters:</td>
		<td><input id=size size=3></input></td>
		<td>Tab Order:</td>
		<td><input id=tab size=3></input></td>
	</tr>
	<tr>
		<td>Password field:</td>
		<td><input id=password name=password type=radio value=yes></input>Yes</td>
		<td><input id=password name=password type=radio value=no checked></input>No</td>
		<td>&nbsp;</td>
	</tr>
</table>
<hr>
<div align=right>
	<button class=button onclick="done();">OK</button> &nbsp;
	<button class=button onclick="window.close();">Cancel</button>
</div>
</body>
</html>