<?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' ); 
?>

<script type="text/javascript">
	function doClose()
	{
		window.top.location = '<?php echo JRoute::_('index.php?option=com_rsfiles&task=download&path='.urlencode($this->path).$this->itemid,false); ?>';
		window.top.setTimeout('window.parent.document.getElementById(\'sbox-window\').close()', 1000);
	}
</script>
<fieldset>
	<span style="margin-left:6px;margin-top:3px;position:fixed;"><?php echo JText::_('RSFL_FILENAME').' <strong>'.$this->file.'</strong>'; ?></span>
	<div style="text-align:right">
		<button type="button" onclick="doClose();"><?php echo JText::_('RSFL_I_AGREE'); ?></button>
		<button type="button" onclick="window.parent.document.getElementById('sbox-window').close();"><?php echo JText::_('RSFL_I_DISAGREE'); ?></button>
	</div>
	<span id="tst" style="display:none"></span>
</fieldset>
<br/>
<?php echo $this->license->LicenseText; ?>


