get('id'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirection = $this->escape($this->state->get('list.direction')); $containerClass = empty($this->sidebar) ? '' : 'span10'; $canOrder = $user->authorise('core.edit.state', 'com_jcomments'); $saveOrder = $listOrder == 'ordering'; if ($saveOrder) { $saveOrderingUrl = 'index.php?option=com_jcomments&task=custombbcodes.saveOrderAjax&tmpl=component'; if (version_compare(JVERSION, '3.0', 'ge')) { JHtml::_('sortablelist.sortable', 'articleList', 'adminForm', strtolower($listDirection), $saveOrderingUrl); } } ?>