芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.7/components/com_workflow/tmpl/workflows/default.php
* @license GNU General Public License version 2 or later; see LICENSE.txt * @since 4.0.0 */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Session\Session; HTMLHelper::_('behavior.multiselect'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $saveOrder = $listOrder == 'w.ordering'; $orderingColumn = 'created'; $saveOrderingUrl = ''; if (strpos($listOrder, 'modified') !== false) { $orderingColumn = 'modified'; } if ($saveOrder) { $saveOrderingUrl = 'index.php?option=com_workflow&task=workflows.saveOrderAjax&tmpl=component&extension=' . $this->escape($this->extension) . '&' . Session::getFormToken() . '=1'; HTMLHelper::_('draggablelist.draggable'); } $extension = $this->escape($this->state->get('filter.extension')); $user = Factory::getUser(); $userId = $user->id; ?>
sidebar)) : ?>
sidebar; ?>
$this, 'options' => array('selectorFieldName' => 'extension'))); ?> workflows)) : ?>
,
,
class="js-draggable" data-url="" data-direction="" data-nested="false"> workflows as $i => $item): $states = Route::_('index.php?option=com_workflow&view=stages&workflow_id=' . $item->id . '&extension=' . $extension); $transitions = Route::_('index.php?option=com_workflow&view=transitions&workflow_id=' . $item->id . '&extension=' . $extension); $edit = Route::_('index.php?option=com_workflow&task=workflow.edit&id=' . $item->id . '&extension=' . $extension); $canEdit = $user->authorise('core.edit', $extension . '.workflow.' . $item->id); $canCheckin = $user->authorise('core.admin', 'com_workflow') || $item->checked_out == $userId || is_null($item->checked_out); $canEditOwn = $user->authorise('core.edit.own', $extension . '.workflow.' . $item->id) && $item->created_by == $userId; $canChange = $user->authorise('core.edit.state', $extension . '.workflow.' . $item->id) && $canCheckin; ?>
id, false, 'cid', 'cb', Text::_($item->title)); ?>
published, $i, 'workflows.', $canChange); ?>
checked_out) : ?> editor, $item->checked_out_time, 'workflows.', $canCheckin); ?>
escape(Text::_($item->title)); ?>
description; ?>
escape(Text::_($item->title)); ?>
description; ?>
default, $i, 'workflows.', $canChange); ?>
count_states; ?>
count_transitions; ?>
id; ?>
pagination->getListFooter(); ?>