34 lines
1.4 KiB
PHP
Executable File
34 lines
1.4 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:58:14
|
|
compiled from "/var/www/html/templates/lists/enumUsers.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:2074411642540f5bd6bc4548-13828934%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'56aca60b1ef5a67e2cc218aed0cd18cde11fe009' =>
|
|
array (
|
|
0 => '/var/www/html/templates/lists/enumUsers.tpl',
|
|
1 => 1410130459,
|
|
),
|
|
),
|
|
'nocache_hash' => '2074411642540f5bd6bc4548-13828934',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<select name="usuarioId2" id="usuarioId2" class="smallInput">
|
|
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="cajero"){?>
|
|
<option value="">Todos</option>
|
|
<?php }?>
|
|
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('usuarios')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
if (count($_from) > 0){
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
|
|
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
|
|
?>
|
|
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['usuarioId'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
</option>
|
|
<?php }} ?>
|
|
</select>
|