_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'unifunc' => 'content_64943285e857d8_92812285',
'has_nocache_code' => false,
'file_dependency' =>
array (
'ec98017e5971cb5d0396c2dd9290ad680198a7ac' =>
array (
0 => 'C:\\xampp\\htdocs\\hotelcommerce\\admin\\themes\\default\\template\\controllers\\normal_products\\features.tpl',
1 => 1687433793,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_64943285e857d8_92812285 (Smarty_Internal_Template $_smarty_tpl) {
if ((isset($_smarty_tpl->tpl_vars['product']->value->id))) {?>
smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Assign features to this room type'),$_smarty_tpl ) );?>
smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'You can specify a value for each relevant feature regarding this room type. Empty fields will not be displayed.'),$_smarty_tpl ) );?>
smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'You can either create a specific value, or select among the existing pre-defined values you\'ve previously added.'),$_smarty_tpl ) );?>
smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Feature'),$_smarty_tpl ) );?>
smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Feature Image'),$_smarty_tpl ) );?>
smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['available_features']->value, 'available_feature');
$_smarty_tpl->tpl_vars['available_feature']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['available_feature']->value) {
$_smarty_tpl->tpl_vars['available_feature']->do_else = false;
?>
smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['available_feature']->value['featureValues'], 'value');
$_smarty_tpl->tpl_vars['value']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['value']->value) {
$_smarty_tpl->tpl_vars['value']->do_else = false;
?>
tpl_vars['available_feature']->value['current_item'] == $_smarty_tpl->tpl_vars['value']->value['id_feature_value']) {?>checked="checked"/>
tpl_vars['available_feature']->value['name'];?>
smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
tpl_vars['available_feature']->do_else) {
?>
smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No features have been defined'),$_smarty_tpl ) );?>
smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Add a new feature'),$_smarty_tpl ) );?>
type="text/javascript">
if (tabs_manager.allow_hide_other_languages)
hideOtherLanguage(tpl_vars['default_form_language']->value;?>
);
$(".textarea-autosize").autosize();
function all_languages(pos)
{
tpl_vars['languages']->value)) && is_array($_smarty_tpl->tpl_vars['languages']->value)) {?>
smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['languages']->value, 'language', false, 'k');
$_smarty_tpl->tpl_vars['language']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['language']->value) {
$_smarty_tpl->tpl_vars['language']->do_else = false;
?>
pos.parents('td').find('.lang-tpl_vars['language']->value['id_lang'];?>
').addClass('nolang-tpl_vars['language']->value['id_lang'];?>
').removeClass('lang-tpl_vars['language']->value['id_lang'];?>
');
smarty->ext->_foreach->restore($_smarty_tpl, 1);
}?>
pos.parents('td').find('.translatable-field').hide();
pos.parents('td').find('.lang-0').show();
}
function restore_lng(pos,i)
{
tpl_vars['languages']->value)) && is_array($_smarty_tpl->tpl_vars['languages']->value)) {?>
smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['languages']->value, 'language', false, 'k');
$_smarty_tpl->tpl_vars['language']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['language']->value) {
$_smarty_tpl->tpl_vars['language']->do_else = false;
?>
pos.parents('td').find('.nolang-tpl_vars['language']->value['id_lang'];?>
').addClass('lang-tpl_vars['language']->value['id_lang'];?>
').removeClass('nolang-tpl_vars['language']->value['id_lang'];?>
');
smarty->ext->_foreach->restore($_smarty_tpl, 1);
}?>
pos.parents('td').find('.lang-0').hide();
hideOtherLanguage(i);
}
>