$title) { $class = 'step'; if ($disableTabs || ($currentStepReached && !$edition)) { $class .= ' disabled_step'; } if ($currentStep === $task) { $currentStepReached = true; $class .= ' current_step'; } $params = ''; if ($edition && $workflowMode && !$disableTabs) { $params .= 'data-task="edit" data-step="'.$task.'"'; $class .= ' acy_button_submit'; } $title = acym_translation($title); if (!$workflowMode) { $title = ''.$title.''; } $workflow[] = '