Fix bug in button code generation

This commit is contained in:
Fedor A. Fetisov 2012-01-24 16:41:15 +04:00
parent e7d9e59f4d
commit 0aaed55634

View File

@ -39,7 +39,7 @@ function generate_button($title, $locale, $style, $invitationstyle, $group, $inn
$temp .= '<div id="mibewinvitation"></div><script type="text/javascript">var mibewInviteStyle = \'@import url('; $temp .= '<div id="mibewinvitation"></div><script type="text/javascript">var mibewInviteStyle = \'@import url(';
$temp .= get_app_location($showhost, $forcesecure); $temp .= get_app_location($showhost, $forcesecure);
$temp .= '/styles/invitations/'; $temp .= '/styles/invitations/';
$temp .= ($invitationstyle?$invitationstyle:$settings['invitationstyle']); $temp .= ($invitationstyle?$invitationstyle:(array_key_exists('invitationstyle', $settings)?$settings['invitationstyle']:'default'));
$temp .= '/invite.css);\'; var mibewRequestTimeout = '; $temp .= '/invite.css);\'; var mibewRequestTimeout = ';
$temp .= $settings['updatefrequency_tracking']; $temp .= $settings['updatefrequency_tracking'];
$temp .= '*1000; var mibewRequestUrl = \''; $temp .= '*1000; var mibewRequestUrl = \'';