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

<? $i = 0; $m = 0; ?>
<? foreach (@$applications as $application) : ?>
<tr class="<?php echo 'row'.$m; ?>">
	<td align="center">
		<?= $i + 1; ?>
	</td>
	<td align="center">
		<?= @helper('grid.id', $i, $application); ?>
	</td>
	<td>
		<span class="editlinktip hasTip" title="<?= @$escape($application->name); ?>">
			<?= @$escape($application->name); ?>
		</span>
	</td>
	<td><?= $application->component ?></td>
	<td>
		<input type="text" name="order[]" size="5" value="<?= $application->order;?>" class="text_area" style="text-align: center" />
	</td>	
	<td align="center" width="15px">
		<a href="<?=@route('action='.($application->enabled ? 'disable' : 'enable').'&id[]='.$application->id) ?>">
		<?= @helper('grid.boolean',    $application->enabled) ?>
		</a>
	</td>
	<td align="center" width="1%">
		<a href="<?=@route('action='.($application->isGlobal ? 'unglobolize' : 'globolize').'&id[]='.$application->id) ?>">
			<?= @helper('grid.boolean', $application->isGlobal) ?>
		</a>
	</td>
	<td align="center" width="1%">
		<?= $application->id; ?>
	</td>
</tr>
<? $i = $i + 1; $m = (1 - $m); ?>
<? endforeach; ?>
Return current item: Anahita Social Engine