Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-05-01 09:44:05
|
||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdCatVta.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:178903834053625db5bece08-86615195%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2fbcb33ec1a003b36c72ee3587c329e9e75d5271' =>
|
||||
array (
|
||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdCatVta.tpl',
|
||||
1 => 1375965436,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '178903834053625db5bece08-86615195',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_truncate')) include '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/libs/plugins/modifier.truncate.php';
|
||||
?> <select name="prodCatId2" id="prodCatId2" class="largeInput" style="width:210px" onchange="LoadSubcats()">
|
||||
<option value="">Seleccione</option>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('categorias')->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['prodCatId'];?>
|
||||
"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['nombre'],25,'...');?>
|
||||
</option>
|
||||
<?php }} ?>
|
||||
</select>
|
||||
Reference in New Issue
Block a user