Files
zurawik.pl/Admin/temp/compile/1711060abd204ad673391c240795a745^bdee6c40b6908298655f8abd798c897b87286cc6_0.file.EditStructure.tpl.php
2026-05-15 18:33:51 +02:00

104 lines
4.0 KiB
PHP

<?php
/* Smarty version 3.1.30, created on 2023-06-28 18:10:31
from "/home/www/polonia/Admin/template/partial/SimpleArticle/Index/EditStructure.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_649c5b77e18888_39320696',
'has_nocache_code' => false,
'file_dependency' =>
array (
'bdee6c40b6908298655f8abd798c897b87286cc6' =>
array (
0 => '/home/www/polonia/Admin/template/partial/SimpleArticle/Index/EditStructure.tpl',
1 => 1661849425,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_649c5b77e18888_39320696 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_block_dropDownContainer')) require_once '/home/www/polonia/core/plugins/Smarty/block.dropDownContainer.php';
if (!is_callable('smarty_function_insertCkEditor')) require_once '/home/www/polonia/core/plugins/Smarty/function.insertCkEditor.php';
echo '<script'; ?>
language="javascript" type="text/javascript">urlStatic='<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
';<?php echo '</script'; ?>
>
<?php if (isset($_smarty_tpl->tpl_vars['obj']->value)) {?>
<input type="hidden" name="lang" value="<?php echo $_smarty_tpl->tpl_vars['lang']->value;?>
" />
<?php }?>
<input type="hidden" name="SaveArt" value="true" />
<?php $_smarty_tpl->_assignInScope('additionalTitle', '');
?>
<div <?php if ($_smarty_tpl->tpl_vars['objModule']->value->Getid() != 3) {?>style="display: none;"<?php }?>>
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>"Zajawka"));
$_block_repeat1=true;
echo smarty_block_dropDownContainer(array('title'=>"Zajawka"), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
<div class="articlePreviewRight">
<?php if (isset($_smarty_tpl->tpl_vars['obj']->value)) {?>
<?php $_smarty_tpl->_assignInScope('shortnote', $_smarty_tpl->tpl_vars['obj']->value->GetShortnote());
?>
<?php } else { ?>
<?php $_smarty_tpl->_assignInScope('shortnote', '');
?>
<?php }?>
<?php echo smarty_function_insertCkEditor(array('width'=>'399','height'=>'159','name'=>'shortnote','toolbar'=>'Basic','value'=>$_smarty_tpl->tpl_vars['shortnote']->value),$_smarty_tpl);?>
<?php if (isset($_smarty_tpl->tpl_vars['error']->value['shortnote'])) {?><div style="color: red;" id="actionError"><?php echo $_smarty_tpl->tpl_vars['error']->value['shortnote'];?>
</div><?php }?>
</div>
<div class="cb"></div>
<?php $_block_repeat1=false;
echo smarty_block_dropDownContainer(array('title'=>"Zajawka"), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
</div>
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>"Treść"));
$_block_repeat1=true;
echo smarty_block_dropDownContainer(array('title'=>"Treść"), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
<div class="center">
<?php if (isset($_smarty_tpl->tpl_vars['obj']->value)) {?>
<?php $_smarty_tpl->_assignInScope('description', $_smarty_tpl->tpl_vars['obj']->value->GetDescription());
?>
<?php } else { ?>
<?php $_smarty_tpl->_assignInScope('description', '');
?>
<?php }?>
<?php echo smarty_function_insertCkEditor(array('width'=>'620','height'=>'380','name'=>'description','toolbar'=>'Formix','value'=>$_smarty_tpl->tpl_vars['description']->value),$_smarty_tpl);?>
<?php if (isset($_smarty_tpl->tpl_vars['error']->value['description'])) {?><div style="color: red;" id="actionError"><?php echo $_smarty_tpl->tpl_vars['error']->value['description'];?>
</div><?php }?>
</div>
<?php $_block_repeat1=false;
echo smarty_block_dropDownContainer(array('title'=>"Treść"), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
<?php }
}