Code Duplication    Length = 4-6 lines in 2 locations

catalog/includes/modules/payment/braintree_cc.php 2 locations

@@ 368-373 (lines=6) @@
365
                           tep_draw_pull_down_menu('braintree_cards', $t, $default_token, 'id="braintree_cards" class="hosted-field"') . '
366
                         </div>';
367
368
            if (OSCOM_APP_PAYPAL_BRAINTREE_CC_VERIFY_CVV == '1') {
369
              $content .= '<div id="braintree_stored_card_cvv">
370
                             <label class="hosted-fields--label" for="card-token-cvv">' . $this->_app->getDef('module_cc_card_cvv') . ' <span class="ui-icon ui-icon-info" style="float: right;" title="' . addslashes($this->_app->getDef('module_cc_card_cvv_info')) . '" id="btCvvTokenInfoIcon"></span></label>
371
                             <div id="card-token-cvv" class="hosted-field"></div>
372
                           </div>';
373
            }
374
375
            $content .= '</div>';
376
          }
@@ 386-389 (lines=4) @@
383
                       <label class="hosted-fields--label" for="card-exp">' . $this->_app->getDef('module_cc_card_expiration_date') . '</label>
384
                       <div id="card-exp" class="hosted-field"></div>';
385
386
        if ((OSCOM_APP_PAYPAL_BRAINTREE_CC_VERIFY_CVV == '1') || (OSCOM_APP_PAYPAL_BRAINTREE_CC_VERIFY_CVV == '2')) {
387
          $content .= '<label class="hosted-fields--label" for="card-cvv">' . $this->_app->getDef('module_cc_card_cvv') . ' <span class="ui-icon ui-icon-info" style="float: right;" title="' . addslashes($this->_app->getDef('module_cc_card_cvv_info')) . '" id="btCvvInfoIcon"></span></label>
388
                       <div id="card-cvv" class="hosted-field"></div>';
389
        }
390
391
        if (OSCOM_APP_PAYPAL_BRAINTREE_CC_CC_TOKENS == '1') {
392
          $content .= '<div>