$this));
?>
items)) : ?>
|
|
|
|
items[0]) && property_exists($this->items[0], 'count_published')) :
$columns++; ?>
|
items[0]) && property_exists($this->items[0], 'count_unpublished')) :
$columns++; ?>
|
items[0]) && property_exists($this->items[0], 'count_archived')) :
$columns++; ?>
|
items[0]) && property_exists($this->items[0], 'count_trashed')) :
$columns++; ?>
|
|
assoc) :
$columns++; ?>
|
|
|
pagination->getListFooter(); ?>
|
items as $i => $item) : ?>
authorise('core.edit', $extension . '.category.' . $item->id);
$canCheckin = $user->authorise('core.admin', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0;
$canEditOwn = $user->authorise('core.edit.own', $extension . '.category.' . $item->id) && $item->created_user_id == $userId;
$canChange = $user->authorise('core.edit.state', $extension . '.category.' . $item->id) && $canCheckin;
// Get the parents of item for sorting
if ($item->level > 1)
{
$parentsStr = '';
$_currentParentId = $item->parent_id;
$parentsStr = ' ' . $_currentParentId;
for ($i2 = 0; $i2 < $item->level; $i2++)
{
foreach ($this->ordering as $k => $v)
{
$v = implode('-', $v);
$v = '-' . $v . '-';
if (strpos($v, '-' . $_currentParentId . '-') !== false)
{
$parentsStr .= ' ' . $k;
$_currentParentId = $k;
break;
}
}
}
}
else
{
$parentsStr = '';
}
?>
|
id); ?>
|
published, $i, 'categories.', $canChange); ?>
published === 2 ? 'un' : '') . 'archive', 'cb' . $i, 'categories');
JHtml::_('actionsdropdown.' . ((int) $item->published === -2 ? 'un' : '') . 'trash', 'cb' . $i, 'categories');
// Render dropdown list
echo JHtml::_('actionsdropdown.render', $this->escape($item->title));
}
?>
|
$item->level)); ?>
checked_out) : ?>
editor, $item->checked_out_time, 'categories.', $canCheckin); ?>
escape($item->title); ?>
escape($item->title); ?>
note)) : ?>
escape($item->alias)); ?>
escape($item->alias), $this->escape($item->note)); ?>
|
items[0]) && property_exists($this->items[0], 'count_published')) : ?>
count_published; ?>
|
items[0]) && property_exists($this->items[0], 'count_unpublished')) : ?>
count_unpublished; ?>
|
items[0]) && property_exists($this->items[0], 'count_archived')) : ?>
count_archived; ?>
|
items[0]) && property_exists($this->items[0], 'count_trashed')) : ?>
count_trashed; ?>
|
escape($item->access_level); ?>
|
assoc) : ?>
association) : ?>
id, $extension); ?>
|
|
id; ?>
|
authorise('core.create', $extension)
&& $user->authorise('core.edit', $extension)
&& $user->authorise('core.edit.state', $extension)) : ?>
JText::_('COM_CATEGORIES_BATCH_OPTIONS'),
'footer' => $this->loadTemplate('batch_footer'),
),
$this->loadTemplate('batch_body')
); ?>