$this, 'options' => array('selectorFieldName' => 'menutype'))); ?>
items)) : ?>
,
,
|
|
|
|
|
state->get('filter.client_id') == 0) : ?>
|
state->get('filter.client_id') == 0) : ?>
|
|
state->get('filter.client_id') == 0) && (Multilanguage::isEnabled())) : ?>
|
|
class="js-draggable" data-url="" data-direction="" data-nested="false">
items as $i => $item) :
$orderkey = array_search($item->id, $this->ordering[$item->parent_id]);
$canCreate = $user->authorise('core.create', 'com_menus.menu.' . $item->menutype_id);
$canEdit = $user->authorise('core.edit', 'com_menus.menu.' . $item->menutype_id);
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || is_null($item->checked_out);
$canChange = $user->authorise('core.edit.state', 'com_menus.menu.' . $item->menutype_id) && $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, false, 'cid', 'cb', $item->title); ?>
|
|
published, $i, 'items.', $canChange, 'cb', $item->publish_up, $item->publish_down); ?>
|
$item->level)); ?>
checked_out) : ?>
editor, $item->checked_out_time, 'items.', $canCheckin); ?>
protected) : ?>
escape($item->title); ?>
escape($item->title); ?>
params); ?>
type != 'url') : ?>
note)) : ?>
escape($item->alias)); ?>
escape($item->alias), $this->escape($item->note)); ?>
type == 'url' && $item->note) : ?>
escape($item->note)); ?>
escape($item->item_type); ?>
type === 'component' && !$item->enabled) : ?>
enabled === null ? 'JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND' : 'COM_MENUS_LABEL_DISABLED'); ?>
|
escape($item->menutype_title ?: ucwords($item->menutype)); ?>
|
state->get('filter.client_id') == 0) : ?>
type == 'component') : ?>
language == '*' || $item->home == '0') : ?>
home, $i, 'items.', ($item->language != '*' || !$item->home) && $canChange && !$item->protected, 'cb', null, 'icon-home', 'icon-circle'); ?>
language_image) : ?>
language_image . '.gif', $item->language_title, array('title' => Text::sprintf('COM_MENUS_GRID_UNSET_LANGUAGE', $item->language_title)), true); ?>
language; ?>
language_image) : ?>
language_image . '.gif', $item->language_title, array('title' => $item->language_title), true); ?>
language; ?>
|
state->get('filter.client_id') == 0) : ?>
escape($item->access_level); ?>
|
association) : ?>
id); ?>
|
state->get('filter.client_id') == 0 && Multilanguage::isEnabled()) : ?>
|
id; ?>
|
pagination->getListFooter(); ?>
authorise('core.create', 'com_menus') || $user->authorise('core.edit', 'com_menus')) : ?>
Text::_('COM_MENUS_BATCH_OPTIONS'),
'footer' => $this->loadTemplate('batch_footer')
),
$this->loadTemplate('batch_body')
); ?>