예제 #1
0
}
?>

<div id="djcatalog" class="djc_archived_list djc_list<?php 
echo $this->params->get('pageclass_sfx') . ' djc_theme_' . $this->params->get('theme', 'default');
?>
">

<?php 
if (!empty($this->feedlink) && $this->params->get('rss_feed_icon', 0) == '1' && $this->params->get('rss_enabled', '1') == '1' && !($this->params->get('showcatdesc') && $this->item && $this->item->id > 0)) {
    ?>
	<a class="djc_rss_link" href="<?php 
    echo $this->feedlink;
    ?>
"><img alt="RSS" src="<?php 
    echo DJCatalog2ThemeHelper::getThemeImage('rss_icon.png');
    ?>
" /></a>
<?php 
}
?>

<?php 
if (count($this->items) > 0 && ($this->params->get('show_category_orderby') > 0 || $this->params->get('show_producer_orderby') > 0 || $this->params->get('show_name_orderby') > 0 || $this->params->get('show_price_orderby') > 0 || count($this->sortables) > 0)) {
    ?>
	<div class="djc_order djc_clearfix">
		<?php 
    echo $this->loadTemplate('order');
    ?>
	</div>
<?php 
예제 #2
0
" title="<?php 
echo JText::_('COM_DJCATALOG2_GRID_LAYOUT');
?>
"><img src="<?php 
echo DJCatalog2ThemeHelper::getThemeImage('grid.png');
?>
" alt="<?php 
echo JText::_('COM_DJCATALOG2_GRID_LAYOUT');
?>
" /></a></li>
		<li><a class="btn<?php 
if ($active == 'table') {
    echo ' active';
}
?>
" href="<?php 
echo JRoute::_($layoutUrl . '&l=table');
?>
" title="<?php 
echo JText::_('COM_DJCATALOG2_TABLE_LAYOUT');
?>
"><img src="<?php 
echo DJCatalog2ThemeHelper::getThemeImage('table.png');
?>
" alt="<?php 
echo JText::_('COM_DJCATALOG2_TABLE_LAYOUT');
?>
" /></a></li>
	</ul>
</div>
예제 #3
0
파일: html.php 프로젝트: ForAEdesWeb/AEW3
 public static function orderDirImage($order_current, $order = 'i.ordering', $dir = 'asc')
 {
     if ($dir == 'desc') {
         $dir = 'asc';
     } else {
         $dir = 'desc';
     }
     if ($order_current == $order) {
         return '<img class="djcat_order_dir" alt="' . $dir . '" src="' . DJCatalog2ThemeHelper::getThemeImage($dir . '.png') . '" />';
     } else {
         return '';
     }
 }
예제 #4
0
    echo $this->params->get('social_code');
    ?>
		</div>
	<?php 
}
?>
	<?php 
$this->item->images = DJCatalog2ImageHelper::getImages('item', $this->item->id);
if ($this->item->images && (int) $this->params->get('show_image_item', 1) > 0) {
    echo $this->loadTemplate('images');
}
?>
	<h2 class="djc_title">
	<?php 
if ($this->item->featured == 1) {
    echo '<img class="djc_featured_image" alt="' . JText::_('COM_DJCATALOG2_FEATURED_ITEM') . '" title="' . JText::_('COM_DJCATALOG2_FEATURED_ITEM') . '" src="' . DJCatalog2ThemeHelper::getThemeImage('featured.png') . '" />';
}
?>
	<?php 
if ((int) $this->params->get('fed_edit_button', 0) == 1 && $edit_auth) {
    ?>
		<a class="btn btn-primary btn-mini button djc_edit_button" href="<?php 
    echo JRoute::_('index.php?option=com_djcatalog2&task=itemform.edit&id=' . $this->item->id);
    ?>
"><?php 
    echo JText::_('COM_DJCATALOG2_EDIT');
    ?>
</a>
	<?php 
}
?>
예제 #5
0
    }
    ?>
            	
            	<?php 
    if ($user->authorise('core.delete', 'com_djcatalog2') || $user->authorise('core.delete.own', 'com_djcatalog2')) {
        ?>
            	<a class="djc_formbutton djc_button_delete" href="<?php 
        echo JRoute::_('index.php?option=com_djcatalog2&task=myitems.delete&id=' . $item->id . '&' . JSession::getFormToken() . '=1');
        ?>
" 
            	onclick="return confirm('<?php 
        echo $this->escape(JText::_('COM_DJCATALOG2_DELETE_CONFIRM_MSG'));
        ?>
');">
            	<img src="<?php 
        echo DJCatalog2ThemeHelper::getThemeImage('btn_delete.png');
        ?>
" alt="<?php 
        echo JText::_('COM_DJCATALOG2_DELETE');
        ?>
" />
            	<span><?php 
        echo JText::_('COM_DJCATALOG2_DELETE');
        ?>
</span>
            	</a>
            	<?php 
    }
    ?>
            </td>
        </tr>