126 lines
4.5 KiB
PHP
126 lines
4.5 KiB
PHP
<?php
|
|
/* Smarty version 3.1.30, created on 2020-02-12 09:20:39
|
|
from "D:\makl\wamp\www\conference\dev\src\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_5e43c367f10b27_39303490',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'44bb3ef49e73d7a00c7bfefd83dbf8d51494ea76' =>
|
|
array (
|
|
0 => 'D:\\makl\\wamp\\www\\conference\\dev\\src\\Admin\\template\\partial\\Dictionary\\Index.tpl',
|
|
1 => 1499689695,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_5e43c367f10b27_39303490 (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';
|
|
if (!is_callable('smarty_function_insertPagination')) require_once 'D:\\makl\\wamp\\www\\conference\\dev\\src\\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">
|
|
|
|
|
|
</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 }
|
|
}
|