Welcome to mirror list, hosted at ThFree Co, Russian Federation.

%%61^614^614EB811%%genericForm.tpl.php « templates_c « tmp - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9ae4fecc4e2e65a5b5e86959cf574a9d028d1c53 (plain)
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
<?php /* Smarty version 2.6.18, created on 2007-08-31 19:21:11
         compiled from genericForm.tpl */ ?>

<?php if ($this->_tpl_vars['form_data']['errors']): ?>
	<div id="adminErrors">
	<strong>Errors</strong>
	<ul>
	<?php $_from = $this->_tpl_vars['form_data']['errors']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['data']):
?>
	<li><?php echo $this->_tpl_vars['data']; ?>
</li>
	<?php endforeach; endif; unset($_from); ?>
	</ul>	
	</div>
<?php endif; ?>


<form <?php echo $this->_tpl_vars['form_data']['attributes']; ?>
>
<!-- Output hidden fields -->

<!-- Display the fields -->
<?php $_from = $this->_tpl_vars['element_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['title'] => $this->_tpl_vars['data']):
?>
	<h3><?php echo $this->_tpl_vars['title']; ?>
</h3>
	<div class="centrer">
	<table class="centrer">
	<?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['fieldname']):
?>
				<?php if ($this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['label']): ?>
		<tr>
			<td><?php echo $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['label']; ?>
</td>
			<td><?php echo $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['html']; ?>
</td>
		</tr>
		<?php elseif ($this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['type'] == 'hidden'): ?>
			<tr><td colspan=2><?php echo $this->_tpl_vars['form_data'][$this->_tpl_vars['fieldname']]['html']; ?>
</td></tr>
				<?php endif; ?>
	<?php endforeach; endif; unset($_from); ?>
	</table>
	</div>
<?php endforeach; endif; unset($_from); ?>
<div class="boutonsAction">

<?php echo $this->_tpl_vars['form_data']['submit']['html']; ?>

</div>
</form>