<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="result">
	<script type="text/javascript" src="{@SYS.JSP}/common/jquery/jquery-ui.js?v={@SYS.BUILD_ID}" ><!-- --></script>
	<script type="text/javascript" src="edit.js?v={@SYS.BUILD_ID}" ><!-- --></script>
</og:head>
<jsp:directive.include file="no_info.jsp" />

<og:equals val1="{@refresh}" val2="1">
	<og:requestCache cacheKey="{@USER.BASE_GAMENID}" action="DELETE" keys="editName" vals="null" />
	<og:equals val1="{@USER.EDIT_NAME}" nullCheck="true" notEquals="true">
		<og:requestCache cacheKey="{@USER.BASE_GAMENID}" action="SET" keys="editName" vals="{@USER.EDIT_NAME}" />
	</og:equals>

	<og:text>
	<script type="text/javascript">
		var backAddress = "{@SYS.JSP}/{@GUI.ADDRESS @USER.BASE_GAMENID}/index.jsp";
		refreshEdit( "{@USER.BASE_GAMENID}", "{@USER.EDIT_NAME}", backAddress );
		if( "{@close}" == "true" ) {
			top.window.close();
		}
	</script>
	</og:text>
</og:equals>

<form onSubmit="makeViewClms(); return oneClick();" method="POST" action="forward.jsp">
<!--
	<og:equals val1="{@USER.EDIT_NAME}" nullCheck="true">
		<og:value command="SET" key="regEditName" value="{@LBL.EDIT_DEFAULT_NAME}" />
	</og:equals>
	<og:equals val1="{@USER.EDIT_NAME}" nullCheck="true" notEquals="true">
		<og:value command="SET" key="regEditName" value="{@USER.EDIT_NAME}" />
	</og:equals>
-->
	<og:column name="regEditName" td="no" must="true" value="{@USER.EDIT_NAME}" useRequestValue="false" size="15" />

	<og:submit value="saveEdit" command="SET" lbl="SAVE" accesskey="S" disabled="{@readonly}"/>
	<og:submit value="saveEdit" command="DELETE" lbl="DELETE" accesskey="Z" disabled="{@readonly}" />

	[
	<og:column name="refresh" editor="chbox" defaultVal="1" td="no" optionAttributes="checked='checked'" />
	]

	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;

	(
	<og:editConfig command="LIST" gamenId="{@USER.BASE_GAMENID}" editName="{@USER.EDIT_NAME}" />
	<og:submit value="loadEdit" command="LOAD" lbl="LOAD" accesskey="L" disabled="{@readonly}" />
	)

	<og:equals val1="{@fullEdit}" val2="true">
		<og:editConfig command="GET" gamenId="{@USER.BASE_GAMENID}" editName="{@USER.EDIT_NAME}" />
	</og:equals>
	
	<og:equals val1="{@fullEdit}" val2="true" notEquals="true">
		<og:editConfig command="GET" gamenId="{@USER.BASE_GAMENID}" editName="{@USER.EDIT_NAME}" orderOnly="true"/>
	</og:equals>

	<!-- 5.9.22.0 (2017/07/07) -->
	<og:hidden name="fullEdit" value="{@fullEdit}" />
</form>

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
