Exemplo n.º 1
0
" id="filter_id_to" name="filter_id_to" value="<?php 
echo @$state->filter_id_to;
?>
" size="5" class="input input-tiny" />
                        </div>
                    </div>
                	
       
                </th>
                <th style="text-align: left;" colspan="2">
                	<input id="filter_name" name="filter_name" placeholder="Product Name..." type="text" value="<?php 
echo @$state->filter_name;
?>
" size="25"/>
                	<?php 
echo TiendaSelect::category(@$state->filter_category, 'filter_category', $attribs, 'category', true);
?>
                	<?php 
echo TiendaSelect::booleans(@$state->filter_ships, 'filter_ships', $attribs, 'ships', true, 'Requires Shipping', 'Yes', 'No');
?>
                	<?php 
echo TiendaSelect::taxclass(@$state->filter_taxclass, 'filter_taxclass', $attribs, 'taxclass', true, false);
?>
                </th>
                <th>
                	<input id="filter_sku" name="filter_sku" type="text" value="<?php 
echo @$state->filter_sku;
?>
" size="15"/>
                </th>
                <th>
Exemplo n.º 2
0
<div id="productSearch">
    <form action="<?php 
echo JRoute::_('index.php', false);
?>
" method="post" name="productSearch" onSubmit="if(this.elements['filter'].value == '<?php 
echo JText::_('COM_TIENDA_SKU_MODEL_OR_KEYWORD');
?>
') this.elements['filter'].value = '';">
        <?php 
echo JText::_('COM_TIENDA_SEARCH') . ': ';
?>
        <?php 
if ($category_filter != '0') {
    ?>
            <?php 
    echo TiendaSelect::category('', 'filter_category', '', '', false, false, 'All Categories', '', '1');
    ?>
        <?php 
} else {
    ?>
            <input type="hidden" name="filter_category" value="1" />    
        <?php 
}
?>
        <input type="text" name="filter" value="<?php 
echo JText::_($filter_text);
?>
" onclick="this.value='';"/> 
        <input type="submit" value="<?php 
echo JText::_('COM_TIENDA_SUBMIT');
?>
Exemplo n.º 3
0
" type="text" size="48" maxlength="250" />
                        </td>
                    </tr>
    				<tr>
    					<td style="width: 100px; text-align: right;" class="key">
    						<label for="parent_id">
    						<?php 
echo JText::_('COM_TIENDA_PARENT');
?>
:
    						</label>
    					</td>
    					<td>
    						<?php 
$disabled = array(@$row->category_id);
echo TiendaSelect::category(@$row->parent_id, 'parent_id', '', 'parent_id', false, true, 'Select Category', 'COM_TIENDA_NO_PARENT', null, $disabled);
?>
    					</td>
    				</tr>
    				<tr>
    					<td style="width: 100px; text-align: right;" class="key">
    						<label for="enabled">
    						<?php 
echo JText::_('COM_TIENDA_ENABLED');
?>
:
    						</label>
    					</td>
    					<td>
    						<?php 
echo TiendaSelect::btbooleanlist('category_enabled', '', @$row->category_enabled);
Exemplo n.º 4
0
" />
                <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 nowrap="nowrap">
                <?php 
$attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'document.adminForm.submit();');
?>
                <?php 
echo TiendaSelect::category(@$state->filter_parentid, 'filter_parentid', $attribs, 'parentid', true, true);
?>
            </td>
        </tr>
    </table>
	
	<table class="table table-striped table-bordered" style="clear: both;">
		<thead>
            <tr>
                <th style="width: 5px;">
                	<?php 
echo JText::_('COM_TIENDA_NUM');
?>
                </th>
                <th style="width: 20px;">
                	<input type="checkbox" name="toggle" value="" onclick="checkAll(<?php 
Exemplo n.º 5
0
        </td>
    </tr>
    <?php 
if (empty($row->product_id)) {
    // doing a new product, so collect default info
    ?>
    <tr>
        <td class="dsc-key">
        <label for="category_id"> <?php 
    echo JText::_('COM_TIENDA_PRODUCT_CATEGORY');
    ?>
:
        </label>
        </td>
        <td><?php 
    echo TiendaSelect::category('', 'category_id', '', 'category_id');
    ?>
            <div class="note well">
                <?php 
    echo JText::_('COM_TIENDA_SET_INITIAL_CATEGORY_NOW_ADDITIONAL_ONES_LATER');
    ?>
            </div>
        </td>
    </tr>
    <?php 
} else {
    // display lightbox link to manage categories
    ?>
    <tr>
        <td class="dsc-key"><?php 
    echo JText::_('COM_TIENDA_CATEGORIES');
Exemplo n.º 6
0
            <input id="filter_name" name="filter_name" value="<?php 
echo @$state->filter_name;
?>
" size="25" class="text_area" />
        </div>            

        <div class="row filtermulticategory" >
            <span class="label"><?php 
echo JText::_('COM_TIENDA_CATEGORY');
?>
: </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