<?php /* Smarty version Smarty-3.1.8, created on 2019-12-24 13:48:04
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/AjaxMenuItemSettings.tpl" */ ?>
<?php /*%%SmartyHeaderCode:16556128335da6f0a0d95420-80559429%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3ba9331a2ee8f1276b47ebbd34c736de22de6c94' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/AjaxMenuItemSettings.tpl',
      1 => 1577180533,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16556128335da6f0a0d95420-80559429',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da6f0a0dd70c2_53308306',
  'variables' => 
  array (
    'parameters' => 0,
    'details' => 0,
    'paramsValues' => 0,
    'checked' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da6f0a0dd70c2_53308306')) {function content_5da6f0a0dd70c2_53308306($_smarty_tpl) {?> 
 <?php if ((($tmp = @$_smarty_tpl->tpl_vars['parameters']->value)===null||$tmp==='' ? array() : $tmp)){?>
  <?php  $_smarty_tpl->tpl_vars["details"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["details"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['parameters']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["details"]->key => $_smarty_tpl->tpl_vars["details"]->value){
$_smarty_tpl->tpl_vars["details"]->_loop = true;
?> 
<?php if ($_smarty_tpl->tpl_vars['details']->value['type']!='checkbox'){?>

     <li class="clearfix">
        <div class="left01 <?php if ((($tmp = @$_smarty_tpl->tpl_vars['details']->value['mandatory'])===null||$tmp==='' ? '' : $tmp)=='yes'){?> mandatory <?php }?>"><?php echo $_smarty_tpl->tpl_vars['details']->value['language'];?>
</div>
        <div class="right01">
         <?php if ($_smarty_tpl->tpl_vars['details']->value['type']=='select'){?>
			<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('tabindex'=>"1",'name'=>"settings[".($_smarty_tpl->tpl_vars['details']->value['name'])."]",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['paramsValues']->value[$_smarty_tpl->tpl_vars['details']->value['name']])===null||$tmp==='' ? '' : $tmp),'options'=>$_smarty_tpl->tpl_vars['details']->value['options'],'form'=>"frmMenuItem",'custom'=>"true"),$_smarty_tpl);?>

         <?php }elseif($_smarty_tpl->tpl_vars['details']->value['type']=='textbox'){?>
         	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('tabindex'=>"1",'name'=>"settings[".($_smarty_tpl->tpl_vars['details']->value['name'])."]",'value'=>(($tmp = @$_smarty_tpl->tpl_vars['paramsValues']->value[$_smarty_tpl->tpl_vars['details']->value['name']])===null||$tmp==='' ? '' : $tmp),'class'=>"textbox ",'form'=>"frmMenuItem"),$_smarty_tpl);?>

         <?php }?>    
        </div>
    </li>
    <?php }else{ ?>  
   
     <li class="clearfix">
        <div class="left01 "></div>
        <div class="right01"><?php $_smarty_tpl->tpl_vars["checked"] = new Smarty_variable('', null, 0);?>
            <?php if (isset($_smarty_tpl->tpl_vars['paramsValues']->value[$_smarty_tpl->tpl_vars['details']->value['name']])&&$_smarty_tpl->tpl_vars['paramsValues']->value[$_smarty_tpl->tpl_vars['details']->value['name']]=='Yes'){?>
                <?php $_smarty_tpl->tpl_vars["checked"] = new Smarty_variable("checked", null, 0);?>
            <?php }?>
         	<?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['paramsValues']->value[$_smarty_tpl->tpl_vars['details']->value['name']])===null||$tmp==='' ? 'Yes' : $tmp);?>
<?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('tabindex'=>"1",'name'=>"settings[".($_smarty_tpl->tpl_vars['details']->value['name'])."]",'form'=>"frmMenuItem",'value'=>$_tmp1,'checked'=>$_smarty_tpl->tpl_vars['checked']->value),$_smarty_tpl);?>

         <?php if ((($tmp = @$_smarty_tpl->tpl_vars['details']->value['mandatory'])===null||$tmp==='' ? '' : $tmp)=='yes'){?> <strong><?php echo $_smarty_tpl->tpl_vars['details']->value['language'];?>
 </strong> <?php }else{ ?> <?php echo $_smarty_tpl->tpl_vars['details']->value['language'];?>
<?php }?>
        </div>
    </li>  
 <?php }?>  
      <?php } ?>   
 <?php }?>  		
 
 
<?php }} ?>