File manager - Edit - /home/jardides/www/Jardi-design/j37/administrator/components/com_fabrik/views/lists/tmpl/bootstrap.php
Back
<?php /** * Admin Lists List Tmpl * * @package Joomla.Administrator * @subpackage Fabrik * @copyright Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved. * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html * @since 3.0 */ // No direct access defined('_JEXEC') or die('Restricted access'); JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); JHtml::_('behavior.tooltip'); JHTML::_('script','system/multiselect.js', false, true); $user = JFactory::getUser(); $userId = $user->get('id'); $listOrder = $this->state->get('list.ordering'); $listDirn = $this->state->get('list.direction'); ?> <form action="<?php echo JRoute::_('index.php?option=com_fabrik&view=lists'); ?>" method="post" name="adminForm" id="adminForm"> <?php if(!empty( $this->sidebar)): ?> <div id="j-sidebar-container" class="span2"> <?php echo $this->sidebar; ?> </div> <div id="j-main-container" class="span10"> <?php else : ?> <div id="j-main-container"> <?php endif;?> <div id="filter-bar" class="btn-toolbar"> <div class="row-fluid"> <div class="filter-search btn-group pull-left"> <label class="element-invisible" for="filter_search"><?php echo FText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" placeholder="<?php echo FText::_('JSEARCH_FILTER_LABEL'); ?>" id="filter_search" value="<?php echo $this->state->get('filter.search'); ?>" title="<?php echo FText::_('COM_FABRIK_SEARCH_IN_TITLE'); ?>" /> </div> <div class="btn-group pull-left hidden-phone"> <button class="btn tip" type="submit" rel="tooltip" title="<?php echo FText::_('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> <button class="btn tip" type="button" onclick="document.id('filter_search').value='';this.form.submit();" rel="tooltip" title="<?php echo FText::_('JSEARCH_FILTER_CLEAR'); ?>"><i class="icon-remove"></i></button> </div> <div class="btn-group pull-right hidden-phone"> <label for="limit" class="element-invisible"><?php echo FText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> <?php echo $this->pagination->getLimitBox(); ?> </div> </div> </div> <div class="clearfix"> </div> <table class="table table-striped"> <thead> <tr> <th width="2%"> <?php echo JHTML::_('grid.sort', 'JGRID_HEADING_ID', 'l.id', $listDirn, $listOrder); ?> </th> <th width="1%"> <input type="checkbox" name="toggle" value="" onclick="Joomla.checkAll(this)" /> </th> <th width="16%"> <?php echo JHTML::_('grid.sort', 'COM_FABRIK_LIST_NAME', 'label', $listDirn, $listOrder); ?> </th> <th width="17%"> <?php echo JHTML::_('grid.sort', 'COM_FABRIK_DB_TABLE_NAME', 'db_table_name', $listDirn, $listOrder); ?> </th> <th width="14%"> <?php echo FText::_('COM_FABRIK_ELEMENT');?> </th> <th width="14%"> <?php echo FText::_('COM_FABRIK_FORM'); ?> </th> <th width="16%"> <?php echo FText::_('COM_FABRIK_VIEW_DATA');?> </th> <th width="20%"> <?php echo FText::_('COM_FABRIK_VIEW_DETAILS'); ?> </th> <th width="5%"> <?php echo JHTML::_('grid.sort', 'JPUBLISHED', 'published', $listDirn, $listOrder); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="9"> <?php echo $this->pagination->getListFooter(); ?> </td> </tr> </tfoot> <tbody> <?php foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'ordering'); $link = JRoute::_('index.php?option=com_fabrik&task=list.edit&id=' . $item->id); $params = new JRegistry($item->params); $elementLink = JRoute::_('index.php?option=com_fabrik&task=element.edit&id=0&filter_groupId=' . $this->table_groups[$item->id]->group_id); $formLink = JRoute::_('index.php?option=com_fabrik&task=form.edit&id=' . $item->form_id); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0; $canChange = true; ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php echo $item->id; ?> </td> <td><?php echo JHtml::_('grid.id', $i, $item->id); ?></td> <td> <?php if ($item->checked_out) : ?> <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'lists.', $canCheckin); ?> <?php endif; ?> <?php if ($item->checked_out && ( $item->checked_out != $user->get('id'))) : ?> <span class="editlinktip hasTip" title="foo <?php echo FText::_($item->label) . "::" . $params->get('note'); ?>"> <?php echo $item->label; ?> </span> <?php else : ?> <a href="<?php echo $link;?>"> <span class="editlinktip hasTip" title="<?php echo $item->label . "::" . $params->get('note'); ?>"> <?php echo FText::_($item->label); ?> </span> </a> <?php endif; ?> </td> <td> <?php echo $item->db_table_name;?> </td> <td> <a href="<?php echo $elementLink?>"> <i class="icon-plus"></i> <?php echo FText::_('COM_FABRIK_ADD');?> </a> </td> <td> <a href="<?php echo $formLink; ?>"> <i class="icon-pencil"></i> <?php echo FText::_('COM_FABRIK_EDIT'); ?> </a> </td> <td> <a href="index.php?option=com_fabrik&task=list.view&listid=<?php echo $item->id;?>"> <i class="icon-list-view"></i> <?php echo FText::_('COM_FABRIK_VIEW_DATA');?> </a> </td> <td> <a href="#showlinkedelements" onclick="return listItemTask('cb<?php echo $i;?>','list.showLinkedElements');"> <?php echo FText::_('COM_FABRIK_VIEW_DETAILS');?> </a> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->published, $i, 'lists.', $canChange);?> </td> </tr> <?php endforeach; ?> </tbody> </table> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" /> <?php echo JHtml::_('form.token'); ?> </div> </form>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings