Location: PHPKode > projects > AcyMailing > back/views/filter/tmpl/load.php
<?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');
?>
<?php
defined('_JEXEC') or die('Restricted access');
?>
<table class="adminlist" cellpadding="1">
	<thead>
		<tr>
			<th class="title">
				<?php echo JText::_('ACY_FILTER'); ?>
			</th>
			<th class="title titletoggle">
				<?php echo JText::_('PUBLISHED'); ?>
			</th>
			<th class="title titletoggle" >
				<?php echo JText::_( 'DELETE' ); ?>
			</th>
			<th class="title titleid">
				<?php echo JText::_( 'ID' ); ?>
			</th>
		</tr>
	</thead>
	<tbody>
		<?php
			$k = 0;
			foreach($this->filters as $row){
				$publishedid = 'published_'.$row->filid;
				$id = 'filter_'.$row->filid;
		?>
			<tr class="<?php echo "row$k"; ?>" id="<?php echo $id; ?>">
				<td style="cursor:pointer" onclick="window.top.location.href = 'index.php?option=com_acymailing&ctrl=filter&task=edit&filid=<?php echo $row->filid; ?>';">
					<?php
						echo acymailing::tooltip($row->description, $row->name, '', $row->name);
					?>
				</td>
				<td align="center">
						<span id="<?php echo $publishedid ?>" class="loading"><?php echo $this->toggleClass->toggle($publishedid,(int) $row->published,'filter') ?></span>
				</td>
				<td align="center">
					<?php echo $this->toggleClass->delete($id,$row->filid.'_'.$row->filid,'filter',true); ?>
				</td>
				<td width="1%" align="center" style="cursor:pointer" onclick="window.top.location.href = 'index.php?option=com_acymailing&ctrl=filter&task=edit&filid=<?php echo $row->filid; ?>';">
					<?php echo $row->filid; ?>
				</td>
			</tr>
		<?php
				$k = 1-$k;
			}
		?>
	</tbody>
</table>
Return current item: AcyMailing