Skip to content

Commit

Permalink
Move API token field first in the configuration panel
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-papikas committed Jun 13, 2019
1 parent 2f01809 commit 9522781
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions esatisfaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,24 @@ public function displayForm()
);

$fields_form[3]['form'] = array(
'legend' => array(
'title' => $this->l('API Authentication Token'),
),
'input' => array(
array(
'type' => 'text',
'label' => $this->l('Token'),
'name' => 'ESATISFACTION_AUTH',
'size' => 45,
),
),
'submit' => array(
'title' => $this->l('Save'),
'class' => 'btn btn-default',
),
);

$fields_form[4]['form'] = array(
'legend' => array(
'title' => $this->l('After Delivery Questionnaire'),
),
Expand Down Expand Up @@ -288,7 +306,7 @@ public function displayForm()
'class' => 'btn btn-default',
),
);
$fields_form[4]['form'] = array(
$fields_form[5]['form'] = array(
'legend' => array(
'title' => $this->l('Store Pick Up Questionnaire'),
),
Expand Down Expand Up @@ -342,24 +360,6 @@ public function displayForm()
),
);

$fields_form[5]['form'] = array(
'legend' => array(
'title' => $this->l('API Authentication Token'),
),
'input' => array(
array(
'type' => 'text',
'label' => $this->l('Token'),
'name' => 'ESATISFACTION_AUTH',
'size' => 45,
),
),
'submit' => array(
'title' => $this->l('Save'),
'class' => 'btn btn-default',
),
);

$helper = new HelperForm();

// Module, token and currentIndex
Expand Down

0 comments on commit 9522781

Please sign in to comment.