89 lines
3.3 KiB
PHP
89 lines
3.3 KiB
PHP
<?php
|
|
/* Smarty version 3.1.30, created on 2020-02-12 09:20:38
|
|
from "D:\makl\wamp\www\conference\dev\src\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_5e43c3664bfb31_43967119',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'838088071b4c75e5633889acd405a79d82c6a1f1' =>
|
|
array (
|
|
0 => 'D:\\makl\\wamp\\www\\conference\\dev\\src\\Admin\\template\\partial\\Setup\\Index.tpl',
|
|
1 => 1317290277,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_5e43c3664bfb31_43967119 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if (!is_callable('smarty_block_dropDownContainer')) require_once 'D:\\makl\\wamp\\www\\conference\\dev\\src\\core\\plugins\\Smarty\\block.dropDownContainer.php';
|
|
if (!is_callable('smarty_function_url')) require_once 'D:\\makl\\wamp\\www\\conference\\dev\\src\\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 }
|
|
}
|