$url = 'index.php?option=com_users&view=users&layout=modal&tmpl=component&field=jform_user_id';
?>
							<?php 
echo J2StorePopup::popup($url, '<i class="icon icon-user"></i>', array('class' => 'btn btn-primary modal_jform_created_by'));
?>
							</div>
						</div>
						<td>
						<?php 
echo JText::_('J2STORE_FILTER_PAYMENTS');
?>
:
							<?php 
echo J2Html::select()->clearState()->type('genericlist')->name('paykey')->value($this->state->paykey)->attribs(array('onchange' => 'this.form.submit', 'class' => 'j2store-order-filters'))->setPlaceHolders(array('' => JText::_('J2STORE_SELECT_OPTION')))->hasOne('Payments')->setRelations(array('fields' => array('key' => 'element', 'name' => 'element')))->getHtml();
?>
						</td>
						</tr>
						<tr>
						<td colspan="2">
							<?php 
echo J2Html::button('advanced_search', JText::_('J2STORE_APPLY_FILTER'), array('class' => 'btn btn-success', 'onclick' => 'this.form.submit();'));
?>
							<?php 
echo J2Html::button('reset_advanced_filters', JText::_('J2STORE_FILTER_RESET'), array('class' => 'btn btn-inverse', 'onclick' => 'resetAdvancedFilters()'));
?>
						</td>
					</tr>
				</table>
			</div>

		</div>
Exemplo n.º 2
0
			<tr>
			<td align="left" width="100%"><?php 
echo JText::_('J2STORE_FILTER_SEARCH');
?>
:
				<?php 
$search = htmlspecialchars($this->state->search);
?>
				<?php 
echo J2Html::text('search', $search, array('id' => 'search', 'class' => 'input j2store-order-filters'));
?>
				<?php 
echo J2Html::button('go', JText::_('J2STORE_FILTER_GO'), array('class' => 'btn btn-success', 'onclick' => 'this.form.submit();'));
?>
				<?php 
echo J2Html::button('reset', JText::_('J2STORE_FILTER_RESET'), array('id' => 'reset-filter-search', 'class' => 'btn btn-inverse'));
?>
			</td>

			<td nowrap="nowrap">
			<?php 
echo JText::_('J2STORE_FILTER_ORDER_STATUS');
?>
:
			<?php 
echo J2Html::select()->type('genericlist')->name('orderstate')->value($this->state->orderstate)->attribs(array('onchange' => 'this.form.submit();', 'class' => 'input j2store-order-filters'))->setPlaceHolders(array('' => JText::_('J2STORE_SELECT_OPTION')))->hasOne('Orderstatuses')->ordering('ordering')->setRelations(array('fields' => array('key' => 'j2store_orderstatus_id', 'name' => 'orderstatus_name')))->getHtml();
?>
			</td>
			<td><?php 
echo $this->pagination->getLimitBox();
?>
Exemplo n.º 3
0
		</td>
		<td>
			<div class="input-prepend">
				<span class="add-on">
					<?php 
echo J2html::label(JText::_('J2STORE_PRODUCT_TYPE'), 'product_type', array('class' => 'control-label'));
?>
				</span>
				<?php 
echo J2Html::select()->clearState()->type('genericlist')->name('product_type')->attribs(array('class' => 'input-small j2store-product-filters', 'onchange' => 'this.form.submit();'))->value($this->state->product_type)->setPlaceHolders($this->product_types)->getHtml();
?>
				</div>
		</td>
		<td>
			<?php 
echo J2Html::button('reset', JText::_('J2STORE_FILTER_RESET_ALL'), array('id' => 'reset-all-filter', 'class' => 'btn btn-danger', 'onclick' => 'j2storeResetAllFilters();'));
?>
		</td>
		<td>
			<?php 
if ($this->state->since || $this->state->until || $this->state->visible || $this->state->taxprofile_id || $this->state->vendor_id || $this->state->manufacturer_id || $this->state->productid_from || $this->state->productid_to || $this->state->pricefrom || $this->state->priceto || $this->state->visible) {
    ?>
						<input id="hideBtnAdvancedControl" class="btn btn-inverse" type="button" onclick="jQuery('#advanced-search-controls').toggle('click');jQuery(this).toggle('click');jQuery('#showBtnAdvancedControl').toggle('click');" value="<?php 
    echo JText::_('J2STORE_HIDE_FILTER_ADVANCED');
    ?>
"/>
						<input id="showBtnAdvancedControl" class="btn btn-success" type="button" onclick="jQuery('#advanced-search-controls').toggle('click');jQuery(this).toggle('click');jQuery('#hideBtnAdvancedControl').toggle('click');" value="<?php 
    echo JText::_('J2STORE_SHOW_FILTER_ADVANCED');
    ?>
" style="display:none;" />
					<?php 
Exemplo n.º 4
0
			<tr>
			<td align="left" width="100%"><?php 
echo JText::_('J2STORE_FILTER_SEARCH');
?>
:
				<?php 
echo $search = htmlspecialchars(@$this->state->search);
?>
				<?php 
echo J2Html::text('country_name', $search, array('id' => 'search', 'class' => 'input j2store-zone-filters'));
?>
				<?php 
echo J2Html::button('go', JText::_('J2STORE_FILTER_GO'), array('class' => 'btn btn-success', 'onclick' => 'this.form.submit();'));
?>
				<?php 
echo J2Html::button('reset', JText::_('J2STORE_FILTER_RESET'), array('id' => 'filter-reset', 'class' => 'btn btn-inverse', 'onclick' => 'resetFilter()'));
?>
			</td>
			<td><?php 
echo $this->pagination->getLimitBox();
?>
</td>
			<td>
			<input class="btn btn-success" type="button" value="<?php 
echo JText::_('J2STORE_IMPORT_COUNTRIES');
?>
" onclick="if (document.adminForm.boxchecked.value==0){alert('Please first make a selection from the list');}else{jQuery('#view').attr('value','geozones');jQuery('#task').attr('value','importcountry');this.form.submit();}" />
			</td>
		</tr>
</table>
<script type="text/javascript">