$this), null, array('debug' => false));
?>
items)) : ?>
|
|
|
|
|
|
|
state->get('list.direction'), $this->state->get('list.ordering')); ?>
|
|
pagination->getListFooter(); ?>
|
items as $i => $item) :
$orderkey = array_search($item->id, $this->ordering[$item->parent_id]);
$canCreate = $user->authorise('core.create', 'com_menus');
$canEdit = $user->authorise('core.edit', 'com_menus');
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id')|| $item->checked_out == 0;
$canChange = $user->authorise('core.edit.state', 'com_menus') && $canCheckin;
// Get the parents of item for sorting
if ($item->level > 1)
{
$parentsStr = "";
$_currentParentId = $item->parent_id;
$parentsStr = " " . $_currentParentId;
for ($j = 0; $j < $item->level; $j++)
{
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, $canChange, 'cb'); ?>
|
|—', $item->level - 1) ?>
checked_out) : ?>
editor, $item->checked_out_time, 'items.', $canCheckin); ?>
escape($item->title); ?>
escape($item->title); ?>
type != 'url') : ?>
note)) : ?>
escape($item->alias));?>
escape($item->alias), $this->escape($item->note));?>
type == 'url' && $item->note) : ?>
escape($item->note));?>
—', $item->level - 1) ?>
escape($item->item_type); ?>
|
type == 'component') : ?>
language == '*' || $item->home == '0'):?>
home, $i, 'items.', ($item->language != '*' || !$item->home) && $canChange);?>
image . '.gif', $item->language_title, array('title' => JText::sprintf('COM_MENUS_GRID_UNSET_LANGUAGE', $item->language_title)), true);?>
image . '.gif', $item->language_title, array('title' => $item->language_title), true);?>
|
escape($item->access_level); ?>
|
association):?>
id);?>
|
language == ''):?>
language == '*'):?>
language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?>
|
id; ?>
|
authorise('core.create', 'com_menus') || $user->authorise('core.edit', 'com_menus')) : ?>
loadTemplate('batch'); ?>