Exemplo n.º 1
0
            }
            if ($supplier->is_default == true) {
                ?>
 checked="checked" <?php 
            }
            ?>
 /></span></td>
				</tr>
				<?php 
        }
    }
    ?>
			</tbody>
		</table>
		<a class="btn btn-default btn-link bt-icon confirm_leave" href="<?php 
    echo JRoute::_('index.php?option=com_jeproshop&view=supplier&t&task=add&' . JeproshopTools::getSupplierToken() . '=1');
    ?>
">
			<i class="icon-plus"></i> <?php 
    echo JText::_('COM_JEPROSHOP_CREATE_NEW_SUPPLIER_LABEL');
    ?>
 <i class="icon-external-link-sign"></i>
		</a>
		<div class="panel-footer">
			<a href="<?php 
    echo JRoute::_('index.php?option=com_jeproshop&view=product');
    ?>
" class="btn btn-default"><i class="process-icon-cancel"></i> <?php 
    echo JText::_('COM_JEPROSHOP_CANCEL_LABEL');
    ?>
</a>
Exemplo n.º 2
0
                    <th class="nowrap center" width="8%" ><?php 
echo JText::_('COM_JEPROSHOP_STATUS_LABEL');
?>
</th>
                    <th class="nowrap" width="8%" ><?php 
echo JText::_('COM_JEPROSHOP_ACTIONS_LABEL');
?>
</th>
                </tr>
            </thead>
            <tbody>
            	<?php 
if (isset($this->suppliers) && count($this->suppliers)) {
    foreach ($this->suppliers as $index => $supplier) {
        $supplier_link = JRoute::_('index.php?option=com_jeproshop&view=supplier&task=edit&supplier_id=' . $supplier->supplier_id . '&' . JeproshopTools::getSupplierToken() . '=1');
        $delete_supplier_link = JRoute::_('index.php?option=com_jeproshop&view=supplier&task=delete&supplier_id=' . $supplier->supplier_id . '&' . JeproshopTools::getSupplierToken() . '=1');
        ?>
            	<tr class="row_<?php 
        echo $index % 2;
        ?>
" >
                    <td class="nowrap" ><?php 
        echo $index + 1;
        ?>
</td>
                    <td class="nowrap center" ><?php 
        echo JHtml::_('grid.id', $index, $supplier->supplier_id);
        ?>
</td>
                    <td class="nowrap" ><?php 
        echo ucfirst($supplier->name);
Exemplo n.º 3
0
" ><?php 
echo JText::_('COM_JEPROSHOP_META_KEYWORDS_LABEL');
?>
</label> </div>
                    <div class="controls" ><?php 
echo $this->helper->multiLanguageInputField('meta_keywords', null, false, $this->supplier->meta_keywords);
?>
</div>
                </div>
                <div class="control-group" >
                    <div class="control-label" ><label for="jform_published" title="<?php 
echo JText::_('COM_JEPROSHOP_PUBLISHED_TITLE_DESC');
?>
" ><?php 
echo JText::_('COM_JEPROSHOP_PUBLISHED_LABEL');
?>
</label> </div>
                    <div class="controls" ><?php 
echo $this->helper->radioButton('published', 'edit', $this->supplier->published);
?>
</div>
                </div>
            </div>
        </div>
        <input type="hidden" name="task" value="" />
        <input type="hidden" name="<?php 
echo JeproshopTools::getSupplierToken();
?>
" value="1" />
    </div>
</form>