@@ -492,9 +492,9 @@ discard block |
||
| 492 | 492 | // we want just some Values to be compared |
| 493 | 493 | $diff = null; |
| 494 | 494 | foreach (array('title', 'organization', 'location', |
| 495 | - 'templateValues.qualifications', 'templateValues.requirements', 'templateValues.benefits', 'templateValues.title', |
|
| 496 | - 'templateValues._freeValues.description', |
|
| 497 | - ) as $prelKey) { |
|
| 495 | + 'templateValues.qualifications', 'templateValues.requirements', 'templateValues.benefits', 'templateValues.title', |
|
| 496 | + 'templateValues._freeValues.description', |
|
| 497 | + ) as $prelKey) { |
|
| 498 | 498 | if (array_key_exists($prelKey, $prelDiff)) { |
| 499 | 499 | $diff[$prelKey] = $prelDiff[$prelKey]; |
| 500 | 500 | } |
@@ -521,28 +521,28 @@ discard block |
||
| 521 | 521 | 'lang/jobs/view', |
| 522 | 522 | array(), |
| 523 | 523 | array('query' => |
| 524 | - array( 'id' => $jobEntity->getId())) |
|
| 524 | + array( 'id' => $jobEntity->getId())) |
|
| 525 | 525 | ); |
| 526 | 526 | |
| 527 | 527 | $approvalLink = $this->url()->fromRoute( |
| 528 | 528 | 'lang/jobs/approval', |
| 529 | 529 | array('state' => 'approved'), |
| 530 | 530 | array('query' => |
| 531 | - array( 'id' => $jobEntity->getId())) |
|
| 531 | + array( 'id' => $jobEntity->getId())) |
|
| 532 | 532 | ); |
| 533 | 533 | |
| 534 | 534 | $declineLink = $this->url()->fromRoute( |
| 535 | 535 | 'lang/jobs/approval', |
| 536 | 536 | array('state' => 'declined'), |
| 537 | 537 | array('query' => |
| 538 | - array( 'id' => $jobEntity->getId())) |
|
| 538 | + array( 'id' => $jobEntity->getId())) |
|
| 539 | 539 | ); |
| 540 | 540 | |
| 541 | 541 | return array('job' => $jobEntity, |
| 542 | - 'diffSnapshot' => $diff, |
|
| 543 | - 'viewLink' => $viewLink, |
|
| 544 | - 'approvalLink' => $approvalLink, |
|
| 545 | - 'declineLink' => $declineLink); |
|
| 542 | + 'diffSnapshot' => $diff, |
|
| 543 | + 'viewLink' => $viewLink, |
|
| 544 | + 'approvalLink' => $approvalLink, |
|
| 545 | + 'declineLink' => $declineLink); |
|
| 546 | 546 | } |
| 547 | 547 | |
| 548 | 548 | /** |
@@ -1,11 +1,11 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @license MIT |
|
| 7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @license MIT |
|
| 7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** */ |
| 11 | 11 | namespace Jobs\Form; |
@@ -24,19 +24,19 @@ discard block |
||
| 24 | 24 | public function init() |
| 25 | 25 | { |
| 26 | 26 | $this->add( |
| 27 | - array( |
|
| 28 | - 'type' => 'Core/Spinner-Submit', |
|
| 29 | - 'name' => 'calculate', |
|
| 30 | - 'options' => array( |
|
| 31 | - 'label' => /*@translate*/ 'Calculate price', |
|
| 32 | - ), |
|
| 33 | - 'attributes' => array( |
|
| 34 | - 'id' => 'calculate', |
|
| 35 | - 'type' => 'button', |
|
| 36 | - 'value' => 'calculate', |
|
| 37 | - 'class' => 'mps-calculate btn btn-success btn-xs' |
|
| 38 | - ), |
|
| 39 | - ) |
|
| 27 | + array( |
|
| 28 | + 'type' => 'Core/Spinner-Submit', |
|
| 29 | + 'name' => 'calculate', |
|
| 30 | + 'options' => array( |
|
| 31 | + 'label' => /*@translate*/ 'Calculate price', |
|
| 32 | + ), |
|
| 33 | + 'attributes' => array( |
|
| 34 | + 'id' => 'calculate', |
|
| 35 | + 'type' => 'button', |
|
| 36 | + 'value' => 'calculate', |
|
| 37 | + 'class' => 'mps-calculate btn btn-success btn-xs' |
|
| 38 | + ), |
|
| 39 | + ) |
|
| 40 | 40 | ); |
| 41 | 41 | |
| 42 | 42 | parent::init(); |