#line 2864 "smarty_internal_templateparser.php"
#line 969 "smarty_internal_templateparser.y"
function yy_r153(){ if (!
$this->security ||
$this->smarty->security_policy->
isTrustedPhpFunction($this->yystack
[$this->yyidx + -3
]->minor,
$this->compiler
)) { if (strcasecmp($this->yystack
[$this->yyidx + -3
]->minor,'isset'
) === 0 ||
strcasecmp($this->yystack
[$this->yyidx + -3
]->minor,'empty'
) === 0 ||
strcasecmp($this->yystack
[$this->yyidx + -3
]->minor,'array'
) === 0 ||
is_callable($this->yystack
[$this->yyidx + -3
]->minor
)) { $func_name =
strtolower($this->yystack
[$this->yyidx + -3
]->minor
);
if ($func_name == 'isset'
) { if (count($this->yystack
[$this->yyidx + -1
]->minor
) == 0
) { $this->compiler->
trigger_template_error ('Illegal number of paramer in "isset()"'
);
} $par =
implode(',',
$this->yystack
[$this->yyidx + -1
]->minor
);
if (strncasecmp($par,'$_smarty_tpl->getConfigVariable',
strlen('$_smarty_tpl->getConfigVariable'
)) === 0
) { $this->prefix_number++;
$this->compiler->prefix_code
[] = '<?php $_tmp'.
$this->prefix_number.'='.
str_replace(')',', false)',
$par).';?>';
$isset_par = '$_tmp'.
$this->prefix_number;
} else { $isset_par=
str_replace("')->value","',null,true,false)->value",
$par);
} $this->_retvalue =
$this->yystack
[$this->yyidx + -3
]->minor . "(".
$isset_par .")";
} elseif (in_array($func_name,array
('empty','reset','current','end','prev','next'
))){ if (count($this->yystack
[$this->yyidx + -1
]->minor
) != 1
) { $this->compiler->
trigger_template_error ('Illegal number of paramer in "empty()"'
);
}