$link = 'index.php?option=com_flexicontent&task=category.edit&cid[]=' . $row->id; } else { $link = 'index.php?option=com_flexicontent&controller=categories&task=edit&cid[]=' . $row->id; } if (FLEXI_J16GE) { if (($canEdit || $canEditOwn) && $this->perms->CanAccLvl) { $access = flexicontent_html::userlevel('access[' . $row->id . ']', $row->access, 'onchange="return listItemTask(\'cb' . $i . '\',\'categories.access\')"'); } else { $access = $this->escape($row->access_level); } } else { if (FLEXI_ACCESS) { if (($canEdit || $canEditOwn) && $this->perms->CanAccLvl) { $access = FAccess::accessswitch('category', $row, $i); } else { $access = FAccess::accessswitch('category', $row, $i, 'content', 1); } } else { $access = JHTML::_('grid.access', $row, $i); } } $checked = @JHTML::_('grid.checkedout', $row, $i); $items = 'index.php?option=com_flexicontent&view=items&filter_cats=' . $row->id; ?> <tr class="<?php echo "row{$k}"; ?> "> <td><?php echo $this->pagination->getRowOffset($i); ?>
$publish_up->setOffset($tz_offset); $publish_down->setOffset($tz_offset); } $link = 'index.php?option=com_flexicontent&' . $items_task . 'edit&cid[]=' . $row->id; if (FLEXI_J16GE) { if (($canEdit || $canEditOwn) && $this->CanAccLvl) { $access = flexicontent_html::userlevel('access[' . $row->id . ']', $row->access, 'onchange="return listItemTask(\'cb' . $i . '\',\'items.access\')"'); } else { $access = $this->escape($row->access_level); } } else { if (FLEXI_ACCESS) { if (($canEdit || $canEditOwn) && $this->CanAccLvl) { $access = FAccess::accessswitch('item', $row, $i); } else { $access = FAccess::accessswitch('item', $row, $i, 'content', 1); } } else { $access = JHTML::_('grid.access', $row, $i); } } $cid_checkbox = @JHTML::_('grid.checkedout', $row, $i); // Check publication START/FINISH dates (publication Scheduled / Expired) $is_published = in_array($row->state, array(1, -5, FLEXI_J16GE ? 2 : -1)); $extra_img = $extra_alt = ''; if ($row->publication_scheduled && $is_published) { $extra_img = 'pushished_scheduled.png'; $extra_alt = JText::_('FLEXI_SCHEDULED_FOR_PUBLICATION', true); } if ($row->publication_expired && $is_published) { $extra_img = 'pushished_expired.png';
<td align="center"> <?php $is_authorised = $this->CanFiles && ($this->CanViewAllFiles || $user->id == $row->uploaded_by); if (FLEXI_J16GE) { if ($is_authorised) { $access = flexicontent_html::userlevel('access[' . $row->id . ']', $row->access, 'onchange="return listItemTask(\'cb' . $i . '\',\'filemanager.access\')"'); } else { $access = strlen($row->access_level) ? $this->escape($row->access_level) : '-'; } } else { if (FLEXI_ACCESS) { if ($is_authorised) { $access = FAccess::accessswitch('file', $row, $i); } else { $access = FAccess::accessswitch('file', $row, $i, 'content', 1); } } else { $access = JHTML::_('grid.access', $row, $i); } } echo $access; ?> </td> <?php if (!$this->folder_mode) { ?> <?php // Set a row language, even if empty to avoid errors $row->language = @$row->language ? $row->language : '*';
$isadvfilter = $row->isadvfilter && $supportadvfilter ? "tick.png" : "publish_x" . (!$supportadvfilter ? '_f2' : '') . ".png"; $isadvfilter_tip = $row->isadvfilter && $supportadvfilter ? $flexi_yes : ($supportadvfilter ? $flexi_no : $flexi_nosupport); } else { $advfilter_dirty = 1; $isadvfilter = $row->isadvfilter == -1 ? "disconnect.png" : "connect.png"; $isadvfilter_tip = ($row->isadvfilter == 2 ? $flexi_yes : $flexi_no) . ", " . $flexi_rebuild; } if (FLEXI_J16GE) { if ($canPublish) { $access = flexicontent_html::userlevel('access[' . $row->id . ']', $row->access, 'onchange="return listItemTask(\'cb' . $i . '\',\'' . $ctrl . 'access\')"'); } else { $access = $this->escape($row->access_level); } } else { if (FLEXI_ACCESS) { $access = FAccess::accessswitch('field', $row, $i); } else { $access = JHTML::_('grid.access', $row, $i); } } $checked = @JHTML::_('grid.checkedout', $row, $i); $warning = '<span class="hasTip" title="' . JText::_('FLEXI_WARNING') . '::' . JText::_('FLEXI_NO_TYPES_ASSIGNED') . '">' . JHTML::image('administrator/components/com_flexicontent/assets/images/warning.png', JText::_('FLEXI_NO_TYPES_ASSIGNED')) . '</span>'; ?> <tr class="<?php echo "row{$k}"; ?> " style="<?php echo $row_css; ?> "> <td><?php