function createNewWorkflow() { global $idworkflow, $cfg; $content = ""; $ui = new UI_Menu(); $rowmark = false; $createstep = new Link(); $createstep->setCLink("workflow_steps", 4, "workflow_create_step"); $createstep->setCustom("idworkflow", $idworkflow); #$ui->setLink("spacer", NULL); $ui->setTitle("create", i18n("Create new step", "workflow")); $ui->setImage("create", $cfg["path"]["contenido_fullhtml"] . $cfg["path"]["plugins"] . "workflow/images/workflow_step_new.gif"); $ui->setLink("create", $createstep); $ui->setRowmark($rowmark); $ui->setBgColor("create", $cfg['color']['table_header']); $content = $ui->render(false); return $content; }