<?php
/**
 * JE GroupBuy package
 * @author J-Extension <contact@jextn.com>
 * @link http://www.jextn.com
 * @copyright (C) 2011 - 2012 J-Extension
 * @license GNU/GPL, see LICENSE.php for full license.
**/

// No direct access
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');

$params = $this->form->getFieldsets();
?>
<form action="<?php echo JRoute::_('index.php?option=com_jegroupbuy&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="category-form" class="form-validate">
	<table width="50%" cellpadding="0" cellspacing="0">
		<tr>
			<td width="50%">
				<div class="width-100">
					<fieldset class="adminform">
						<legend><?php echo JText::_( 'COM_JEGROUPBUY_FRONT_PAGE_DISPLAY_SETTINGS' ); ?></legend>
						<ul class="adminformlist">
							<li>
								<?php
									echo $this->form->getLabel('show_subscription');
									echo $this->form->getInput('show_subscription');
								?>
							</li>

							<li>
								<?php echo $this->form->getLabel('show_share'); ?>
								<?php echo $this->form->getInput('show_share'); ?>
							</li>
							<li>
								<?php
									echo $this->form->getLabel('show_googlemap');
									echo $this->form->getInput('show_googlemap');
								?>
							</li>

							<li>
								<?php echo $this->form->getLabel('show_comments'); ?>
								<?php echo $this->form->getInput('show_comments'); ?>
							</li>
							<li>
								<?php echo $this->form->getLabel('layout'); ?>
								<?php echo $this->form->getInput('layout'); ?>
							</li>
						</ul>
					</fieldset>
				</div>
				<input type="hidden" name="task" value="" />
				<?php echo JHtml::_('form.token'); ?>
			</td>

		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>
				<p class="copyright" align="center">
					<?php require_once( JPATH_COMPONENT . DS . 'copyright' . DS . 'copyright.php' ); ?>
				</p>
			</td>
		</tr>
</table>
</form>