Blame view

mobile/source/modules/menu/tmpl/control_menu/edit_item.html 1.99 KB
a1684257   Administrator   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
  <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>