Location: PHPKode > projects > Anahita Social Engine > admin/views/application/tmpl/form.php
<? defined('KOOWA') or die('Restricted access'); ?>

<? @helper('behavior.tooltip'); ?>

<script language="javascript" type="text/javascript">
	function checksubmit(form) 
	{
		var submitOK=true;
		var checkaction=form.action.value;
		// do field validation
		if (checkaction=='cancel') {
			return true;
		}
		
		return submitOK;
	}
</script>

<form action="<?= @route('&id='.@$application->id)?>" method="post" class="adminform" name="adminForm">
	<div class="col width-50">
	
		<fieldset class="adminform">
			<legend><?= JText::_( 'AN-SE-APPLICATION-DETAILS' ); ?></legend>
			
			<table class="admintable">
				<tr>
					<td width="100" align="right" class="key">
						<?= @text('AN-SE-APPLICATION-NAME') ?>
					</td>
					<td><?= @$application->name ?></td>
				</tr>
				
				<tr>
					<td width="100" align="right" class="key">
						<?= @text('AN-SE-APPLICATION-COMPONENT') ?>
					</td>
					<td><?= @$application->component ?></td>
				</tr>
				
				<tr>
					<td align="right" class="key">
						<label id="enabled_msg" for="enabled">
							<?= JText::_( 'AN-SE-APPLICATION-ENABLED' ); ?>:
						</label>
					</td>
					<td><?= @helper('select.booleanlist', 'enabled', null, @$application->enabled, 'yes', 'no', 'enabled'); ?></td>
				</tr>
				
				<tr>
					<td align="right" class="key">
						<label id="global_msg" for="global">
							<?= JText::_( 'AN-SE-APPLICATION-GLOBAL' ); ?>:
						</label>
					</td>
					<td><?= @helper('select.booleanlist', 'global', null, @$application->global, 'yes', 'no', 'global'); ?></td>
				</tr>
			</table>
			
		</fieldset>
	
	</div>
	<div class="col width-50">
		<fieldset class="adminform">
		<legend><?php echo JText::_( 'AN-SE-APPLICATION-PARAMETERS' ); ?></legend>
	</fieldset>
	</div>
	<div class="clr"></div>
</form>

<?= JHTML::_('behavior.keepalive') ?>
Return current item: Anahita Social Engine