89 lines
3.2 KiB
PHP
89 lines
3.2 KiB
PHP
<?php
|
|
/* Smarty version 3.1.30, created on 2024-07-22 16:56:16
|
|
from "/home/www/_rejestracja/Admin/template/partial/Setup/Index.tpl" */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.30',
|
|
'unifunc' => 'content_669e7310e860c4_17523517',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'62aee1ac748741dbc1c05c42549df1a244f03506' =>
|
|
array (
|
|
0 => '/home/www/_rejestracja/Admin/template/partial/Setup/Index.tpl',
|
|
1 => 1317290277,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_669e7310e860c4_17523517 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if (!is_callable('smarty_block_dropDownContainer')) require_once '/home/www/_rejestracja/core/plugins/Smarty/block.dropDownContainer.php';
|
|
if (!is_callable('smarty_function_url')) require_once '/home/www/_rejestracja/core/plugins/Smarty/function.url.php';
|
|
?>
|
|
<div class="panelRightTop"></div>
|
|
<div class="panelRightBody">
|
|
<div class="paddedContent">
|
|
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>"Zmienne systemowe"));
|
|
$_block_repeat1=true;
|
|
echo smarty_block_dropDownContainer(array('title'=>"Zmienne systemowe"), null, $_smarty_tpl, $_block_repeat1);
|
|
while ($_block_repeat1) {
|
|
ob_start();
|
|
?>
|
|
|
|
<table align="center" class="datagrid" cellpadding="4" cellspacing="1" style="width: 500px;">
|
|
<th>Lp.</th>
|
|
<th>zmienna</th>
|
|
<th>wartość</th>
|
|
<th>opis</th>
|
|
<th class="light"><a href="<?php echo smarty_function_url(array('setup'=>'new'),$_smarty_tpl);?>
|
|
">dodaj</a></th>
|
|
|
|
|
|
<?php $_smarty_tpl->_assignInScope('x', 1);
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['arrayVariables']->value, 'ArrayItem', false, 'k', 'array', array (
|
|
'index' => true,
|
|
));
|
|
if ($_from !== null) {
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['ArrayItem']->value) {
|
|
$_smarty_tpl->tpl_vars['__smarty_foreach_array']->value['index']++;
|
|
$_smarty_tpl->_assignInScope('tVariable', $_smarty_tpl->tpl_vars['ArrayItem']->value['variable']);
|
|
?>
|
|
<tr <?php if ($_smarty_tpl->tpl_vars['x']->value == 1) {
|
|
$_smarty_tpl->_assignInScope('x', 0);
|
|
} else {
|
|
$_smarty_tpl->_assignInScope('x', 1);
|
|
?>class="even"<?php }?>>
|
|
<td><?php echo (isset($_smarty_tpl->tpl_vars['__smarty_foreach_array']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_array']->value['index'] : null)+1;?>
|
|
</td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['ArrayItem']->value['variable'];?>
|
|
</td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['ArrayItem']->value['value'];?>
|
|
</td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['ArrayItem']->value['description'];?>
|
|
</td>
|
|
<td><a href="<?php echo smarty_function_url(array('setup'=>'edit','variable'=>$_smarty_tpl->tpl_vars['tVariable']->value),$_smarty_tpl);?>
|
|
">edytuj</a></td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
|
|
?>
|
|
|
|
|
|
|
|
</table>
|
|
<?php $_block_repeat1=false;
|
|
echo smarty_block_dropDownContainer(array('title'=>"Zmienne systemowe"), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
|
|
}
|
|
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
|
|
|
</div><!-- /paddedContent -->
|
|
</div><!-- /panelRightBody -->
|
|
<div class="panelRightBottom"></div><?php }
|
|
}
|