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

83 lines
4.3 KiB
PHP

<?php
/* Smarty version 3.1.30, created on 2023-12-28 14:41:36
from "/home/14153/www/test.aem.pl/zurawik/Admin/template/partial/Image/EditStructure.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_658d7b106070c0_57906098',
'has_nocache_code' => false,
'file_dependency' =>
array (
'16bca66d480fa8c0a99bd611402c046f92165c18' =>
array (
0 => '/home/14153/www/test.aem.pl/zurawik/Admin/template/partial/Image/EditStructure.tpl',
1 => 1703168200,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_658d7b106070c0_57906098 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_block_dropDownContainer')) require_once '/home/14153/www/test.aem.pl/zurawik/core/plugins/Smarty/block.dropDownContainer.php';
if (!is_callable('smarty_function_url')) require_once '/home/14153/www/test.aem.pl/zurawik/core/plugins/Smarty/function.url.php';
?>
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>(($tmp = @$_smarty_tpl->tpl_vars['moduleName']->value)===null||$tmp==='' ? "Lista" : $tmp),'icon'=>$_smarty_tpl->tpl_vars['moduleBoxConfg']->value['files'],'moduleBoxId'=>$_smarty_tpl->tpl_vars['moduleBoxId']->value,'publish'=>$_smarty_tpl->tpl_vars['param']->value['modulePublication']));
$_block_repeat1=true;
echo smarty_block_dropDownContainer(array('title'=>(($tmp = @$_smarty_tpl->tpl_vars['moduleName']->value)===null||$tmp==='' ? "Lista" : $tmp),'icon'=>$_smarty_tpl->tpl_vars['moduleBoxConfg']->value['files'],'moduleBoxId'=>$_smarty_tpl->tpl_vars['moduleBoxId']->value,'publish'=>$_smarty_tpl->tpl_vars['param']->value['modulePublication']), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>
<iframe name="PhotoUpload" id="PhotoUpload" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" height="70" width="625" src="<?php echo smarty_function_url(array('Image'=>'Form'),$_smarty_tpl);?>
">
<noscript>
Do wyświetlenia konieczne jest działanie ramek (iframe).
</noscript>
</iframe>
<br />
<form action="<?php echo smarty_function_url(array('Image'=>'SortImage'),$_smarty_tpl);?>
" method="post" enctype="multipart/form-data" >
<div>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['arrayImage']->value, 'image', false, 'key', 'photo', array (
));
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['image']->value) {
?>
<div id="image_<?php echo $_smarty_tpl->tpl_vars['image']->value->GetId();?>
" style="float:left; border:1px solid #000000; margin-right:5px; margin-bottom: 5px; position: relative;">
<img src="<?php echo $_smarty_tpl->tpl_vars['image']->value->GetFullUrlMiniId($_smarty_tpl->tpl_vars['idArticleStructureMain']->value);?>
" alt="test" style="margin-bottom: 5px" />
<br />
<div style="position: absolute;bottom: 10px ;right: 2px; background: rgba(72, 137, 174, .7);">Kolejność <input name="image_sort[<?php echo $_smarty_tpl->tpl_vars['image']->value->GetId();?>
]" size="3" value="<?php echo $_smarty_tpl->tpl_vars['image']->value->getWeight();?>
" style="width: 25px;" /></div>
<div style="position: absolute;top: 0;right: 2px;"><a class="optionIcon iconDelete" onclick="DeletePhoto('<?php echo smarty_function_url(array('Image'=>'DeleteImage'),$_smarty_tpl);?>
', '<?php echo $_smarty_tpl->tpl_vars['image']->value->GetId();?>
'); return false;"> </a></div>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</div>
<div name="PhotoDisplay" id="PhotoDisplay" class="PhotoDisplay">
</div>
<div class="clearBoth"></div>
<?php $_block_repeat1=false;
echo smarty_block_dropDownContainer(array('title'=>(($tmp = @$_smarty_tpl->tpl_vars['moduleName']->value)===null||$tmp==='' ? "Lista" : $tmp),'icon'=>$_smarty_tpl->tpl_vars['moduleBoxConfg']->value['files'],'moduleBoxId'=>$_smarty_tpl->tpl_vars['moduleBoxId']->value,'publish'=>$_smarty_tpl->tpl_vars['param']->value['modulePublication']), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
}
}