/** * * @return unknown_type */ function filterZones() { $app = JFactory::getApplication(); JLoader::import('com_citruscart.library.json', JPATH_ADMINISTRATOR . '/components'); Citruscart::load('CitruscartSelect', 'library.select'); $idtag = 'zone_id'; $countryid = $app->input->getInt('countryid', 0); $idprefix = $app->input->getInt('idprefix', 0); /* $countryid = JRequest::getVar( 'countryid', '', 'request', 'int' ); $idprefix = JRequest::getVar( 'idprefix', '', 'request'); */ if (count($idprefix) > 0) { $idtag = $idprefix . $idtag; } $url = "index.php?option=com_citruscart&format=raw&controller=zones&task=addZone&geozoneid="; $attribs = array('class' => 'inputbox', 'size' => '1'); $hookgeozone = $app->input->get('hookgeozone', TRUE); //$hookgeozone = JRequest::getVar( 'hookgeozone', TRUE, 'request', 'boolean' ); if ($hookgeozone) { $attribs['onchange'] = 'citruscartDoTask( \'' . $url . '\'+document.getElementById(\'geozone_id\').value+\'&zoneid=\'+this.options[this.selectedIndex].value, \'current_zones_wrapper\', \'\');'; } $html = CitruscartSelect::zone('', $idtag, $countryid, $attribs, $idtag, true); // set response array $response = array(); $response['msg'] = $html; // encode and echo (need to echo to send back to browser) echo json_encode($response); return; }
/** * A boolean radiolist that uses bootstrap * * @param unknown_type $name * @param unknown_type $attribs * @param unknown_type $selected * @param unknown_type $yes * @param unknown_type $no * @param unknown_type $id * @return string */ public static function btbooleanlist($name, $attribs = null, $selected = null, $yes = 'JYES', $no = 'JNO', $id = false) { JHTML::_('script', 'bootstrapped-advanced-ui.js', 'media/citruscart/js/'); JHTML::_('stylesheet', 'bootstrapped-advanced-ui.css', 'media/citruscart/css/'); $arr = array(JHtml::_('select.option', '0', JText::_($no)), JHtml::_('select.option', '1', JText::_($yes))); $html = '<div class="control-group"><div class="controls"><fieldset id="' . $name . '" class="radio btn-group">'; $html .= CitruscartSelect::btradiolist($arr, $name, $attribs, 'value', 'text', (int) $selected, $id); $html .= '</fieldset></div></div>'; return $html; }
/** * Expected to be called from ajax */ public function getProductAttributeOptions() { $app = JFactory::getApplication(); $attribute_id = $app->input->getInt('attribute_id', 0); $name = $app->input->getString('select_name', 'parent'); $id = $app->input->getString('select_id', '0'); $response = array(); $response['msg'] = ''; $response['error'] = ''; if ($attribute_id) { Citruscart::load('CitruscartSelect', 'library.select'); $response['msg'] = CitruscartSelect::productattributeoptions($attribute_id, 0, $name . "[" . $id . "]"); } else { $response['msg'] = '<input type="hidden" name="' . $name . "[" . $id . "]" . '" />'; } echo json_encode($response); }
/** * @Returns a selectlist of zones * @Called via Ajax * * @return unknown_type */ function getZones() { $app = JFactory::getApplication(); Citruscart::load('CitruscartSelect', 'library.select'); $html = ''; $text = ''; $country_id = $app->input->getInt('country_id'); $name = $app->input->get('name', 'zone_id'); if (empty($country_id)) { $html = JText::_('COM_CITRUSCART_SELECT_COUNTRY_FIRST'); } else { $html = CitruscartSelect::zone('', $name, $country_id); } $response = array(); $response['msg'] = $html; $response['error'] = ''; // encode and echo (need to echo to send back to browser) echo json_encode($response); return; }
echo CitruscartSelect::editableby($row['editable_by'], 'editable_by'); ?> </td> </tr> <tr> <td width="100" align="right" class="key"> <label for="eavattribute_required"> <?php echo JText::_('COM_CITRUSCART_REQUIRED'); ?> : </label> </td> <td> <?php echo CitruscartSelect::btbooleanlist('eavattribute_required', '', $row['eavattribute_required']); ?> </td> </tr> <tr> <td class="dsc-key"> <?php echo JText::_('COM_CITRUSCART_FORMAT_STRFTIME'); ?> : </td> <td class="dsc-value"> <input type="text" name="eavattribute_format_strftime" id="eavattribute_format_strftime" value="<?php echo $row['eavattribute_format_strftime']; ?> " size="30" maxlength="250" />
<th style="<?php echo $key_style; ?> " class="key"> <?php if ($elements['country'][1]) { echo CitruscartGrid::required(); } echo JText::_('COM_CITRUSCART_COUNTRY'); ?> </th> <td> <?php $url = "index.php?option=com_citruscart&format=raw&controller=pos&task=getzones&prefix={$this->form_prefix}&country_id="; $attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'citruscartDoTask( \'' . $url . '\'+document.getElementById(\'' . $this->form_prefix . 'country_id\').value, \'' . $this->form_prefix . 'zones_wrapper\', \'\');'); echo CitruscartSelect::country($this->default_country_id, $this->form_prefix . 'country_id', $attribs, $this->form_prefix . 'country_id', false, true); ?> </td> </tr> <?php } if ($elements['zone'][0]) { ?> <tr> <th style="<?php echo $key_style; ?> " class="key"> <?php if ($elements['zone'][1]) { echo CitruscartGrid::required();
?> </td> </tr> <tr> <th style="width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_CITRUSCART_ZONE'); ?> </th> <td> <div id="zones_wrapper"> <?php if (empty($row->zone_id)) { echo JText::_('COM_CITRUSCART_SELECT_COUNTRY_FIRST'); } else { echo CitruscartSelect::zone(@$row->zone_id, 'zone_id', @$row->country_id); } ?> </div> </td> </tr> <?php if ($config->get('show_field_zip', '3') != '0') { ?> <tr> <th style="width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_CITRUSCART_POSTAL_CODE'); ?> </th> <td>
/** * Gets an address form for display * * param string $prefix * return string html */ function getAddressForm($prefix, $guest = false, $forShipping = false) { $html = ''; $model = $this->getModel('addresses', 'CitruscartModel'); $view = $this->getView($this->get('suffix'), 'html'); $view->set('_controller', $this->get('suffix')); $view->set('_view', $this->get('suffix')); $view->set('_doTask', true); $view->set('hidemenu', true); $view->set('form_prefix', $prefix); $view->set('guest', $guest); $view->setLayout('form_address'); // Checking whether shipping is required $showShipping = false; $cartsModel = $this->getModel('carts'); if ($isShippingEnabled = $cartsModel->getShippingIsEnabled()) { $showShipping = true; } $view->assign('showShipping', $showShipping); $view->assign('forShipping', $forShipping); JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_citruscart/models'); $countries_model = JModelLegacy::getInstance('Countries', 'CitruscartModel'); $default_country = $countries_model->getDefault(); $default_country_id = $default_country->country_id; $attribs = array('class' => 'inputbox', 'size' => '1'); if ($this->onepage_checkout) { //$attribs['onchange'] = 'citruscartCheckoutAutomaticShippingRatesUpdate( \''.$prefix.'zone_id\', \''.JText::_('COM_CITRUSCART_UPDATING_SHIPPING_RATES').'\', \''.JText::_('COM_CITRUSCART_UPDATING_CART').'\', \''.JText::_('COM_CITRUSCART_UPDATING_ADDRESS').'\', \''.JText::_('COM_CITRUSCART_UPDATING_PAYMENT_METHODS').'\' ); '; } Citruscart::load('CitruscartSelect', 'library.select'); $zones = CitruscartSelect::zone('', $prefix . 'zone_id', $default_country_id, $attribs, $prefix . 'zone_id'); $view->assign('default_country_id', $default_country_id); $view->assign('zones', $zones); $html = $view->loadTemplate(); return $html; }
</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>
if (!$selected_opts) { $selected_opts = $default; $selected_opts[] = 0; } foreach ($attributes as $attribute) { ?> <div class="pao" id='productattributeoption_<?php echo $attribute->productattribute_id; ?> '> <?php echo "<span>" . $attribute->productattribute_name . " : </span>"; $key = 'attribute_' . $attribute->productattribute_id; $selected = !empty($values[$key]) ? $values[$key] : $default[$attribute->productattribute_id]; $attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => "Citruscart.UpdateChangedAttribute( document.adminForm, " . $attribute->productattribute_id . ");Citruscart.UpdateAddToCart( 'pos', 'product_buy', document.adminForm, true );", 'changed_attr' => $changed_attr, 'changed_pao' => $changed_pao, 'pid' => $row->product_id); echo CitruscartSelect::productattributeoptions($attribute->productattribute_id, $selected, $key, $attribs, null, $selected_opts); ?> </div> <?php } if (count($attributes)) { ?> <input type="hidden" name="changed_attr" value="" /> <?php } ?> <?php if (!empty($this->onDisplayProductAttributeOptions)) { ?> <div class='onDisplayProductAttributeOptions_wrapper'>
<th style="text-align: left;"> <input id="filter_name" name="filter_name" value="<?php echo $state->filter_name; ?> " size="25" placeholder="<?php echo JText::_('COM_CITRUSCART_NAME'); ?> "/> </th> <th> </th> <th> </th> <th> <?php echo CitruscartSelect::geozonetypes($state->filter_geozonetype, 'filter_geozonetype', $attribs, 'geozonetype', 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>
<?php echo JText::_('COM_CITRUSCART_CATEGORY_LAYOUT_FILE_DESC'); ?> </div> </td> </tr> <tr> <td style="vertical-align: top; width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_CITRUSCART_CATEGORY_PRODUCTS_LAYOUT_FILE'); ?> : </td> <td> <?php echo CitruscartSelect::productlayout($row->categoryproducts_layout, 'categoryproducts_layout'); ?> <div class="well note"> <?php echo JText::_('COM_CITRUSCART_CATEGORY_PRODUCTS_LAYOUT_FILE_DESC'); ?> </div> </td> </tr> <tr> <td style="width: 100px; text-align: right;" class="key"> <label for="category_description"> <?php echo JText::_('COM_CITRUSCART_DESCRIPTION'); ?> :
<td> <input type="text" name="billing_input_city" id="billing_input_city" size="48" maxlength="250" value="" /> </td> </tr> <tr> <th width="100" align="right" class="key"> <?php echo JText::_('COM_CITRUSCART_COUNTRY'); ?> : </th> <td><?php $url = "index.php?option=com_citruscart&format=raw&controller=zones&task=filterzones&hookgeozone=false&idprefix=billing_input_&countryid="; $attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'citruscartDoTask( \'' . $url . '\'+document.getElementById(\'billing_input_country_id\').value, \'billing_zones_wrapper\', \'\');'); echo CitruscartSelect::country(0, 'billing_input_country_id', $attribs, 'billing_input_country_id', true); ?> </td> </tr> <tr> <th width="100" align="right" class="key"> <?php echo JText::_('COM_CITRUSCART_ZONE'); ?> : </th> <td> <div id="billing_zones_wrapper"></div> </td> </tr> <tr>
<td><?php echo CitruscartSelect::orderstate($this->row->get('initial_order_state', '15'), 'initial_order_state'); ?> </td> <td><?php echo JText::_('COM_CITRUSCART_INITIAL_ORDER_STATE_DESC'); ?> </td> </tr> <tr> <th style="width: 25%;"><?php echo JText::_('COM_CITRUSCART_PENDING_ORDER_STATE'); ?> </th> <td><?php echo CitruscartSelect::orderstate($this->row->get('pending_order_state', '1'), 'pending_order_state'); ?> </td> <td><?php echo JText::_('COM_CITRUSCART_PENDING_ORDER_STATE_DESC'); ?> </td> </tr> <tr> <th style="width: 25%;"><?php echo JText::_('COM_CITRUSCART_ORDER_NUMBER_PREFIX'); ?> </th> <td><input type="text" name="order_number_prefix" value="<?php echo $this->row->get('order_number_prefix', ''); ?>
# Technical Support: Forum - http://citruscart.com/forum/index.html -------------------------------------------------------------------------*/ /** ensure this file is being included by a parent file */ defined('_JEXEC') or die('Restricted access'); $row = $this->row; ?> <table class="table table-striped table-bordered"> <tbody> <tr> <th style="width: 25%;"><?php echo JText::_('COM_CITRUSCART_DISPLAY_DEFAULT_CATEGORY_IMAGE'); ?> </th> <td><?php echo CitruscartSelect::btbooleanlist('use_default_category_image', '', $this->row->get('use_default_category_image', '1')); ?> </td> </tr> <tr> <th style="width: 25%;"><?php echo JText::_('COM_CITRUSCART_DEFAULT_PRODUCT_IMAGE_HEIGHT'); ?> </th> <td><input type="text" name="product_img_height" value="<?php echo $this->row->get('product_img_height', ''); ?> " /> </td> </tr> <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>
<input type="text" name="manufacturer_name" id="manufacturer_name" value="<?php echo $row->manufacturer_name; ?> " size="48" maxlength="250" /> </td> </tr> <tr> <td style="width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_CITRUSCART_ENABLED'); ?> : </td> <td> <?php echo CitruscartSelect::btbooleanlist('manufacturer_enabled', '', $row->manufacturer_enabled); ?> </td> </tr> <tr> <td style="width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_CITRUSCART_CURRENT_IMAGE'); ?> : </td> <td> <?php jimport('joomla.filesystem.file'); if (!empty($row->manufacturer_image) && JFile::exists(Citruscart::getPath('manufacturers_images') . DS . $row->manufacturer_image)) { echo CitruscartUrl::popup(CitruscartHelperManufacturer::getImage($row->manufacturer_id, '', '', 'full', true), CitruscartHelperManufacturer::getImage($row->manufacturer_id), array('update' => false, 'img' => true));
</div></li> <li class="divider-vertical"></li> <li> <div class="input-prepend input-append"> <span class="add-on"><?php echo JText::_('COM_CITRUSCART_TO'); ?> :</span> <?php echo JHTML::calendar($state->filter_date_to, "filter_date_to", "filter_date_to", '%Y-%m-%d 00:00:00'); ?> </div></li> <li class="divider-vertical"></li> <li> <?php //$attribs = array('class' => '', 'onchange' => 'javascript:submitbutton(\'view\').click;'); ?> <span class="label pull-left"><?php echo JText::_('LIMIT'); ?> </span> <?php echo CitruscartSelect::limit($state->limit ? $state->limit : '20', 'limit', $attribs, 'limit', true); ?> </li> </ul></li> </div> </div>
if (empty($this->shipping_address)) { ?> <div> <input id="sameasbilling" name="sameasbilling" type="checkbox" checked="checked" onclick="citruscartShowHideDiv( 'shipping_input_addressForm' ); citruscartGetShippingRates( 'onCheckoutShipping_wrapper', document.adminForm ); citruscartGetPaymentOptions( 'onCheckoutPayment_wrapper', document.adminForm ); "/> <?php echo JText::_('COM_CITRUSCART_SAME_AS_BILLING_ADDRESS'); ?> </div> <?php } ?> <?php $shipattribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => "citruscartCheckoutSetShippingAddress('{$baseurl}'+this.options[this.selectedIndex].value, 'shippingDefaultAddress', '" . JText::_('COM_CITRUSCART_UPDATING_SHIPPING_RATES') . "', '" . JText::_('COM_CITRUSCART_UPDATING_CART') . "', '" . JText::_('COM_CITRUSCART_UPDATING_ADDRESS') . "', this.form, this.options[this.selectedIndex].value ); "); // display select list of stored addresses if ($user->id) { echo CitruscartSelect::address($user->id, $this->shipping_address->address_id, 'shipping_address_id', 2, $shipattribs, 'shipping_address_id', false, true); } ?> <div id="shippingDefaultAddress"> <?php if (!empty($this->shipping_address)) { echo $this->shipping_address->title . " " . $this->shipping_address->first_name . " " . $this->shipping_address->last_name . "<br>"; echo $this->shipping_address->company . "<br>"; echo $this->shipping_address->address_1 . " " . $this->shipping_address->address_2 . "<br>"; echo $this->shipping_address->city . ", " . $this->shipping_address->zone_name . " " . $this->shipping_address->postal_code . "<br>"; echo $this->shipping_address->country_name . "<br>"; } ?> </div> <?php echo $this->shipping_address_form;
" size="10" maxlength="250" type="text" /> </td> </tr> <tr> <td width="100" align="right" class="key"> <label for="currency_enabled"> <?php echo JText::_('COM_CITRUSCART_ENABLED'); ?> : </label> </td> <td> <?php echo CitruscartSelect::btbooleanlist('published', '', $row->published); ?> </td> </tr> </table> </fieldset> <fieldset> <legend><?php echo JText::_('COM_CITRUSCART_PARAMETERS'); ?> </legend> <?php if ($output = $this->params->render('params')) { echo $output; } else { echo "<div style=\"text-align: center; padding: 5px; \">" . JText::_('COM_CITRUSCART_THERE_ARE_NO_PARAMETERS_FOR_THIS_ITEM') . "</div>";
:</td> <td><input name="ordering" id="ordering" value="<?php echo $row->ordering; ?> " size="10" maxlength="250" type="text" /> </td> </tr> <tr> <td width="100" align="right" class="key"><label for="currency_enabled"> <?php echo JText::_('COM_CITRUSCART_ENABLED'); ?> : </label> </td> <td><?php echo CitruscartSelect::btbooleanlist('enabled', '', $row->enabled); ?> </td> </tr> </table> <legend> <?php echo JText::_('COM_CITRUSCART_PARAMETERS'); ?> </legend> <?php $path = JPATH_SITE . '/plugins/' . $row->folder . '/' . $row->element . '/jform/' . $row->element . '.xml'; //echo $path; if (file_exists($path)) { $form = JForm::getInstance($row->element, $path); $language = JFactory::getLanguage();
"/> </div> <div class="rangeline"> <input id="filter_total_to" name="filter_total_to" value="<?php echo $state->filter_total_to; ?> " size="5" class="input" placeholder="<?php echo JText::_('COM_CITRUSCART_TO'); ?> "/> </div> </div> </th> <th> <?php echo CitruscartSelect::orderstate($state->filter_orderstate, 'filter_orderstate', $attribs, 'order_state_id', 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>
<form action="<?php echo JRoute::_($form['action'] . $tmpl); ?> " method="post" name="adminForm" enctype="multipart/form-data"> <?php echo CitruscartGrid::pagetooltip($app->input->getString('view')); //CitruscartGrid::pagetooltip( JRequest::getVar('view') ); ?> <div> <div class="pull-left"> <?php $attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => "document.getElementById('task').value=this.options[this.selectedIndex].value; document.adminForm.submit();"); ?> <?php echo CitruscartSelect::addressaction('', 'apply_action', $attribs, 'apply_action', true, false, 'COM_CITRUSCART_SELECT_ACTION'); ?> </div> <div class="pull-right"> <a class="btn btn-danger" href="<?php echo JRoute::_("index.php?option=com_citruscart&view=addresses&task=edit" . $tmpl); ?> "> <?php echo JText::_('COM_CITRUSCART_ENTER_A_NEW_ADDRESS'); ?> </a> </div> </div> <table class="adminlist table table-striped" style="clear: both;"> <thead>
</td> <td></td> </tr> <tr> <th style="width: 25%;"><?php echo JText::_('COM_CITRUSCART_STATE_REGION'); ?> </th> <td> <div id="zones_wrapper"> <?php $shop_zone = $this->row->get('shop_zone', ''); if (empty($shop_zone)) { echo JText::_('COM_CITRUSCART_SELECT_COUNTRY_FIRST'); } else { echo CitruscartSelect::zone($shop_zone, 'shop_zone', $this->row->get('shop_country', '')); } ?> </div> </td> <td></td> </tr> <tr> <th style="width: 25%;"><?php echo JText::_('COM_CITRUSCART_POSTAL_CODE'); ?> </th> <td><input type="text" name="shop_zip" value="<?php echo $this->row->get('shop_zip', ''); ?> " />
?> " method="post" id="siteForm" name="productSearch" onSubmit="if(this.elements['filter'].value == '<?php echo JText::_('COM_CITRUSCART_SKU_MODEL_OR_KEYWORD'); ?> ') this.elements['filter'].value = '';"> <div class="form-group"> <label for="searchInput"> <?php echo JText::_('COM_CITRUSCART_SEARCH') . ': '; ?> </label> <?php if ($category_filter != '0') { ?> <?php echo CitruscartSelect::category($category_filter, 'filter_category', array('id' => 'citruscart_product_search', 'class' => 'form-control input-xs'), '', false, false, 'All Categories', '', '1'); ?> <?php } else { ?> <input type="hidden" name="filter_category" value="1" /> <?php } ?> </div> <div class="form-group"> <label> <input placeholder="<?php echo JText::_('MOD_CITRUSCART_SEARCH_SEARCH_PLACHOLDER'); ?> " type="text" class="form-control input-sm" name="filter" value="<?php
?> </th> <td style="width: 150px;"><?php echo CitruscartSelect::btbooleanlist('password_req_spec', 'class="inputbox"', $this->row->get('password_req_spec', '1')); ?> </td> <td><?php echo JText::_('COM_CITRUSCART_CONFIG_PASSWORD_REQUIRE_SPECIAL_DESC'); ?> <?php echo '~?!@#$%^&*{}[]()-=+.,:\\/"\\<>_;\\|'; ?> </td> </tr> <tr> <th style="width: 25%;"><?php echo JText::_('COM_CITRUSCART_CONFIG_LOWER_FILENAME'); ?> </th> <td style="width: 150px;"><?php echo CitruscartSelect::btbooleanlist('lower_filename', 'class="inputbox"', $this->row->get('lower_filename', '1')); ?> </td> <td><?php echo JText::_('COM_CITRUSCART_CONFIG_LOWER_FILENAME_DESC'); ?> </td> </tr> </tbody> </table>
<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();
<?php } ?> <input type="text" name="exchange_rate" id="exchange_rate" size="10" maxlength="250" value="<?php echo $row->exchange_rate; ?> " /> </td> </tr> <tr> <td width="100" align="right" class="key"> <label for="currency_enabled"> <?php echo JText::_('COM_CITRUSCART_ENABLED'); ?> : </label> </td> <td> <?php echo CitruscartSelect::btbooleanlist('currency_enabled', '', $row->currency_enabled); ?> </td> </tr> </table> <input type="hidden" name="id" value="<?php echo $row->currency_id; ?> " /> <input type="hidden" name="task" value="" /> </form>
<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 echo JText::_('COM_CITRUSCART_NUM'); ?> </th> <th style="width: 20px;"> <?php
<input type="hidden" value="<?php echo $item->productattributeoptionvalue_id; ?> " name="cid[<?php echo $item->productattributeoptionvalue_id; ?> ]" /> </td> <td style="text-align: left;"> <?php echo CitruscartSelect::productattributeoptionvaluefield($item->productattributeoptionvalue_field, "field[{$item->productattributeoptionvalue_id}]"); ?> </td> <td style="text-align: center;"> <?php echo CitruscartSelect::productattributeoptionvalueoperator($item->productattributeoptionvalue_operator, "operator[{$item->productattributeoptionvalue_id}]"); ?> </td> <td style="text-align: center;"> <input type="text" name="value[<?php echo $item->productattributeoptionvalue_id; ?> ]" value="<?php echo $item->productattributeoptionvalue_value; ?> " size="10" /> </td> <td style="text-align: center;"> [<a href="index.php?option=com_citruscart&controller=productattributeoptionvalues&task=delete&cid[]=<?php echo $item->productattributeoptionvalue_id; ?>