74 lines
2.4 KiB
PHP
74 lines
2.4 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2023-06-22 13:37:38
|
|
from 'C:\xampp\htdocs\hotelcommerce\admin\themes\default\template\controllers\maintenance\helpers\options\options.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_64943282a37902_53116024',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'24bb150c22da05be8e02b46659482ea17729be50' =>
|
|
array (
|
|
0 => 'C:\\xampp\\htdocs\\hotelcommerce\\admin\\themes\\default\\template\\controllers\\maintenance\\helpers\\options\\options.tpl',
|
|
1 => 1687433793,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_64943282a37902_53116024 (Smarty_Internal_Template $_smarty_tpl) {
|
|
$_smarty_tpl->_loadInheritance();
|
|
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
|
|
?>
|
|
|
|
|
|
<?php
|
|
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_660891202649432829ee7a9_45140068', "input");
|
|
$_smarty_tpl->inheritance->endChild($_smarty_tpl, "helpers/options/options.tpl");
|
|
}
|
|
/* {block "input"} */
|
|
class Block_660891202649432829ee7a9_45140068 extends Smarty_Internal_Block
|
|
{
|
|
public $subBlocks = array (
|
|
'input' =>
|
|
array (
|
|
0 => 'Block_660891202649432829ee7a9_45140068',
|
|
),
|
|
);
|
|
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
|
?>
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['field']->value['type'] == 'maintenance_ip') {?>
|
|
<?php echo $_smarty_tpl->tpl_vars['field']->value['script_ip'];?>
|
|
|
|
<div class="col-lg-9">
|
|
<div class="row">
|
|
<div class="col-lg-8">
|
|
<input type="text"<?php if ((isset($_smarty_tpl->tpl_vars['field']->value['id']))) {?> id="<?php echo $_smarty_tpl->tpl_vars['field']->value['id'];?>
|
|
"<?php }?> size="<?php if ((isset($_smarty_tpl->tpl_vars['field']->value['size']))) {
|
|
echo intval($_smarty_tpl->tpl_vars['field']->value['size']);
|
|
} else { ?>5<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
|
|
" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['field']->value['value'], ENT_QUOTES, 'UTF-8', true);?>
|
|
" />
|
|
</div>
|
|
<div class="col-lg-1">
|
|
<?php echo $_smarty_tpl->tpl_vars['field']->value['link_remove_ip'];?>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php } else { ?>
|
|
<?php
|
|
$_smarty_tpl->inheritance->callParent($_smarty_tpl, $this, '{$smarty.block.parent}');
|
|
?>
|
|
|
|
<?php }
|
|
}
|
|
}
|
|
/* {/block "input"} */
|
|
}
|