" /> <button class="btn btn-primary" onclick="this.form.submit();"><?php echo JText::_('COM_CITRUSCART_SEARCH'); ?> </button> <button class="btn btn-danger" onclick="citruscartFormReset(this.form);"><?php echo JText::_('COM_CITRUSCART_RESET'); ?> </button> </td> <td> <?php $attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'document.adminForm.submit();'); ?> <?php echo CitruscartSelect::booleans($state->filter_associated, 'filter_associated', $attribs, $idtag = null, false, '', 'COM_CITRUSCART_ASSOCIATED_ZONES_ONLY', 'COM_CITRUSCART_ALL_ZONES'); ?> </td> <td nowrap="nowrap"> <?php echo CitruscartSelect::country($state->filter_countryid, 'filter_countryid', $attribs, 'country_id', true); ?> </td> </tr> </table> <table class="table table-striped table-bordered"> <thead> <tr> <th style="width: 5px;"> <?php
</th> <th> <input type="text" id="filter_code3" name="filter_code3" value="<?php echo $state->filter_code3; ?> " size="15" placeholder="<?php echo JText::_('COM_CITRUSCART_ISO_CODE_3'); ?> "/> </th> <th> </th> <th> <?php echo CitruscartSelect::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>
<input id="filter_value" name="filter_value" type="text" value="<?php echo $state->filter_value; ?> " class="input-small" placeholder="<?php echo JText::_('COM_CITRUSCART_VALUE'); ?> "/> </th> <th> <?php echo CitruscartSelect::booleans($state->filter_type, 'filter_type', $attribs, 'filter_type', true, 'COM_CITRUSCART_SELECT_TYPE', 'COM_CITRUSCART_PERCENTAGE', 'COM_CITRUSCART_FLAT_RATE'); ?> </th> <th> <?php echo CitruscartSelect::booleans($state->filter_enabled, 'filter_enabled', $attribs, 'enabled', true, 'COM_CITRUSCART_ENABLED_STATE'); ?> </th> <th> </th> <th> </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();
?> <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_CITRUSCART_SEND_EMAIL_TO_CUSTOMER'); ?> </td> <td> <?php echo CitruscartSelect::booleans('0', 'new_orderstate_notify', '', '', '', '', 'Yes', 'No'); ?> </td> </tr> <tr> <td style="width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_CITRUSCART_COMMENTS'); ?> </td> <td> <div id="update_order"> <textarea name="new_orderstate_comments" rows="5" style="width: 100%;"></textarea> </div> </td> </tr>
</div> </th> <th> <input id="filter_transaction" name="filter_transactionid" value="<?php echo $state->filter_transactionid; ?> " class="input-small"/> </th> <th> <?php echo CitruscartSelect::booleans($state->filter_enabled, 'filter_enabled', $attribs, 'enabled', true, 'COM_CITRUSCART_ENABLED_STATE'); ?> </th> <th> <?php echo CitruscartSelect::booleans($state->filter_lifetime, 'filter_lifetime', $attribs, 'lifetime', true, 'COM_CITRUSCART_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>
/** * 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": Citruscart::load('CitruscartSelect', 'library.select'); return CitruscartSelect::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 isset($row->fax) ? $row->fax : ""; ?> " /> </td> </tr> <tr> <th style="width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_CITRUSCART_EMAIL_FORMAT'); ?> </th> <td> <?php echo CitruscartSelect::booleans(isset($row->html_emails) ? $row->html_emails : "", 'html_emails', '', '', '', '', JText::_('COM_CITRUSCART_HTML'), JText::_('COM_CITRUSCART_PLAIN_TEXT')); ?> </td> </tr> </tbody> </table> <input type="button" onclick="citruscartSubmitForm('save');" value="<?php echo JText::_('COM_CITRUSCART_SUBMIT'); ?> " /> <input type="hidden" name="id" value="<?php echo $row->user_id; ?> " />
: </label> <?php $catattribut = array('class' => 'inputbox', 'size' => '1', 'multiple' => 'yes', 'size' => 5); ?> <?php echo CitruscartSelect::category($state->filter_multicategory, 'filter_multicategory[]', $catattribut, 'filter_multicategory', true); ?> </div> <div class="row filtershipping" > <label class="control-label"><?php echo JText::_('COM_CITRUSCART_REQUIRES_SHIPPING'); ?> : </label> <?php echo CitruscartSelect::booleans($state->filter_ships, 'filter_ships', '', 'ships', true, "Doesn't Matter", 'Yes', 'No'); ?> </div> <div class="row filtersku" > <label class="control-label"><?php echo JText::_('COM_CITRUSCART_SKU'); ?> : </label> <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 CitruscartSelect::datetype($state->filter_datetype, 'filter_datetype', array('class' => 'input-small'), 'datetype'); ?> </div> </div> </th> <th> <?php echo CitruscartSelect::booleans($state->filter_enabled, 'filter_enabled', array('class' => 'input-small'), 'filter_enabled', true); ?> </th> <th> <?php echo CitruscartSelect::booleans($state->filter_withdraw, 'filter_withdraw', array('class' => 'input-small'), '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>
echo CitruscartSelect::productattributes($attribute_id, $row->product_id, $item->productattributeoption_id, array('class' => 'input-mini'), null, $allowAny = true, $title = 'COM_CITRUSCART_NO_PARENT'); ?> <div id="parent_option_select_<?php echo $item->productattributeoption_id; ?> "> <?php if ($item->parent_productattributeoption_id) { echo CitruscartSelect::productattributeoptions($attribute_id, $item->parent_productattributeoption_id, 'parent[' . $item->productattributeoption_id . ']', array('class' => 'input-mini')); } ?> </div> </td> <td> <?php echo CitruscartSelect::booleans($item->is_blank, 'blank[' . $item->productattributeoption_id . ']', array('class' => 'input-mini'), null, false, 'Select State', 'Yes', 'No'); ?> </td> <td> <input type="text" class="span1" name="ordering[<?php echo $item->productattributeoption_id; ?> ]" value="<?php echo $item->ordering; ?> " class="input-mini" /> </td> <td> [<?php echo CitruscartUrl::popup("index.php?option=com_citruscart&controller=products&task=setattributeoptionvalues&id=" . $item->productattributeoption_id . "&tmpl=component", JText::_('COM_CITRUSCART_SET_VALUES')); ?>