?> </a> </h3> <?php } ?> <?php if (!empty($citem->category_full_image) || $config->get('use_default_category_image', '1')) { ?> <div class="dsc-wrap subcategory_thumb"> <a href="<?php echo JRoute::_("index.php?option=com_tienda&view=products&filter_category=" . $citem->category_id . $citem->slug . $citem->itemid_string); ?> "> <?php echo TiendaHelperCategory::getImage($citem->category_id); ?> </a> </div> <?php } ?> </div> <?php if ($i + 1 >= $subcategories_per_line) { ?> <div class="reset"></div> <?php $i = 0; } else { $i++;
<?php defined('_JEXEC') or die('Restricted access'); JHTML::_('script', 'tienda.js', 'media/com_tienda/js/'); $state = @$this->state; $item = @$this->row; ?> <div id="tienda" class="products view"> <div id='tienda_breadcrumb'> <?php echo TiendaHelperCategory::getPathName($this->cat->category_id, 'links', true); ?> </div> <div id="tienda_product"> <?php if (!empty($this->onBeforeDisplayProduct)) { ?> <div id='onBeforeDisplayProduct_wrapper'> <?php echo $this->onBeforeDisplayProduct; ?> </div> <?php } ?> <div id='tienda_product_header'>
] <?php $categories = $helper_product->getCategories($row->product_id); ?> <div id="current_categories"> <?php foreach (@$categories as $category) { ?> [<a href="<?php echo "index.php?option=com_tienda&view=products&task=selected_disable&id=" . $row->product_id . "&cid[]=" . $category . "&return=" . base64_encode("index.php?option=com_tienda&view=products&task=edit&id=" . $row->product_id); ?> "> <?php echo JText::_('COM_TIENDA_REMOVE'); ?> </a>] <?php echo TiendaHelperCategory::getPathName($category); ?> <br /> <?php } ?> </div> </td> </tr> <?php } ?> </table> <?php
</td> </tr> <tr> <td style="width: 100px; text-align: right;" class="key"> <label for="category_full_image"> <?php echo JText::_('COM_TIENDA_CURRENT_IMAGE'); ?> : </label> </td> <td> <?php jimport('joomla.filesystem.file'); if (!empty($row->category_full_image) && JFile::exists(Tienda::getPath('categories_images') . DS . $row->category_full_image)) { echo TiendaUrl::popup(Tienda::getClass('TiendaHelperCategory', 'helpers.category')->getImage($row->category_id, '', '', 'full', true), TiendaHelperCategory::getImage($row->category_id), array('update' => false, 'img' => true)); } ?> <br /> <input type="text" name="category_full_image" id="category_full_image" size="48" maxlength="250" value="<?php echo @$row->category_full_image; ?> " /> </td> </tr> <tr> <td style="width: 100px; text-align: right;" class="key"> <label for="category_full_image_new"> <?php echo JText::_('COM_TIENDA_UPLOAD_NEW_IMAGE'); ?>
echo TiendaGrid::checkedout($item, $i, 'category_id'); ?> </td> <td style="text-align: center;"> <a href="<?php echo $item->link; ?> "> <?php echo $item->category_id; ?> </a> </td> <td style="text-align: center;"> <?php echo TiendaHelperCategory::getImage($item->category_full_image, '', JText::_($item->category_name)); ?> </td> <td style="text-align: left;"> <a href="<?php echo $item->link; ?> "> <?php echo str_repeat('. ', $item->level - 1) . JText::_($item->name); ?> </a> <br/> <?php $layout = Tienda::getClass('TiendaHelperCategory', 'helpers.category')->getLayout($item->category_id); if ($layout != 'default') {