<div class="rangeline"> <span class="label"><?php echo JText::_('COM_TIENDA_TO'); ?> :</span> <input type="text" id="filter_quantity_to" name="filter_quantity_to" value="<?php echo @$state->filter_quantity_to; ?> " size="5" class="input input-tiny" /> </div> </div> </th> <th> </th> <th> <?php echo TiendaSelect::booleans(@$state->filter_enabled, 'filter_enabled', $attribs, 'enabled', true, 'COM_TIENDA_ENABLED_STATE'); ?> </th> </tr> <tr> <th colspan="20" style="font-weight: normal;"> <div style="float: right; padding: 5px;"><?php echo @$this->pagination->getResultsCounter(); ?> </div> <div style="float: left;"><?php echo @$this->pagination->getListFooter(); ?> </div> </th> </tr>
/** * Show the correct edit field based on the eav type * @param EavAttribute $eav * @param unknown_type $value */ public static function editForm($eav, $value = null) { // Type of the field switch ($eav->eavattribute_type) { case "bool": Tienda::load('TiendaSelect', 'library.select'); return TiendaSelect::booleans($value, $eav->eavattribute_alias, $attribs = array('class' => 'inputbox cf_' . $eav->eavattribute_alias, 'size' => '1'), $idtag = null, $allowAny = false, $title = 'Select State', $yes = 'Yes', $no = 'No'); break; case "datetime": $format = !empty($eav->eavattribute_format_strftime) ? $eav->eavattribute_format_strftime : '%Y-%m-%d %H:%M:%S'; return JHTML::calendar($value, $eav->eavattribute_alias, "eavattribute_alias", $format, array('size' => 24, 'class' => 'input-medium')); break; case "text": $editor = JFactory::getEditor(); return $editor->display($eav->eavattribute_alias, $value, '300', '200', '50', '20'); break; case "hidden": return '<input type="hidden" name="' . $eav->eavattribute_alias . '" id="' . $eav->eavattribute_alias . '" value="' . $value . '"/>'; break; case "decimal": case "int": return '<input type="text" name="' . $eav->eavattribute_alias . '" id="' . $eav->eavattribute_alias . '" value="' . $value . '" class="input-mini cf_' . $eav->eavattribute_alias . '"/>'; break; case "varchar": default: return '<input type="text" name="' . $eav->eavattribute_alias . '" id="' . $eav->eavattribute_alias . '" value="' . $value . '" class="input-medium cf_' . $eav->eavattribute_alias . '"/>'; break; } return ''; }
size="25" maxlength="250" value="<?php echo @$row->fax; ?> " /> </td> </tr> <tr> <th style="width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_TIENDA_EMAIL_FORMAT'); ?> </th> <td> <?php echo TiendaSelect::booleans(@$row->html_emails, 'html_emails', '', '', '', '', JText::_('COM_TIENDA_HTML'), JText::_('COM_TIENDA_PLAIN_TEXT')); ?> </td> </tr> </tbody> </table> <input type="button" onclick="tiendaSubmitForm('save');" value="<?php echo JText::_('COM_TIENDA_SUBMIT'); ?> " /> <input type="hidden" name="id" value="<?php echo @$row->user_id; ?> " />
</div> </th> <th> <input id="filter_transaction" name="filter_transactionid" value="<?php echo @$state->filter_transactionid; ?> " size="10"/> </th> <th> <?php echo TiendaSelect::booleans(@$state->filter_enabled, 'filter_enabled', $attribs, 'enabled', true, 'COM_TIENDA_ENABLED_STATE'); ?> </th> <th> <?php echo TiendaSelect::booleans(@$state->filter_lifetime, 'filter_lifetime', $attribs, 'lifetime', true, 'COM_TIENDA_LIFETIME_STATE'); ?> </th> </tr> <tr> <th colspan="20" style="font-weight: normal;"> <div style="float: right; padding: 5px;"><?php echo @$this->pagination->getResultsCounter(); ?> </div> <div style="float: left;"><?php echo @$this->pagination->getListFooter(); ?> </div> </th> </tr>
?> " size="25"/> </th> <th> <input type="text" id="filter_code" name="filter_code" value="<?php echo @$state->filter_code; ?> " size="15"/> </th> <th> </th> <th> </th> <th> <?php echo TiendaSelect::booleans(@$state->filter_enabled, 'filter_enabled', $attribs, 'enabled', true); ?> </th> </tr> <tr> <th colspan="20" style="font-weight: normal;"> <div style="float: right; padding: 5px;"><?php echo @$this->pagination->getResultsCounter(); ?> </div> <div style="float: left;"><?php echo @$this->pagination->getListFooter(); ?> </div> </th> </tr>
" /> <button class="btn btn-primary" onclick="this.form.submit();"><?php echo JText::_('COM_TIENDA_SEARCH'); ?> </button> <button class="btn btn-danger" onclick="tiendaFormReset(this.form);"><?php echo JText::_('COM_TIENDA_RESET'); ?> </button> </td> <td> <?php $attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'document.adminForm.submit();'); ?> <?php echo TiendaSelect::booleans(@$state->filter_associated, 'filter_associated', $attribs, $idtag = null, false, '', 'COM_TIENDA_ASSOCIATED_ZONES_ONLY', 'COM_TIENDA_ALL_ZONES'); ?> </td> <td nowrap="nowrap"> <?php echo TiendaSelect::country(@$state->filter_countryid, 'filter_countryid', $attribs, 'country_id', true); ?> </td> </tr> </table> <table class="table table-striped table-bordered" style="clear: both;"> <thead> <tr> <th style="width: 5px;"> <?php
<div id="parent_option_select_<?php echo $item->productattributeoption_id; ?> "> <?php if ($item->parent_productattributeoption_id) { echo TiendaSelect::productattributeoptions($attribute_id, $item->parent_productattributeoption_id, 'parent[' . $item->productattributeoption_id . ']'); } ?> </div> </td> <td style="text-align: center;"> <?php echo TiendaSelect::booleans($item->is_blank, 'blank[' . $item->productattributeoption_id . ']', array('class' => 'inputbox', 'size' => '1'), null, false, 'Select State', 'Yes', 'No'); ?> </td> <td style="text-align: center;"> <input type="text" name="ordering[<?php echo $item->productattributeoption_id; ?> ]" value="<?php echo $item->ordering; ?> " size="10" class="input-tiny" /> </td> <td style="text-align: center;"> [<?php echo TiendaUrl::popup("index.php?option=com_tienda&controller=products&task=setattributeoptionvalues&id=" . $item->productattributeoption_id . "&tmpl=component", JText::_('COM_TIENDA_SET_VALUES')); ?>
?> <input id="completed_tasks" name="completed_tasks" type="checkbox" checked="checked" disabled="disabled" /> <?php } ?> </td> </tr> <tr> <td style="width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_TIENDA_SEND_EMAIL_TO_CUSTOMER'); ?> </td> <td> <?php echo TiendaSelect::booleans('0', 'new_orderstate_notify', '', '', '', '', 'Yes', 'No'); ?> </td> </tr> <tr> <td style="width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_TIENDA_COMMENTS'); ?> </td> <td> <div id="update_order"> <textarea name="new_orderstate_comments" rows="5" style="width: 100%;"></textarea> </div> </td> </tr>
: </span> <?php $catattribut = array('class' => 'inputbox', 'size' => '1', 'multiple' => 'yes', 'size' => 5); ?> <?php echo TiendaSelect::category(@$state->filter_multicategory, 'filter_multicategory[]', $catattribut, 'filter_multicategory', true); ?> </div> <div class="row filtershipping" > <span class="label"><?php echo JText::_('COM_TIENDA_REQUIRES_SHIPPING'); ?> : </span> <?php echo TiendaSelect::booleans(@$state->filter_ships, 'filter_ships', '', 'ships', true, "Doesn't Matter", 'Yes', 'No'); ?> </div> <div class="row filtersku" > <span class="label"><?php echo JText::_('COM_TIENDA_SKU'); ?> : </span> <input id="filter_sku" name="filter_sku" value="<?php echo @$state->filter_sku; ?> " size="15" class="text_area" /> </div> <div class="row price">
?> :</span> <?php echo TiendaSelect::datetype(@$state->filter_datetype, 'filter_datetype', '', 'datetype'); ?> </div> </div> </th> <th> <?php echo TiendaSelect::booleans(@$state->filter_enabled, 'filter_enabled', $attribs, 'filter_enabled', true); ?> </th> <th> <?php echo TiendaSelect::booleans(@$state->filter_withdraw, 'filter_withdraw', $attribs, 'filter_withdraw', true); ?> </th> </tr> <tr> <th colspan="20" style="font-weight: normal;"> <div style="float: right; padding: 5px;"><?php echo @$this->pagination->getResultsCounter(); ?> </div> <div style="float: left;"><?php echo @$this->pagination->getListFooter(); ?> </div> </th> </tr>