<?php defined('_JEXEC') or die('Restricted access'); ?>
<?php JHTML::_('behavior.tooltip'); ?>
<?php
	JToolBarHelper::title(  JText::_( 'Settings' ), 'kip.png'  );
	JToolBarHelper::save('save');
	JToolBarHelper::apply('apply');
?>

<script language="javascript" type="text/javascript">
	function submitbutton(pressbutton) {
		submitform( pressbutton );
	}
</script>
<form action="index.php" method="post" name="adminForm">
<div class="col100">
	<fieldset class="adminform">
	<legend><?php echo JText::_('Frontend IP filtering settings') ?></legend>
	<table class="admintable">
		<tr>
			<td style="width:100px" class="key">
				<label for="title">
					<?php echo JText::_( 'Mode' ); ?>:
				</label>
			</td>
			<td style="width:250px">
				<?php echo $this->settings['site.filtering_mode']->control; ?>
			</td>
			<td>
				&nbsp;&nbsp;<span class="editlinktip hasTip" title="<?php echo JText::_('SITE_FMODE_TIP_TITLE').'::'.JText::_('SITE_FMODE_TIP_TEXT')?>">
					<?php echo JHTML::_('image.administrator',  'help.png', '/components/com_kip/assets/images/' ); ?>
				</span>
			</td>
		</tr>
		<tr>
			<td style="width:100px" class="key">
				<label for="title">
					<?php echo JText::_( 'Action' ); ?>:
				</label>
			</td>
			<td>
				<?php echo $this->settings['site.filtering_action']->control; ?>
			</td>
			<td>
				&nbsp;&nbsp;<span class="editlinktip hasTip" title="<?php echo JText::_('SITE_FACTION_TIP_TITLE').'::'.JText::_('SITE_FACTION_TIP_TEXT')?>">
					<?php echo JHTML::_('image.administrator',  'help.png', '/components/com_kip/assets/images/' ); ?>
				</span>
			</td>
		</tr>
		<tr>
			<td style="width:100px" class="key">
				<label for="title">
					<?php echo JText::_( 'Warning' ); ?>:
				</label>
			</td>
			<td>
				<?php echo $this->settings['site.filtering_warning']->control; ?>
			</td>
			<td>
				&nbsp;&nbsp;<span class="editlinktip hasTip" title="<?php echo JText::_('SITE_FMESSAGE_TIP_TITLE').'::'.JText::_('SITE_FMESSAGE_TIP_TEXT')?>">
					<?php echo JHTML::_('image.administrator',  'help.png', '/components/com_kip/assets/images/' ); ?>
				</span>
			</td>
		</tr>

	</table>
	</fieldset>
	<fieldset class="adminform">
	<legend><?php echo JText::_('Backend IP filtering settings') ?></legend>
	<table class="admintable">
		<tr>
			<td style="width:100px" class="key">
				<label for="title">
					<?php echo JText::_( 'Mode' ); ?>:
				</label>
			</td>
			<td style="width:250px">
				<?php echo $this->settings['admin.filtering_mode']->control; ?>
			</td>
			<td>
				&nbsp;&nbsp;<span class="editlinktip hasTip" title="<?php echo JText::_('SITE_BMODE_TIP_TITLE').'::'.JText::_('SITE_BMODE_TIP_TEXT')?>">
					<?php echo JHTML::_('image.administrator',  'help.png', '/components/com_kip/assets/images/' ); ?>
				</span>
			</td>
		</tr>
		<tr>
			<td style="width:100px" class="key">
				<label for="title">
					<?php echo JText::_( 'Action' ); ?>:
				</label>
			</td>
			<td>
				<?php echo $this->settings['admin.filtering_action']->control; ?>
			</td>
			<td>
				&nbsp;&nbsp;<span class="editlinktip hasTip" title="<?php echo JText::_('SITE_BACTION_TIP_TITLE').'::'.JText::_('SITE_BACTION_TIP_TEXT')?>">
					<?php echo JHTML::_('image.administrator',  'help.png', '/components/com_kip/assets/images/' ); ?>
				</span>
			</td>
		</tr>
		<tr>
			<td style="width:100px" class="key">
				<label for="title">
					<?php echo JText::_( 'Warning' ); ?>:
				</label>
			</td>
			<td>
				<?php echo $this->settings['admin.filtering_warning']->control; ?>
			</td>
			<td>
				&nbsp;&nbsp;<span class="editlinktip hasTip" title="<?php echo JText::_('SITE_BMESSAGE_TIP_TITLE').'::'.JText::_('SITE_BMESSAGE_TIP_TEXT')?>">
					<?php echo JHTML::_('image.administrator',  'help.png', '/components/com_kip/assets/images/' ); ?>
				</span>
			</td>
		</tr>

	</table>
	</fieldset>
	<fieldset class="adminform">
	<legend><?php echo JText::_('Users IP filtering settings') ?></legend>
	<table class="admintable">
		<tr>
			<td style="width:100px" class="key">
				<label for="title">
					<?php echo JText::_( 'Mode' ); ?>:
				</label>
			</td>
			<td style="width:250px">
				<?php echo $this->settings['users.filtering_mode']->control; ?>
			</td>
			<td>
				&nbsp;&nbsp;<span class="editlinktip hasTip" title="<?php echo JText::_('SITE_UMODE_TIP_TITLE').'::'.JText::_('SITE_UMODE_TIP_TEXT')?>">
					<?php echo JHTML::_('image.administrator',  'help.png', '/components/com_kip/assets/images/' ); ?>
				</span>
			</td>
		</tr>
		<tr>
			<td style="width:100px" class="key">
				<label for="title">
					<?php echo JText::_( 'Warning' ); ?>:
				</label>
			</td>
			<td>
				<?php echo $this->settings['users.filtering_warning']->control; ?>
			</td>
			<td>
				&nbsp;&nbsp;<span class="editlinktip hasTip" title="<?php echo JText::_('SITE_UMESSAGE_TIP_TITLE').'::'.JText::_('SITE_UMESSAGE_TIP_TEXT')?>">
					<?php echo JHTML::_('image.administrator',  'help.png', '/components/com_kip/assets/images/' ); ?>
				</span>
			</td>
		</tr>

	</table>
	</fieldset>
</div>
<div class="clr"></div>

	<input type="hidden" name="task" value="" />
	<input type="hidden" name="option" value="<?php echo $this->option ?>" />
	<input type="hidden" name="view" value="<?php echo $this->view ?>" />
	<?php echo JHTML::_( 'form.token' ); ?>
</form>