Blame view

mobile/tmp/tmpl/tpl_4ef0a6fb_form__TwoWptZU7sccARBvQNOjzg.php 2.79 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
  <?php 
  function tpl_4ef0a6fb_form__TwoWptZU7sccARBvQNOjzg($tpl, $ctx) {
  $_thistpl = $tpl ;
  $_translator = $tpl->getTranslator() ;
  ?>
  <div style="width:710px;height:600px" id="conteiner">
  		<form id="form_page" class="form" method="post" enctype="multipart/form-data" onsubmit="return false">
  		<?php 
  $ctx->noThrow(true) ;
  if (!phptal_isempty($_tmp_1 = ($ctx->path($ctx->row, 't_id', true)))):  ;
  $_tmp_1 = ' value="'.phptal_escape($_tmp_1).'"' ;
  else:  ;
  $_tmp_1 = '' ;
  endif ;
  $ctx->noThrow(false) ;
  ?>
  <input type="hidden" name="id"<?php echo $_tmp_1 ?>/>
  		<table align="center">
  
  			
  
  			<tr>
  				<td width="30%" class="info">Название</td>
  				<td valign="top"><?php 
  $ctx->noThrow(true) ;
  if (!phptal_isempty($_tmp_1 = ($ctx->path($ctx->row, 't_name', true)))):  ;
  $_tmp_1 = ' value="'.phptal_escape($_tmp_1).'"' ;
  else:  ;
  $_tmp_1 = '' ;
  endif ;
  $ctx->noThrow(false) ;
  ?>
  <input type="text" name="t_name"<?php echo $_tmp_1 ?>/></td>
  			</tr>
  			<tr>
  				<td class="info">Описание</td>
  				<td valign="top"><textarea name="t_desc"><?php 
  $ctx->noThrow(true) ;
  if (!phptal_isempty($_tmp_1 = $ctx->path($ctx->row, 't_desc', true))):  ;
  ?>
  <?php 
  echo phptal_escape($_tmp_1) ;
  endif ;
  $ctx->noThrow(false) ;
  ?>
  </textarea></td>
  			</tr>
  			<tr>
  				<td class="info">Шаблон для вывода</td>
  				<td valign="top">
  					<select name="t_url"><?php 
  $ctx->noThrow(true) ;
  if (!phptal_isempty($_tmp_1 = $ctx->path($ctx->row, 'tmpl_ul', true))):  ;
  echo phptal_tostring($_tmp_1) ;
  endif ;
  $ctx->noThrow(false) ;
  ?>
  </select>
  				</td>
  			</tr>
  			<tr>
  				<td class="info">Переменная для вывода контента</td>
  				<td valign="top"><?php 
  $ctx->noThrow(true) ;
  if (!phptal_isempty($_tmp_1 = ($ctx->path($ctx->row, 't_page_content_var', true)))):  ;
  $_tmp_1 = ' value="'.phptal_escape($_tmp_1).'"' ;
  else:  ;
  $_tmp_1 = '' ;
  endif ;
  $ctx->noThrow(false) ;
  ?>
  <input type="text" name="t_page_content_var"<?php echo $_tmp_1 ?>/></td>
  			</tr>
  
  
  			<tr>
  				<td class="info">Контент (Если не выбран шаблон)</td>
  				<td valign="top"><textarea style="width:600px;height:350px;" name="t_content" id="t_content"><?php 
  $ctx->noThrow(true) ;
  if (!phptal_isempty($_tmp_1 = $ctx->path($ctx->row, 't_content', true))):  ;
  ?>
  <?php 
  echo phptal_escape($_tmp_1) ;
  endif ;
  $ctx->noThrow(false) ;
  ?>
  </textarea></td>
  			</tr>
  			
  			<tr>
  				<td colspan="2" style="text-align:right">
  					<input type="button" onclick="table.save_page()" value="Сохранить"/>
  					<input type="button" onclick="wnd.close()" value="Закрыть"/>
  				</td>
  				
  			</tr>
  		</table>
  
  		</form>
  </div><?php 
  /* end */ ;
  
  }
  
  ?><?php /* 
  *** DO NOT EDIT THIS FILE ***
  
  Generated by PHPTAL from /home/shasha/www/pr25_autocatalog/source/modules/admin/tmpl/control_tmpl/form.html (edit that file instead) */; ?>