edit_item.html 1.99 KB
<div style="width:600px;height:320px;overflow:auto" id="conteiner">
		<pre onclick="this.style.display='none'" class="form_error" id="message" ></pre>
		<form id="form_page" class="form" method="post" enctype="multipart/form-data"  act="save_item">
		<input type="hidden" name="act" value="save_item" />
		<input type="hidden" name="id" tal:attributes="value row/c_id|" />
		<input type="hidden" name="form[link_id]" tal:attributes="value link_id|" />
	  <input type="hidden" name="form[lang]" tal:attributes="value lang|" />
	

		<table align="center">
		
			
  
			
		  <tal:block tal:condition="not:lang_edit">
		    <tr tal:condition="MAIN_MULTILANG" >
				  <td class="info">Язык</td>
				  <td valign="top">
					  <select  name="form[lang]"  tal:content="structure row/lang_list|"/>
				  </td>
			  </tr>
			</tal:block>
			
			<tr>
				<td class="info">* Заголовок</td>
				<td valign="top">
					<input type="text" style="width:400px" name="form[c_name]" tal:attributes="value row/c_name|"/>
				</td>
			</tr>
			
	
		    <tr tal:condition="not:lang_edit">
				  <td class="info">Родитель</td>
				  <td valign="top">
					  <select  name="form[c_parent]" tal:content="structure row/menu_select|"/>
				  </td>
			  </tr>
			  <tal:block tal:condition="lang_edit">
			    <input type="hidden" name="form[c_parent]" tal:attributes="value menu_id|" />
			  </tal:block>
			
			<tr>
				<td class="info">Ссылка</td>
				<td valign="top">
					<input type="text" style="width:400px" name="form[url]" tal:attributes="value row/url|"/>
				</td>
			</tr>
			
      <tr>
				<td class="info">Область видимости</td>
				<td valign="top">
					<input type="text" style="width:400px" name="form[area]" tal:attributes="value row/area|"/>
				</td>
			</tr>
			
			<tr>
				<td colspan="2" style="text-align:right">
					<input type="submit" id="save_b"  value="${SAVE}" />
					<input type="button" onclick="wnd.close()" value="${CLOSE}" />
				</td>
				
			</tr>
		</table>

		</form>
</div>