Files
zurawik.pl/Admin/temp/compile/94a5f0536ca59df4218e97be7b541252d6b95086_0.file.Edit.tpl.php
2026-05-15 18:33:51 +02:00

99 lines
3.7 KiB
PHP

<?php
/* Smarty version 3.1.30, created on 2024-02-05 10:59:24
from "/home/zurawikn/public_html/zurawik_aem/Admin/template/partial/Dictionary/Edit.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_65c0bf8c29c618_51293092',
'has_nocache_code' => false,
'file_dependency' =>
array (
'94a5f0536ca59df4218e97be7b541252d6b95086' =>
array (
0 => '/home/zurawikn/public_html/zurawik_aem/Admin/template/partial/Dictionary/Edit.tpl',
1 => 1704798259,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_65c0bf8c29c618_51293092 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_function_url')) require_once '/home/zurawikn/public_html/zurawik_aem/core/plugins/Smarty/function.url.php';
if (!is_callable('smarty_block_dropDownContainer')) require_once '/home/zurawikn/public_html/zurawik_aem/core/plugins/Smarty/block.dropDownContainer.php';
?>
<form method="post" action="<?php echo smarty_function_url(array('Dictionary'=>'Edit','id'=>$_smarty_tpl->tpl_vars['objDict']->value->GetId()),$_smarty_tpl);?>
" id="sendForm" enctype="multipart/form-data">
<?php $_smarty_tpl->_assignInScope('additionalTitle', '');
?>
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>"Ogólne",'additionalTitle'=>$_smarty_tpl->tpl_vars['additionalTitle']->value));
$_block_repeat1=true;
echo smarty_block_dropDownContainer(array('title'=>"Ogólne",'additionalTitle'=>$_smarty_tpl->tpl_vars['additionalTitle']->value), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="frameTableForm tableContetntWhite">
<tbody>
<tr>
<td>Klucz</td>
<td>
<?php echo $_smarty_tpl->tpl_vars['objDict']->value->GetKeyword();?>
<input name="keyword" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['objDict']->value->GetKeyword();?>
" />
</td>
</tr>
<tr>
<td>Wersja PL</td>
<td>
<textarea class="input420" name="replacement[pl]"><?php echo $_smarty_tpl->tpl_vars['objDict']->value->GetReplacement();?>
</textarea>
</td>
</tr>
<tr>
<td>Wersja EN</td>
<td>
<textarea class="input420" name="replacement[en]"><?php echo $_smarty_tpl->tpl_vars['objDict']->value->GetReplacementEn();?>
</textarea>
</td>
</tr>
<tr style="display: none;">
<td>Wersja RU</td>
<td>
<textarea class="input420" name="replacement[ru]"><?php echo $_smarty_tpl->tpl_vars['objDict']->value->GetReplacementRu();?>
</textarea>
</td>
</tr>
<tr style="display: none;">
<td>Wersja DE</td>
<td>
<textarea class="input420" name="replacement[de]"><?php echo $_smarty_tpl->tpl_vars['objDict']->value->GetReplacementDe();?>
</textarea>
</td>
</tr>
</tbody>
</table>
<?php $_block_repeat1=false;
echo smarty_block_dropDownContainer(array('title'=>"Ogólne",'additionalTitle'=>$_smarty_tpl->tpl_vars['additionalTitle']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
<div class="clearBoth"></div>
<div class="panelButtons">
<input type="button" class="cancel" value="Anuluj" name="" onclick="document.location.href='<?php echo smarty_function_url(array('Dictionary'=>'Index'),$_smarty_tpl);?>
';"/>
<input type="submit" value="Zapisz" name="doDictEdit"/>
</div>
</form>
<?php }
}