<?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' ); 
?>
<form action="<?php echo JRoute::_('index.php?option=com_rsfiles&controller=files&task=emailsend'.$this->itemid); ?>" method="post" name="adminForm" id="adminForm" enctype="multipart/form-data">
<br/>
<?php echo JText::_('RSFL_EMAIL_DESCRIPTION'); ?>
<br/><br/><br/>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
	<tr align="center">
		<td valign="top">
			<table  class="adminform">
				<tr>
					<td>
						<label for="rsfl_email">
							<?php echo JText::_( 'RSFL_EMAIL' ).':'; ?>
						</label>
					</td>
					<td>
						<input id="rsfl_email" type="text" name="rsfl_email" value="" size="40" /> 
						<button type="submit" onclick="window.top.setTimeout('window.parent.document.getElementById(\'sbox-window\').close()', 700);"><?php echo JText::_('RSFL_SEND_BTN'); ?></button>
						<button type="button" onclick="window.parent.document.getElementById('sbox-window').close();"><?php echo JText::_('RSFL_CANCEL_BTN'); ?></button>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<?php echo JHTML::_( 'form.token' ); ?>
<input type="hidden" name="option" value="com_rsfiles" />
<input type="hidden" name="controller" value="files" />
<input type="hidden" name="task" value="emailsend" />
<input type="hidden" name="path" value="<?php echo JRequest::getVar('path','','request'); ?>" />
</form>

<?php
//keep session alive while editing
JHTML::_('behavior.keepalive');
?>