?
Path : /home/admin/public_html/old/administrator/components/com_xijc/views/manager/tmpl/ |
Current File : /home/admin/public_html/old/administrator/components/com_xijc/views/manager/tmpl/default.php |
<?php // Disallow direct access to this file defined('_JEXEC') or die('Restricted access'); ?> <form action="<?php echo JURI::base();?>index.php?option=com_xijc" method="post" name="adminForm"> <table class="adminlist" cellspacing="1" style="width:58%; float:left;" > <thead> <tr class="title"> <th width="1%"> <?php echo JText::_( 'Num' ); ?> </th> <th width="1%"> <input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count( $this->components ); ?>);" /> </th> <th> <?php echo JText::_( 'COMPONENT NAME' ); ?> </th> <th width="30%"> <?php echo JText::_( 'ENABLE' ); ?> </th> </tr> </thead> <?php $count = 0; $i = 0; foreach($this->components as $com) { $input = JHTML::_('grid.id', $count, $com->id); ++$i; ?> <tr class="row<?php echo $i%2;?>" id="rowid<?php echo $com->id;?>"> <td><?php echo $i;?></td> <td> <?php echo $input; ?> </td> <td> <?php echo $com->name; ?> </td> <td align="center" id="enable<?php echo $com->id;?>"> <a href="javascript:void(0);" onclick="return listItemTask('cb<?php echo $i-1;?>','<?php echo $this->enablecom[$com->option] ? 'unpublish' : 'publish' ?>')"> <?php if($this->enablecom[$com->option]) { ?> <img src="images/tick.png" width="16" height="16" border="0" alt="Enabled" /> <?php } else { ?> <img src="images/publish_x.png" width="16" height="16" border="0" alt="Disabled" /> <?php } ?> </a> </td> </tr> <?php $count++; } ?> <tfoot> <tr> <td colspan="15"> <?php echo $this->pagination->getListFooter(); ?> </td> </tr> </tfoot> </table> <div style="float:inherit; margin-left:60%;"> <?php echo $this->pane->startPane( 'stat-pane' ); require_once("helpPanel.php"); echo $this->pane->endPane(); ?> </div> <input type="hidden" name="view" value="manager" /> <input type="hidden" name="task" value="" /> <input type="hidden" name="option" value="com_xijc" /> <input type="hidden" name="boxchecked" value="0" /> <?php echo JHTML::_( 'form.token' ); ?> </form>