tpl_4ef0a6fb_form__LbpEoVfd32HRJ48pHXf4HQ.php
2.98 KB
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
<?php
function tpl_4ef0a6fb_form__LbpEoVfd32HRJ48pHXf4HQ($tpl, $ctx) {
$_thistpl = $tpl ;
$_translator = $tpl->getTranslator() ;
?>
<div style="width:500px;" id="conteiner">
<form id="edit_page" name="edit_page" class="form" method="post" enctype="multipart/form-data" act="save" action="/?p_name=admin_control_pages">
<input type="hidden" name="f_id" value="<?php echo phptal_escape($ctx->path($ctx->page, 'f_id')) ?>"/>
<?php
if (NULL !== ($_tmp_1 = ($ctx->lang))): ;
$_tmp_1 = ' value="'.phptal_escape($_tmp_1).'"' ;
else: ;
$_tmp_1 = '' ;
endif ;
?>
<input type="hidden" name="form[lang]"<?php echo $_tmp_1 ?>/>
<?php
if (NULL !== ($_tmp_1 = ($ctx->link_id))): ;
$_tmp_1 = ' value="'.phptal_escape($_tmp_1).'"' ;
else: ;
$_tmp_1 = '' ;
endif ;
?>
<input type="hidden" name="form[link_id]"<?php echo $_tmp_1 ?>/>
<input type="hidden" name="act" value="save"/>
<table align="center">
<tr>
<td colspan="2" id="error_page" style="text-align:center;color:red;"></td>
</tr>
<?php if (!($ctx->lang_edit)): ; ?>
<tr>
<td width="30%" class="info">Название</td>
<td valign="top"><input type="text" name="form[f_name]" value="<?php echo phptal_escape($ctx->path($ctx->page, 'f_name')) ?>"/></td>
</tr><?php endif; ?>
<tr>
<td class="info">Шаблон для вывода</td>
<td valign="top">
<select style="width:200px;" name="form[t_id]"><?php echo phptal_tostring($ctx->path($ctx->page, 'tmpl_list')); ?>
</select>
</td>
</tr>
<tr>
<td class="info">Права доступа</td>
<td valign="top">
<select Multiple="true" size="3" name="groups[]"><?php echo phptal_tostring($ctx->path($ctx->page, 'group_list')); ?>
</select>
</td>
</tr>
<tr>
<td class="info">Свободный доступ</td>
<td valign="top">
<?php
if (($ctx->noThrow(true)||1?(!phptal_isempty($_tmp5=$ctx->path($ctx->page, 'f_access', true)) && ($ctx->noThrow(false)||1)?$_tmp5:($ctx->noThrow(false)||1?($ctx->NULL):"")):"")): ;
$_tmp_1 = ' checked="checked"' ;
else: ;
$_tmp_1 = '' ;
endif ;
?>
<input type="checkbox" name="form[f_access]"<?php echo $_tmp_1 ?>/>
</td>
</tr>
<tr>
<td class="info">Включить</td>
<td valign="top">
<?php
if (($ctx->noThrow(true)||1?(!phptal_isempty($_tmp5=$ctx->path($ctx->page, 'f_active', true)) && ($ctx->noThrow(false)||1)?$_tmp5:($ctx->noThrow(false)||1?($ctx->NULL):"")):"")): ;
$_tmp_1 = ' checked="checked"' ;
else: ;
$_tmp_1 = '' ;
endif ;
?>
<input type="checkbox" name="form[f_active]"<?php echo $_tmp_1 ?>/>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:right">
<input type="submit" 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_pages/form.html (edit that file instead) */; ?>