first commit

This commit is contained in:
2026-04-24 15:32:21 +02:00
commit 20d40fead4
5046 changed files with 641038 additions and 0 deletions

View File

@@ -0,0 +1,125 @@
<?php
/* Smarty version 3.1.30, created on 2020-04-14 21:47:59
from "/home/www/_rejestracja/Admin/template/partial/Dictionary/Index.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_5e96136fb2f542_73433231',
'has_nocache_code' => false,
'file_dependency' =>
array (
'e4ce5e7c209295c3cbb709ef390869e3fceb72f3' =>
array (
0 => '/home/www/_rejestracja/Admin/template/partial/Dictionary/Index.tpl',
1 => 1499689695,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5e96136fb2f542_73433231 (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';
if (!is_callable('smarty_function_insertPagination')) require_once '/home/www/_rejestracja/core/plugins/Smarty/function.insertPagination.php';
?>
<div class="panelRightTop"></div>
<div class="panelRightBody">
<div class="paddedContent">
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>"Słownik"));
$_block_repeat1=true;
echo smarty_block_dropDownContainer(array('title'=>"Słownik"), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
<table width="100%" class="datagrid" cellpadding="4" cellspacing="1">
<tr>
<th>klucz</th>
<th>Wersja PL</th>
<th width="60">
&nbsp;
</th>
</tr>
<?php $_smarty_tpl->_assignInScope('x', 1);
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['arrayObjDict']->value, 'objWord', false, NULL, 'word', array (
'last' => true,
'iteration' => true,
'total' => true,
));
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['objWord']->value) {
$_smarty_tpl->tpl_vars['__smarty_foreach_word']->value['iteration']++;
$_smarty_tpl->tpl_vars['__smarty_foreach_word']->value['last'] = $_smarty_tpl->tpl_vars['__smarty_foreach_word']->value['iteration'] == $_smarty_tpl->tpl_vars['__smarty_foreach_word']->value['total'];
?>
<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 $_smarty_tpl->tpl_vars['objWord']->value->GetKeyword();?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['objWord']->value->GetReplacement();?>
</td>
<td style="text-align: center;">
<a href="<?php echo smarty_function_url(array('Dictionary'=>'Edit','id'=>$_smarty_tpl->tpl_vars['objWord']->value->GetId()),$_smarty_tpl);?>
" ><img src="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
/image/Admin/iconEdit.gif" alt="Edytuj" title="Edytuj" border="0"/></a> |
<a href="<?php echo smarty_function_url(array('Dictionary'=>'Delete','id'=>$_smarty_tpl->tpl_vars['objWord']->value->GetId()),$_smarty_tpl);?>
" ><img src="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
/image/Admin/iconDelete.gif" alt="Usuń" title="Usuń" border="0"/></a>
</td>
</tr>
<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_word']->value['last']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_word']->value['last'] : null)) {?>
<tr>
<td colspan="10" align="center" >
<div class="paging">
<?php echo smarty_function_insertPagination(array(),$_smarty_tpl);?>
</div>
</td>
</tr>
<?php }?>
<?php
}
} else {
?>
<?php if (!isset($_smarty_tpl->tpl_vars['searchString']->value) || $_smarty_tpl->tpl_vars['searchString']->value == '') {?>
<tr>
<td colspan="5" style="text-align: center;">Brak zdefiniowanych aktualności. <br/> Aby dodać aktualność kliknij link 'dodaj'.</td>
</tr>
<?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</table>
<?php $_block_repeat1=false;
echo smarty_block_dropDownContainer(array('title'=>"Słownik"), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</div><!-- /paddedContent -->
</div><!-- /panelRightBody -->
<div class="panelRightBottom"></div><?php }
}