Example #1
0
<?php

defined('_JEXEC') or die('Restricted access');
JHTML::_('script', 'tienda.js', 'media/com_tienda/js/');
$items = @$this->product_relations_data->items;
$form = @$this->form;
Tienda::load('TiendaHelperImage', 'helpers.image');
$image_addtocart = TiendaHelperImage::getLocalizedName("addcart.png", Tienda::getPath('images'));
?>

<form action="<?php 
echo JRoute::_(@$form['action']);
?>
" method="post" class="adminform" name="adminFormChildren" enctype="multipart/form-data" >
    
    <div class="reset"></div>

    <div id="product_children">
        <div id="product_children_header" class="tienda_header">
            <span><?php 
echo JText::_('COM_TIENDA_SELECT_THE_ITEMS_TO_ADD_TO_YOUR_CART');
?>
</span>
        </div>
        
        <table class="adminlist">
        <thead>
        <tr>
        	<th>
               
            </th>
Example #2
0
<?php

defined('_JEXEC') or die('Restricted access');
$min_length = Tienda::getInstance()->get('password_min_length', 5);
$req_num = Tienda::getInstance()->get('password_req_num', 1);
$req_alpha = Tienda::getInstance()->get('password_req_alpha', 1);
$req_spec = Tienda::getInstance()->get('password_req_spec', 1);
Tienda::load('TiendaHelperImage', 'helpers.image');
$image = TiendaHelperImage::getLocalizedName("help_tooltip.png", Tienda::getPath('images'));
$js_strings = array('COM_TIENDA_PASSWORD_VALID', 'COM_TIENDA_PASSWORD_INVALID', 'COM_TIENDA_PASSWORD_DO_NOT_MATCH', 'COM_TIENDA_PASSWORD_MATCH', 'COM_TIENDA_SUCCESS', 'COM_TIENDA_ERROR', 'COM_TIENDA_PASSWORD_MIN_LENGTH', 'COM_TIENDA_PASSWORD_REQ_ALPHA', 'COM_TIENDA_PASSWORD_REQ_NUMBER', 'COM_TIENDA_PASSWORD_REQ_SPEC');
TiendaHelperImage::addJsTranslationStrings($js_strings);
$enable_tooltips = Tienda::getInstance()->get('one_page_checkout_tooltips_enabled', 0);
?>

<div style="clear: both;width:100%;">
	<div class="form_item">
		<div class="form_key">
			<?php 
echo JText::_('COM_TIENDA_PASSWORD') . ': ' . TiendaGrid::required();
if ($enable_tooltips) {
    ?>
				<a class="img_tooltip" href="" > 
					<img src="<?php 
    echo Tienda::getUrl('images') . $image;
    ?>
" alt='<?php 
    echo JText::_('COM_TIENDA_HELP');
    ?>
' />
					<span>
						<?php