<?php
/**
* @version 1.0.0
* @package RSFiles! 1.0.0
* @copyright (C) 2009 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/

defined( '_JEXEC' ) or die( 'Restricted access' ); 
?>
<br/>
<table width="100%">
	<tr>
		<td width="100">
			<a style="text-decoration:none;" href="<?php echo JRoute::_('index.php?option=com_rsfiles&view=files'.$this->itemid); ?>"><img style="vertical-align:middle;" src="<?php echo JURI::root().'components/com_rsfiles/images/icons/home.png'; ?>" alt="<?php echo JText::_('RSFL_HOME'); ?>" /> <?php echo JText::_('RSFL_HOME'); ?></a>
		</td>
		<?php if($this->rsfilesConfig['show_search'] == 1) { ?>
		<td width="100">
			<a style="text-decoration:none;" href="<?php echo JRoute::_('index.php?option=com_rsfiles&view=files&layout=search'.$this->itemid); ?>"><img style="vertical-align:middle;" src="<?php echo JURI::root().'components/com_rsfiles/images/icons/search.png'; ?>" alt="<?php echo JText::_('RSFL_SEARCH'); ?>" /> <?php echo JText::_('RSFL_SEARCH'); ?></a>
		</td>
		<?php } ?>
		<td width="100">
			<a style="text-decoration:none;" href="<?php echo JRoute::_('index.php?option=com_rsfiles&view=files&layout=details'.$this->currentpath.$this->itemid); ?>"><img style="vertical-align:middle;" src="<?php echo JURI::root().'components/com_rsfiles/images/icons/details.png'; ?>" alt="<?php echo JText::_('RSFL_DETAILS'); ?>" /> <?php echo JText::_('RSFL_DETAILS'); ?></a>
		</td>
		<?php if($this->maintenance) { ?>
		<td width="100">
			<a style="text-decoration:none;" onclick="if(!confirm('<?php echo JText::_('RSFL_DELETE_FILE_MESSAGE',true); ?>')) return false;" href="<?php echo JRoute::_('index.php?option=com_rsfiles&task=removefile&controller=files'.$this->currentpath.$this->itemid); ?>"><img style="vertical-align:middle;" src="<?php echo JURI::root().'components/com_rsfiles/images/icons/delete.png'; ?>" alt="<?php echo JText::_('RSFL_DELETE'); ?>" /> <?php echo JText::_('RSFL_DELETE'); ?></a>
		</td>
		<td width="100">
			<a style="text-decoration:none;" href="<?php echo JRoute::_('index.php?option=com_rsfiles&view=files&layout=edit'.$this->currentpath.$this->itemid); ?>"><img style="vertical-align:middle;" src="<?php echo JURI::root().'components/com_rsfiles/images/icons/edit.png'; ?>" alt="<?php echo JText::_('RSFL_EDIT'); ?>" /> <?php echo JText::_('RSFL_EDIT'); ?></a>
		</td>
		<?php } ?>
			<?php	
				$this->previous = str_replace($this->rsfilesConfig['download_folder'].DS,'',$this->previous);
				$previous = empty($this->previous) ? '' : '&folder='.$this->previous ;
			?>
		<td width="100">
			<a style="text-decoration:none;" class="modal" rel="{handler:'iframe' ,size: {x:450, y:250}}" href="<?php echo JRoute::_('index.php?option=com_rsfiles&view=files&layout=report'.$this->currentpath.$this->itemid); ?>"><img style="vertical-align:middle;" src="<?php echo JURI::root().'components/com_rsfiles/images/icons/report.png'; ?>" alt="<?php echo JText::_('RSFL_REPORT'); ?>" /> <?php echo JText::_('RSFL_REPORT'); ?></a>
		</td>
		<?php if($this->candownload) { ?>
		<td width="100">
			<a style="text-decoration:none;" href="javascript:void(0);" onclick="rsf_bookmark('<?php echo JRoute::_('index.php?option=com_rsfiles&task=bookmark&controller=files'); ?>','<?php echo $this->db->getEscaped(JRequest::getVar('path')); ?>')"><img style="vertical-align:middle;" src="<?php echo JURI::root().'components/com_rsfiles/images/icons/bookmark.png'; ?>" alt="<?php echo JText::_('RSFL_BOOKMARK'); ?>" /> <?php echo JText::_('RSFL_BOOKMARK'); ?></a>
		</td>
		<?php } ?>
		<td width="100">
			<a style="text-decoration:none;" href="<?php echo JRoute::_('index.php?option=com_rsfiles&view=files'.$previous.$this->itemid); ?>"><img style="vertical-align:middle;" src="<?php echo JURI::root().'components/com_rsfiles/images/icons/back.png'; ?>" alt="<?php echo JText::_('RSFL_BACK'); ?>" /> <?php echo JText::_('RSFL_BACK'); ?></a>
		</td>
		<td>&nbsp;</td>
	</tr>
</table>
<br/><br/>
<?php echo $this->layout; ?>


