This commit is contained in:
2026-05-15 18:33:51 +02:00
parent 3601be572f
commit c980004309
8442 changed files with 783630 additions and 1 deletions

View File

@@ -0,0 +1,150 @@
<?php
/* Smarty version 3.1.30, created on 2024-02-05 10:58:54
from "/home/zurawikn/public_html/zurawik_aem/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_65c0bf6e2f1c24_11736637',
'has_nocache_code' => false,
'file_dependency' =>
array (
'66cd4ecbbab3b67057dff5b901754817e68867b7' =>
array (
0 => '/home/zurawikn/public_html/zurawik_aem/Admin/template/partial/Dictionary/Index.tpl',
1 => 1704798240,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_65c0bf6e2f1c24_11736637 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_block_dropDownContainer')) require_once '/home/zurawikn/public_html/zurawik_aem/core/plugins/Smarty/block.dropDownContainer.php';
if (!is_callable('smarty_function_url')) require_once '/home/zurawikn/public_html/zurawik_aem/core/plugins/Smarty/function.url.php';
if (!is_callable('smarty_function_insertPagination')) require_once '/home/zurawikn/public_html/zurawik_aem/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('isClose'=>false,'isHidden'=>false,'title'=>"Wyszukiwarka"));
$_block_repeat1=true;
echo smarty_block_dropDownContainer(array('isClose'=>false,'isHidden'=>false,'title'=>"Wyszukiwarka"), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
<form method="post" action="">
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="frameTableForm tableContetntWhite">
<tbody>
<tr>
<td>Szukana Fraza:</td>
<td class="left"><input name="search" id="search" onkeyup="GetTableContent('<?php echo smarty_function_url(array('Dictionary'=>'AjaxIndex'),$_smarty_tpl);?>
', '#dictionaryTableContent', $('#search').val(), '#roleList');" /></td>
</tr>
</tbody>
</table>
</form>
<?php $_block_repeat1=false;
echo smarty_block_dropDownContainer(array('isClose'=>false,'isHidden'=>false,'title'=>"Wyszukiwarka"), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>"Słownik",'id'=>"dictionaryTableContent"));
$_block_repeat1=true;
echo smarty_block_dropDownContainer(array('title'=>"Słownik",'id'=>"dictionaryTableContent"), 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>Wersja EN</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><?php echo $_smarty_tpl->tpl_vars['objWord']->value->GetReplacementEn();?>
</td>
<td style="text-align: center;">
<a class="editItemTable" href="<?php echo smarty_function_url(array('Dictionary'=>'Edit','id'=>$_smarty_tpl->tpl_vars['objWord']->value->GetId()),$_smarty_tpl);?>
" title="Edytuj" >Edytuj</a>
<a class="deleteItemTable" href="<?php echo smarty_function_url(array('Dictionary'=>'Delete','id'=>$_smarty_tpl->tpl_vars['objWord']->value->GetId()),$_smarty_tpl);?>
" title="Usuń" >Usuń</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 elementów</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",'id'=>"dictionaryTableContent"), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</div><!-- /paddedContent -->
</div><!-- /panelRightBody -->
<div class="panelRightBottom"></div><?php }
}