Blame view

mobile/source/modules/admin/tmpl/control_mail/form.html 1.85 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
  <div style="width:700px;" 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" onsubmit="return false">
  		<input type="hidden" name="id" tal:attributes="value row/m_id|" />
  		<table align="center">
  			
  			
        <tr>
  				<td width="30%" class="info" >Ключ *</td>
  				<td valign="top"><input type="text" name="m_key" tal:attributes="value row/m_key |"/></td>
  			</tr>
  			<tr>
  				<td width="30%" class="info" >Название *</td>
  				<td valign="top"><input type="text" name="m_name" tal:attributes="value row/m_name |"/></td>
  			</tr>
  			<tr>
  				<td width="30%" class="info" >Тема письма *</td>
  				<td valign="top"><input type="text" name="m_subject" tal:attributes="value row/m_subject |" /></td>
  			</tr>
  			<tr>
  				<td width="30%" class="info" >Отправитель *</td>
  				<td valign="top">
  				<input type="text" name="m_from_name" style="width:150px" 
  				  tal:attributes="value row/m_from_name |" /> &nbsp;
  				<input type="text" name="m_from_email" style="width:150px" 
  				  tal:attributes="value row/m_from_email |"/>
  				</td>
  			</tr>
  			<tr>
  				<td class="info">Тип содержимого</td>
  				<td valign="top">
  					<select  name="m_content_type" tal:content="structure row/type_list" />
  				</td>
  			</tr>
  			<tr>
  				<td width="30%" class="info" >Шаблон письма</td>
  				<td valign="top">
  				  <textarea type="text" style="width:500px;height:200px" name="m_body" tal:content="row/m_body | " ></textarea>
  				</td>
  			</tr>
  			
  			
  			<tr>
  				<td colspan="2" style="text-align:right">
  					<input type="button" onclick="table.save_page()" id="save_b" value="Сохранить" />
  					<input type="button" onclick="wnd.close()" value="Закрыть" />
  				</td>
  				
  			</tr>
  		</table>
  
  		</form>
  </div>