AAAAhome/academiac/www/plugins/vmpayment/sofort/sofort/elements/getsofort.php 0000604 00000004670 15137650535 0023116 0 ustar 00 getTag ();
$langArray = explode ("-", $lang);
$lang = strtolower ($langArray[1]);
$getSofortLang='eng-DE';
if ($lang=='de') {
$getSofortLang = "ger-DE";
}
// MOre information
$getSofortLInk="https://www.sofort.com/".$getSofortLang."/merchant/products/";
//$getSofortLInk="https://www.sofort.com/payment/users/register/688";
$html = '' . JText::_ ('VMPAYMENT_SOFORT_READMORE') . '';
$html .= '
';
$js = '
jQuery(document).ready(function( $ ) {
$("#sofortmoreinfo_show_hide").hide();
jQuery("#sofortmoreinfo_link").click( function() {
if ( $("#sofortmoreinfo_show_hide").is(":visible") ) {
$("#sofortmoreinfo_show_hide").hide("slow");
$("#sofortmoreinfo_link").html("' . addslashes (JText::_ ('VMPAYMENT_SOFORT_READMORE')) . '");
} else {
$("#sofortmoreinfo_show_hide").show("slow");
$("#sofortmoreinfo_link").html("' . addslashes (JText::_ ('VMPAYMENT_SOFORT_HIDE')) . '");
}
});
});
';
$doc = JFactory::getDocument ();
$doc->addScriptDeclaration ($js);
$html .= '';
$html .= '
';
// Get Sofort
// MOre information
$getSofortLInk="https://www.sofort.com/payment/users/register/688";
$html .= '';
return $html;
}
}