protected function _setDefaultValueMain() { parent::_setDefaultValueMain(); $this->default_data['url'] = 'http://{$address}/glpi/front/ticket.form.php?id={$ticket_id}'; $this->default_data['clones']['groupList'] = array(array('Id' => 'gpli_entity', 'Label' => _('Entity'), 'Type' => self::GPLI_ENTITIES_TYPE, 'Filter' => '', 'Mandatory' => ''), array('Id' => 'glpi_group', 'Label' => _('Glpi group'), 'Type' => self::GPLI_GROUPS_TYPE, 'Filter' => '', 'Mandatory' => ''), array('Id' => 'glpi_itil_category', 'Label' => _('Itil category'), 'Type' => self::GLPI_ITIL_CATEGORIES_TYPE, 'Filter' => '', 'Mandatory' => ''), array('Id' => 'urgency', 'Label' => _('Urgency'), 'Type' => self::CUSTOM_TYPE, 'Filter' => '', 'Mandatory' => ''), array('Id' => 'impact', 'Label' => _('Impact'), 'Type' => self::CUSTOM_TYPE, 'Filter' => '', 'Mandatory' => '')); $this->default_data['clones']['customList'] = array(array('Id' => 'urgency', 'Value' => '1', 'Default' => ''), array('Id' => 'urgency', 'Value' => '2', 'Default' => ''), array('Id' => 'urgency', 'Value' => '3', 'Default' => ''), array('Id' => 'urgency', 'Value' => '4', 'Default' => ''), array('Id' => 'urgency', 'Value' => '5', 'Default' => ''), array('Id' => 'impact', 'Value' => '1', 'Default' => ''), array('Id' => 'impact', 'Value' => '2', 'Default' => ''), array('Id' => 'impact', 'Value' => '3', 'Default' => ''), array('Id' => 'impact', 'Value' => '4', 'Default' => ''), array('Id' => 'impact', 'Value' => '5', 'Default' => '')); }
protected function _setDefaultValueMain() { parent::_setDefaultValueMain(); $this->default_data['message_confirm'] = ' <table class="table"> <tr> <td class="FormHeader" colspan="2"><h3 style="color: #00bfb3;">{$title}</h3></td> </tr> {if $ticket_is_ok == 1} <tr><td class="FormRowField" style="padding-left:15px;">New ticket opened: {$ticket_id}.</td></tr> {else} <tr><td class="FormRowField" style="padding-left:15px;">Error to open the ticket: <xmp>{$ticket_error_message}</xmp></td></tr> {/if} </table> '; $this->default_data['message_confirm'] = $this->change_html_tags($this->default_data['message_confirm']); $this->default_data['url'] = 'http://{$address}/index.pl?Action=AgentTicketZoom;TicketNumber={$ticket_id}'; }
protected function _setDefaultValueMain() { parent::_setDefaultValueMain(); $this->default_data['format_popup'] = ''; }
protected function _setDefaultValueMain() { parent::_setDefaultValueMain(1); $this->default_data['url'] = 'http://{$address}/index.pl?Action=AgentTicketZoom;TicketNumber={$ticket_id}'; $this->default_data['clones']['groupList'] = array(array('Id' => 'otrs_queue', 'Label' => _('Otrs queue'), 'Type' => self::OTRS_QUEUE_TYPE, 'Filter' => '', 'Mandatory' => '1'), array('Id' => 'otrs_priority', 'Label' => _('Otrs priority'), 'Type' => self::OTRS_PRIORITY_TYPE, 'Filter' => '', 'Mandatory' => '1'), array('Id' => 'otrs_state', 'Label' => _('Otrs state'), 'Type' => self::OTRS_STATE_TYPE, 'Filter' => '', 'Mandatory' => '1'), array('Id' => 'otrs_type', 'Label' => _('Otrs type'), 'Type' => self::OTRS_TYPE_TYPE, 'Filter' => '', 'Mandatory' => ''), array('Id' => 'otrs_customeruser', 'Label' => _('Otrs customer user'), 'Type' => self::OTRS_CUSTOMERUSER_TYPE, 'Filter' => '', 'Mandatory' => '1')); }
protected function _setDefaultValueMain() { parent::_setDefaultValueMain(1); }