| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php defined('_JEXEC') or die('Restricted access'); ?> 2 3 <?php JHTML::_('behavior.tooltip'); ?> 4 5 <?php 6 JToolBarHelper::title( JText::_( 'Plugin Manager' ), 'plugin.png' ); 7 JToolBarHelper::publishList(); 8 JToolBarHelper::unpublishList(); 9 JToolBarHelper::editListX(); 10 JToolBarHelper::help( 'screen.plugins' ); 11 $ordering = ($this->lists['order'] == 'p.folder' || $this->lists['order'] == 'p.ordering'); 12 $rows =& $this->items; 13 14 ?> 15 16 <form action="index.php" method="post" name="adminForm"> 17 <table> 18 <tr> 19 <td align="left" width="100%"> 20 <?php echo JText::_( 'Filter' ); ?>: 21 <input type="text" name="search" id="search" value="<?php echo htmlspecialchars($this->lists['search']);?>" class="text_area" onchange="document.adminForm.submit();" /> 22 <button onclick="this.form.submit();"><?php echo JText::_( 'Go' ); ?></button> 23 <button onclick="document.getElementById('search').value='';this.form.submit();"><?php echo JText::_( 'Reset' ); ?></button> 24 </td> 25 <td nowrap="nowrap"> 26 <?php 27 echo $this->lists['type']; 28 echo $this->lists['state']; 29 ?> 30 </td> 31 </tr> 32 </table> 33 34 <table class="adminlist"> 35 <thead> 36 <tr> 37 <th width="20"> 38 <?php echo JText::_( 'Num' ); ?> 39 </th> 40 <th width="20"> 41 <input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count( $rows );?>);" /> 42 </th> 43 <th class="title"> 44 <?php echo JHTML::_('grid.sort', 'Plugin Name', 'p.name', @$this->lists['order_Dir'], @$this->lists['order'] ); ?> 45 </th> 46 <th nowrap="nowrap" width="5%"> 47 <?php echo JHTML::_('grid.sort', 'Published', 'p.published', @$this->lists['order_Dir'], @$this->lists['order'] ); ?> 48 </th> 49 <th width="8%" nowrap="nowrap"> 50 <?php echo JHTML::_('grid.sort', 'Order', 'p.ordering', @$this->lists['order_Dir'], @$this->lists['order'] ); ?> 51 <?php if ($ordering) echo JHTML::_('grid.order', $rows ); ?> 52 </th> 53 <th nowrap="nowrap" width="10%"> 54 <?php echo JHTML::_('grid.sort', 'Access', 'groupname', @$this->lists['order_Dir'], @$this->lists['order'] ); ?> 55 </th> 56 <th nowrap="nowrap" width="10%" class="title"> 57 <?php echo JHTML::_('grid.sort', 'Type', 'p.folder', @$this->lists['order_Dir'], @$this->lists['order'] ); ?> 58 </th> 59 <th nowrap="nowrap" width="10%" class="title"> 60 <?php echo JHTML::_('grid.sort', 'File', 'p.element', @$this->lists['order_Dir'], @$this->lists['order'] ); ?> 61 </th> 62 <th nowrap="nowrap" width="1%" class="title"> 63 <?php echo JHTML::_('grid.sort', 'ID', 'p.id', @$this->lists['order_Dir'], @$this->lists['order'] ); ?> 64 </th> 65 </tr> 66 </thead> 67 <tfoot> 68 <tr> 69 <td colspan="12"> 70 <?php echo $this->pagination->getListFooter(); ?> 71 </td> 72 </tr> 73 </tfoot> 74 <tbody> 75 <?php 76 $k = 0; 77 for ($i=0, $n=count( $rows ); $i < $n; $i++) { 78 $row = $rows[$i]; 79 80 $link = JRoute::_( 'index.php?option=com_plugins&view=plugin&client='. $this->client .'&task=edit&cid[]='. $row->id ); 81 82 $access = JHTML::_('grid.access', $row, $i ); 83 $checked = JHTML::_('grid.checkedout', $row, $i ); 84 $published = JHTML::_('grid.published', $row, $i ); 85 86 ?> 87 <tr class="<?php echo "row$k"; ?>"> 88 <td align="right"> 89 <?php echo $this->pagination->getRowOffset( $i ); ?> 90 </td> 91 <td> 92 <?php echo $checked; ?> 93 </td> 94 <td> 95 <?php 96 if ( JTable::isCheckedOut($this->user->get ('id'), $row->checked_out ) ) { 97 echo $row->name; 98 } else { 99 ?> 100 <span class="editlinktip hasTip" title="<?php echo JText::_( 'Edit Plugin' );?>::<?php echo htmlspecialchars($row->name); ?>"> 101 <a href="<?php echo $link; ?>"> 102 <?php echo htmlspecialchars($row->name); ?></a></span> 103 <?php } ?> 104 </td> 105 <td align="center"> 106 <?php echo $published;?> 107 </td> 108 <td class="order"> 109 <span><?php echo $this->pagination->orderUpIcon( $i, ($row->folder == @$rows[$i-1]->folder && $row->ordering > -10000 && $row->ordering < 10000), 'orderup', 'Move Up', $ordering ); ?></span> 110 <span><?php echo $this->pagination->orderDownIcon( $i, $n, ($row->folder == @$rows[$i+1]->folder && $row->ordering > -10000 && $row->ordering < 10000), 'orderdown', 'Move Down', $ordering ); ?></span> 111 <?php $disabled = $ordering ? '' : 'disabled="disabled"'; ?> 112 <input type="text" name="order[]" size="5" value="<?php echo $row->ordering; ?>" <?php echo $disabled ?> class="text_area" style="text-align: center" /> 113 </td> 114 <td align="center"> 115 <?php echo $access;?> 116 </td> 117 <td nowrap="nowrap"> 118 <?php echo $row->folder;?> 119 </td> 120 <td nowrap="nowrap"> 121 <?php echo $row->element;?> 122 </td> 123 <td align="center"> 124 <?php echo $row->id;?> 125 </td> 126 </tr> 127 <?php 128 $k = 1 - $k; 129 } 130 ?> 131 </tbody> 132 </table> 133 134 <input type="hidden" name="option" value="com_plugins" /> 135 <input type="hidden" name="task" value="" /> 136 <input type="hidden" name="filter_client" value="<?php echo $this->client;?>" /> 137 <input type="hidden" name="boxchecked" value="0" /> 138 <input type="hidden" name="filter_order" value="<?php echo $this->lists['order']; ?>" /> 139 <input type="hidden" name="filter_order_Dir" value="<?php echo $this->lists['order_Dir']; ?>" /> 140 <?php echo JHTML::_( 'form.token' ); ?> 141 </form>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |