<?php

/**

 * @copyright	Copyright (C) 2009-2011 ACYBA SARL - All rights reserved.

 * @license		http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL

 */

defined('_JEXEC') or die('Restricted access');

?>

<div id="acy_content">

<div id="iframedoc"></div>

<form action="index.php?option=<?php echo ACYMAILING_COMPONENT ?>" method="post" name="adminForm" autocomplete="off">

	<fieldset>

		<div class="header" style="float: left;"><?php echo $this->type.'_'.$this->fileName.'.css'; ?></div>

		<div class="toolbar" id="toolbar" style="float: right;">

			<table><tr>

			<td><a onclick="javascript:submitbutton('savecss'); return false;" href="#" ><span class="icon-32-save" title="<?php echo JText::_('ACY_SAVE',true); ?>"></span><?php echo JText::_('ACY_SAVE'); ?></a></td>

			</tr></table>

		</div>

	</fieldset>
	<textarea style="width:100%" rows="20" name="csscontent" ><?php echo $this->content; ?></textarea>
	<input type="hidden" name="option" value="<?php echo ACYMAILING_COMPONENT; ?>" />

	<input type="hidden" name="task" value="savecss" />

	<input type="hidden" name="ctrl" value="file" />

	<input type="hidden" name="file" value="<?php echo $this->type.'_'.$this->fileName; ?>" />

	<input type="hidden" name="var" value="<?php echo JRequest::getCmd('var'); ?>" />

	<?php echo JHTML::_( 'form.token' ); ?>

</form>

</div>